LDAP + AD

R

russ

Trying to get an application to query AD using LDAP. What
are the credentials required for LDAP to query AD? Are
LDAP queries denied by default. Is this something that is
configured in domain security policy, group policy???
Why will this not work? It simply queries the users in a
specific OU.
 
J

Jimmy Andersson [MVP]

Are you using the credentials of the local user when you run the query?

Regards,
/Jimmy
 
G

Guest

I have tried the local credentials and an account within
AD. The app is configured to run under the identity of a
COM+ component.
 
M

mcuk_storm

I am using PHP to query an win2k AD via LDAP and i have no problems, i am
binding using a standard user who is in the AD. I have some
intermittent issues with searching from the root in all subtrees but other
than that it works fine. Are you using 2k or 2k3? security restrictions
may be tighter in 2k3.

Make sure that you bind using the users full DN e.g.
CN=MyUser,CN=Users,DC=testsite,DC=test,DC=com

and that you specify a valid base DN, and that you are using LDAPv3 to
query the AD Server.


Hope this is of some help,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top