Hi,
Ok. I already use softerra ldap browser to get some information.
So I can confirm that :
ldap server address : annuaire-int.domain.com:389
ou=domain,o=com
dn of the user used to navigate within softerra ldap browser : cn=BOXI-User-Auth,ou=services,ou=domain,o=com
So I use this dn user for authentication in the ldap module of the cmc.
The connection seems to be good.
I think my problem come from a mismatch between the mapping of objects from the ldap server and the cmc.
I use the default mapping for Novell eDirectory such this :
LDAP Server Attribute Mappings
Object Class : objectclass
Static Group : groupofnames
Static Group Member : member
Dynamic Group :
Dynamic Group Filter :
Group Description : description
User Object Class : inetorgperson
User Name : uid
User Full Name : cn
User Email : mail
User Description : fullname
LDAP Default Search Attributes
Default Group Search Attribute : cn
Default User Search Attribute : uid
What I get with Softerra ldap browser (ldif export) :
Export ldif groupe BOXI
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
version: 1
dn: cn=BOXI,ou=applications,ou=domain,o=com
domainADgrpSync: 0
domainLibelleComplet: BOXI
domainSigle: BOXI
objectClass: groupOfNames
objectClass: Top
objectClass: domainGroupe
objectClass: domainApplication
member: cn=NOM-prenom,ou=prestataires,ou=personnes,ou=domain,o=com
description: BOXI
Export ldif membre NOM Prenom
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
version: 1
dn: cn=NOM-Prenom,ou=prestataires,ou=personnes,ou=domain,o=com
domainDir: DIRECTION SYSTEMES OPERATIONNELS
domainDomPers: MON SITE
domainNomPrenom: NOM Prenom
roomNumber: D.0.28
mail: prenom.nom@domain.com
uid: NOM_P
initials: NP
givenName: Prenom
fullName: M. Prenom NOM
sn: NOM
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: Person
objectClass: ndsLoginProperties
objectClass: Top
objectClass: domainPersonne
groupMembership: cn=BOXI,ou=applications,ou=domain,o=com
cn: NOM-Prenom
What I can see in the logs :
(ldap_wrapper.cpp:890) LdapCreateNewSession() successful.
(ldap_wrapper.cpp:925) LdapBindToServer() successful.
LDAP: LdapQueryForAttribute: QUERY base: ou=domain, o=com, scope: 0, filter: (objectclass=), attribute: dn
LDAP: LdapQueryForAttribute: QUERY result: 0 took 10 ms
…
LDAP: LdapQueryForEntries: QUERY result: 0 took 10 ms
LDAP: LdapQueryForEntries() QUERY number of entries returned: 1
CLdapWrapper::LdapQueryMVRanging() – Assuming that his server does not support ranged queries for multivalued attributes.
LDAP: LdapQueryForEntries: QUERY base: ou=applications, scope: 0, filter: (objectclass=), attribute: dn
LDAP: LdapQueryForEntries: QUERY result: 32 took 0 ms
SecLdap Error: an error occurred in LdapQueryForAttribute().
…
SResourceSource::LoadString 49408
SResourceSource::LoadString LDAP Error: %1. %2
LDAP: SecLdap Error: an unknown error occurred in GetFirstAttributeAndBaseFromDN().
LDAP Error: No such object. NDS error: no such entry (-601)
InfoStore.cpp:8046: TraceLog message 52993
InfoStoreSubsystem::CommitSingleObjectWithRetry: 0.011
SResourceSource::LoadString 49402
SResourceSource::LoadString The secLdap plugin failed to get the dn for the group %1. %2
(InfoStore.cpp:8003) CInfoStoreSubsystem::Commit: Error encountered on Object (4553): The secLdap plugin failed to get the dn for the group cn=BOXI,ou=applications,ou=domain,o=com.
Thank’s in advance for any piece of advice.
Laurent.
Laurent RIVIERE (BOB member since 2010-06-21)