I'm trying to read some LDAP entries from a Novell LDAPv3 server on NetWare
5.1.

Here's a piece of my code.

<snip>
$base = "ou=Corp, o=PMX";
$filter = "sn=*";
$attrib = array("lastLoginTime", "sn", "mail", "telephoneNumber",
"homeDirectory");

// Search surname entry
$sr=ldap_search($ds, $base, $filter, $attrib);
$info = ldap_get_entries($ds, $sr);
</snip>

I can get the values for sn and mail but can't get lastLoginTime,
telephoneNumber, or homeDirectory. These are valid LDAP attributes as
defined by Novell. Novell developer support told me this.

"These are operational attributes.  For a list of operational attributes see
http://developer.novell.com/ndk/doc/docui/index.htm#../ndslib/schm_enu/data/
hotadinr.htm

Operational attributes are not automatically returned in search results;
they
must be requested by name in the search operation."

Does anyone have any ideas? I'm doing an authenticated bind and am using an
account with full rights to the tree.

Thanks,
Pat





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to