Active Directory: Searching basedn doesn't work

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
Frenkieb
Forum Newbie
Posts: 1
Joined: Tue Jun 07, 2005 5:23 am

Active Directory: Searching basedn doesn't work

Post by Frenkieb »

Hi,

I have a intranetsite running where I use singlesignon to check if users can enter the site or not. I have everything working...connecting to the Active Directory(AD) server, binding to the AD server and searching the AD server.

But I have a little problem with searching. I can't search from the basedn. If my base_dn = 'OU=test ou, DC=cs, DC=bsc, DC=local' I can find my users who are in 'OU=test ou'. But I have users in other OU's so I want to search from the basedn. But when I use base_dn = 'DC=cs, DC=bsc, DC=local' I get no results returned.

What's happening here? Is it a permission thing? The user that binds to the AD server is a Domain user. It's a windows 2003 machine.
Post Reply