Hi,
  I'm retrieving a user via LDAP and am getting a warning from this line:
$values = ldap_get_values($ldapconn, $entry, "middleName");

because middleName is not present in $entry.  This doesn't seem to agree
with the documentation for ldap_get_values:

array ldap_get_values ( resource link_identifier, resource
result_entry_identifier, string attribute )
Returns an array of values for the attribute on success and FALSE on error.

The warning I get is:

Warning: ldap_get_values(): Cannot get the value(s) of attribute Decoding
error in......

Shouldn't I be getting a FALSE?

I'm running PHP 4.3.10, ldap query is against Windows 2003 server. I'm a
relative newb to PHP.

thanks.

Jeff

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to