'dn', // Change 'dn' only if you use other attribute name in your LDAP. UID => 'uid', // Change 'uid' only if you use other attribute name in your LDAP. UIDNUMBER => 'uidnumber', // Change 'uidnumber' only if you use other attribute name in your LDAP. ); ?>