Create form.php

In this form you can choose what you whant to search.
If you leave the form empty it will show all users in AD.
sn = Last name
displayname = first and last name
l = local
name = username