[python-ldap] Python LDAP
gotcha at bubblenet.be
Fri Apr 8 09:05:39 CEST 2011
Le 07/04/11 21:04, Chris Dukes a écrit :
> On Thu, Apr 07, 2011 at 07:59:55PM +0200, Godefroid Chapelle wrote:
>> I am trying to access a Lotus Notes LDAP server.
>> I got the information from the Notes admin that I should use a Base DN
>> that consists of a single space. That feels very strange to me.
> The problem you are having is not specific to python-ldap, nor Lotus LDAP.
> Be the DN '' (an empty string) or ' ' (A space) or ' ' (Lots of spaces)
> it's the DN of the root of the tree on that LDAP server.
>> Has one of the subscribers already succeeded to connect to Lotus Notes ?
> I suggest attempting the following against the Lotus Domino LDAP.
> ldapsearch -h LDAPServer -x -b '' -s base 'objectclass=*'
> This will return the LDAP entry for the root of the tree, which may or may not
> contain anything interesting.
> Now look one level further down.
> ldapsearch -h LDAPServer -x -b '' -s one 'objectclass=*'
> Which will probably show all of groups.
>> Godefroid Chapelle (aka __gotcha) http://bubblenet.be
The hints you gave about the use of ldapsearch enabled me to understand
better the setup of the Notes server I was trying to search.
I have now a working setup : thanks for this !
Godefroid Chapelle (aka __gotcha) http://bubblenet.be
More information about the python-ldap