I am using the ldap_get_values
function in a script that uses LDAP authentication.
My question is:
Is it possible to pull more than one value
(as the name suggests 'values') in one query
? Or does it have to be looped over (which to me doesnt really make sense as it would mean querying AD multiple times which would be inefficient?
My current function is this:
ldap_get_values($ds, $entry, "mail");
Which pulls the mail value.