ldapsearch -h [IP LDAP] -p 389 -x -b "" -s base -LLL supportedSASLMechanisms
dn:
supportedSASLMechanisms: EXTERNAL
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<bean id="authenticationComponent" class="org.alfresco.repo.security.authentication.ldap.LDAPAuthenticationComponentImpl">
<property name="LDAPInitialDirContextFactory">
<ref bean="ldapInitialDirContextFactory"/>
</property>
<property name="userNameFormat">
<value>uid=%s,o=[organisation]</value>
</property>
</bean>
<bean id="ldapInitialDirContextFactory" class="org.alfresco.repo.security.authentication.ldap.LDAPInitialDirContextFactoryImpl">
<property name="initialDirContextEnvironment">
<map>
<entry key="java.naming.factory.initial">
<value>com.sun.jndi.ldap.LdapCtxFactory</value>
</entry>
<entry key="java.naming.provider.url">
<value>ldap://[IP LDAP]:389</value>
</entry>
<entry key="java.naming.security.authentication">
<value>simple</value>
</entry>
</map>
</property>
</bean>
</beans>
ldapsearch -x -h [IP LDAP] -b "o=[organisation]" "(uid=SDUPONT)"
# extended LDIF
#
# LDAPv3
# base <o=[organisation]> with scope sub
# filter: (uid=SDUPONT)
# requesting: ALL
#
# DUPONT, CLT_SERV, INFORMATIQUE, SIEGE, [organisation]
dn: cn=DUPONT,ou=CLT_SERV,ou=INFORMATIQUE,ou=SIEGE,o=[organisation]
uid: SDUPONT
initials: SD
givenName: Sebastien
sn: DUPONT
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
objectClass: ndsLoginProperties
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
16:43:56,647 WARN [org.alfresco.repo.security.authentication.ldap.LDAPInitialDirContextFactoryImpl] LDAP server supports anonymous bind ldap://[IP LDAP]:389
16:43:56,648 INFO [org.alfresco.repo.security.authentication.ldap.LDAPInitialDirContextFactoryImpl] LDAP server does not support simple string user ids and invalid credentials at ldap://[IP LDAP]:389
16:43:56,650 INFO [org.alfresco.repo.security.authentication.ldap.LDAPInitialDirContextFactoryImpl] LDAP server does not fall back to anonymous bind for a simple dn and password at ldap://[IP LDAP]:389
org.alfresco.repo.importer.ExportSourceImporter
<bean id="ldapPeopleExportSource" class="org.alfresco.repo.security.authentication.ldap.LDAPPersonExportSource">
<bean id="ldapGroupExportSource" class="org.alfresco.repo.security.authentication.ldap.LDAPGroupExportSource">
<bean id="ldapPeopleTrigger" class="org.alfresco.util.TriggerBean">
<bean id="ldapGroupTrigger" class="org.alfresco.util.TriggerBean">
<bean id="ldapPeopleImport" class="org.alfresco.repo.importer.ExportSourceImporter">
<bean id="ldapGroupImport" class="org.alfresco.repo.importer.ExportSourceImporter">
je n'ai pas de fichier ldap-synchronisation-context.xml.sample
log4j.logger.org.alfresco.repo.importer.ImporterJob=debug
log4j.logger.org.alfresco.repo.importer.ExportSourceImporter=debug
log4j.logger.org.alfresco.repo.security.authentication.ldap=debug
10:35:52,557 WARN [org.alfresco.repo.security.authentication.ldap.LDAPGroupExportSource] Missing GID on {objectclass= objectClass: groupOfNames, top}Je reste cependant toujours bloqué sur l'écran de connexion, avec un message "impossible de se connecter, user/pwd inconnu", et je n'ai aucun log qui trace la tentative de connexion, alors que j'ai bien mis les logs en debug
…
10:35:52,592 DEBUG [org.alfresco.repo.security.authentication.ldap.LDAPPersonExportSource] Adding user for SDUPONT
…
log4j.logger.org.alfresco.repo.security.authentication=debug
o=[organisation]
cn=[hors sujet]
…(plein d'autres entrées ne correspondant pas à des users mais à d'autres problématiques)
cn=[hors sujet]
ou=SIEGE
ou=INFORMATIQUE
ou=CLT_SERV
cn=DUPONT
ou=EXTERNE
cn=MARTIN
ou=REGION1
cn=DURAND
…
ou=REGION2
ou=REGION3
givenName Sebastien
initials SD
sn DUPONT
mail s.dupont@[organisation].fr
objectClass inetOrgPerson
objectClass organizationalPerson
objectClass person
objectClass top
objectClass ndsLoginProperties
uid SDUPONT
<value>cn=%s,ou=SIEGE,ou=INFORMATIQUE,ou=CLT_SERV,o=[organisation]</value>
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.