Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

LDAP connection with AEM6

Avatar

Level 5

Hi,

I was trying to connect with LDAP with AEM6. I have below configurations that i set up :

org.apache.jackrabbit.oak.security.authentication.ldap.impl.LdapIdentityProvider-aem.xml <?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="sling:OsgiConfig" bind.dn = "cn=Directory Manager" bind.password = "secret" group.baseDN = "ou=groups,dc=example,dc=com" group.memberAttribute = "uniquemember" group.nameAttribute = "cn" group.objectclass = "[groupOfUniqueNames]" host.name = "localhost" host.port = "10389" host.ssl = "false" host.tls = "false"   provider.name = "ldap" user.baseDN = "ou=users,dc=example,dc=com" user.idAttribute = "uid" user.objectclass = "[inetorgPerson]" /> org.apache.jackrabbit.oak.spi.security.authentication.external.impl.DefaultSyncHandler-aem.xml <?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="sling:OsgiConfig" user.autoMembership = "[contributor]" user.expirationTime = "1h" user.membershipExpTime = "1h" user.membershipNestingDepth = "0" user.propertyMapping = "[rep:fullname=cn]" /> org.apache.jackrabbit.oak.spi.security.authentication.external.impl.ExternalLoginModuleFactory-aem.xml <?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="sling:OsgiConfig" idp.name = "ldap" jaas.controlFlag = "SUFFICIENT" jaas.ranking = "50" jaas.realmName = "ldap" sync.handlerName = "default" />

I create my user in ldap as :

# File captain_hook.ldif dn: ou=people,o=sevenSeas objectclass: organizationalUnit objectclass: top ou: people dn: cn=James Hook,ou=people,o=sevenSeas objectclass: inetOrgPerson objectclass: organizationalPerson objectclass: person objectclass: top cn: James Hook description: A pirate captain and Peter Pan's nemesis sn: Hook mail: jhook@neverland userpassword: peterPan
But how can i verify this working fine, I i try to login in AEM with user name jhook@neverland & password peterPan its not allow to login. Can someone advice about some troubleshooting concepts & how can i debug where it can fail.

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10

The topic that you identified is the one that you should read. If you think it lacks details to perform the given task, open a ticket to have the documentation updated. Open a ticket here:

http://helpx.adobe.com/marketing-cloud/experience-manager.html

View solution in original post

3 Replies

Avatar

Level 8

Hi,

Please have a look at the documentation here. It may be helpful.

Kind Regards

Rahul

Avatar

Level 5

Rahsing wrote...

Hi,

Please have a look at the documentation here. It may be helpful.

Kind Regards

Rahul

 

Thanks, I have gone through it but more interested to know about LDAP configuration like http://docs.adobe.com/docs/en/aem/6-0/administer/security/ldap-config.html . Or if someone has any blog which demonstrate E2E integration of LDAP with AEM6. Please mention.

Avatar

Correct answer by
Level 10

The topic that you identified is the one that you should read. If you think it lacks details to perform the given task, open a ticket to have the documentation updated. Open a ticket here:

http://helpx.adobe.com/marketing-cloud/experience-manager.html