ldap_get_values warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux