Help Me! (LDAP + PHP + Novell)

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
PastAustin
Forum Newbie
Posts: 15
Joined: Wed Jun 11, 2003 11:38 am
Location: Littleton, Colorado
Contact:

Help Me! (LDAP + PHP + Novell)

Post 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
PastAustin
Forum Newbie
Posts: 15
Joined: Wed Jun 11, 2003 11:38 am
Location: Littleton, Colorado
Contact:

Post by PastAustin »

Nevermind. Thanks.

Code: Select all

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