I'm doing an ldap_search in PHP in an attempt to get a number of
different attributes from users. I want to know whether or not an
account is disabled.

Here's the search:

$search = ldap_search($ldap, $org, 'uid=*', array('guid', 'dn', 'mail', 'uid', 'givenname', 'sn', 'cn', 'logindisabled', 'createtimestamp', 'modifytimestamp'));

Everything works, *but I don't get the logindisabled field for any user
except the one I performed the ldap_bind with.*

Any suggestions?

jziebell's Profile: http://forums.novell.com/member.php?userid=104133
View this thread: http://forums.novell.com/showthread.php?t=431915