Just add the fully qualified domain name of your domain controller (host), the domain dn ( if your domain was beanz.meanz.heinz.com for example your dn would be DC=beanz,DC=meanz,DC=heinz,DC=com ) supply the username and password of a user in your domain, this user does not need to be a member of any group, as long as the account isn’t disabled. Then your off!You can add active directory attributes to the $search_fields array to change what you can search on You can add which active directory attributes are displayed in the result by adding to the $return_fields array
the key for these array is the Human readable version (i.e. what will be displayed) so if your using custom attributes you can show them as a friendly name.Remember this wont work, with out the php LDAP module enabled, this can be easily done by uncommenting the module in your php.ini
{{ < highlight php > }}