Re: Query LDAP from Linux??

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Joe Richards [MVP] (humorexpress_at_hotmail.com)
Date: 07/15/04


Date: Thu, 15 Jul 2004 09:43:46 -0400

Anonymous logon is allowed, it is the anonymous queries where you get bit. :o)

--
Joe Richards Microsoft MVP Windows Server Directory Services
www.joeware.net
Michael Ströder wrote:
> Kevin Queen wrote:
> 
>> I have a developer that wants to be able to query AD using a Java 
>> based Linux app, what to I need to tell him to do so that he can get 
>> authenticated and query the server?  He seems to think that all I need 
>> to do is find out what the RootDN is, what the hell is it then?
> 
> 
> He can obtain the search root(s) from attribute namingContexts in RootDSE.
> 
> Note that anonymous login is normally not allowed with Active Directory. 
> You have to explicitly send a bind request with the DN of a domain 
> account. Maybe that's his problem. This should be no problem with any 
> Java LDAP API out there.
> 
> Ciao, Michael
> (using web2ldap on Linux with python-ldap and OpenLDAP client libs 
> against Active Directory with simple bind, SASL bind via GSSAPI, etc...)