Can anyone tell me what is wrong with this simple code? It errors with the ldap_get_values and says: "supplied resource is not a valid ldap result entry resource"
I am very new at PHP LDAP so pardon my error... <? //include "inc/connect.inc.php"; $ds = ldap_connect("localhost"); $base = "ou=people,dc=cwalk,dc=org"; $filter = "(&(givenname=$givenName*)(sn=$sn*))"; $search = ldap_list($ds, $base, $filter); $mail = "mail"; $attrs = ldap_get_values($ds, $search, $mail); ?> -- Caleb Walker CCSE, MCSE -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php