Zope connection to LDAP

hi All,

we have a problem with connection to ldap from Zope.
We cannot connect to ldap and probably we wrong the paramenters:

Users Base DN -> cn=libuser,dc=directory,dc=nh
Groups Base DN -> ou=Groups,dc=directory,dc=nh
Manager DN -> cn=libuser,dc=directory,dc=nh

When we perform a search from the cli is ok, from Zope not and the error is “Cannot find (&(uid=username)) under cn=libuser,dc=directory,dc=nh”

Can you help us please?

thanks

Mario

It should be:
ou=People,dc=directory,dc=nh

test yet and not works.
I test from remote machine this command:

[root@dc1 ~]# ldapsearch -D dc=directory,dc=nh -W -H ldap://10.0.0.200
Enter LDAP Password:
ldap_bind: Invalid credentials (49)

Even from local machine I try the connection by this command but the output is this:

[root@dc1 log]# ldapsearch -h 10.0.0.200 -p 389 -x -b “dc=directory,dc=nh”

extended LDIF

LDAPv3

base <dc=directory,dc=nh> with scope subtree

filter: (objectclass=*)

requesting: ALL

search result

search: 2
result: 32 No such object

numResponses: 1

Is there a method to test the ldap connection of Nethserver.
I try on old ldap server end the command returns the right searches.

Thanks

Mario

@nrauso might help here, have you some ideas?