Page 1 of 1

Help Me! (LDAP + PHP + Novell)

Posted: Wed Jun 11, 2003 11:38 am
by PastAustin
What should I do about this? When I connect to the server successfully and try to query the organizational unit, how many results do I get? None. However ConsoleOne and Softerra LDAP Browser both find all 5 ou's and their data. What the heck is going on? Is there some secret thing I don't know about not being able to query for organizational units? Help me someone?

Code: Select all

$sr=ldap_search($ds, "o=here", "ou=*");
$ct=ldap_get_entries($ds, $sr);
echo "Results: " . $ctї"count"] . "\n";
returns:
Results: 0

Posted: Wed Jun 11, 2003 12:01 pm
by PastAustin
Nevermind. Thanks.

Code: Select all

$sr=ldap_search($ds, "o=here", "objectClass=Organizational Unit");