Just wondering if some can explain this to me.
Lets assume I ahve retrieved a person entry from an LDAP server. It
contains uid, and cn with 2 values.
I would expect the object when assign to $entry to look like.
$entry['uid'] = "Jsmith"
$entry['cn'] = "john smith"
$entry['cn'] = "john doe"
But if I run a each loop over the return object I find I get something like:
$entry['uid' = "Jsmith"
$entry = 'uid'
$entry[cn] = "john smith"
$entry[cn] = "John Doe"
$entry = 'cn"
My point here is that the array being returned is not a true
representation of the data on the LDAP server, and has extra values that
are. not really needed, and should probably only be returned when they
Is there anyway to get a array withonly the ldap data, i.e. no extra info?
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php