LDAP GROUPS NOT AUTOCREATED IN AEM
Hi.
Q1: I am using LDAP as a user repository and I have hooked it with an LDAP server. When I login to AEM using LDAP user , the user gets autocreated on AEM, but the groups are not created. Here are the details :
ldap_conf
com.day.crx{
com.day.crx.core.CRXLoginModule sufficient;
com.day.crx.security.ldap.LDAPLoginModule required
principal_provider.class="com.day.crx.security.ldap.principals.LDAPPrincipalProvider"
host="127.0.0.1"
port="389"
secure="false"
authDn="cn=Manager,dc=maxcrc,dc=com"
authPw="secret"
userRoot="ou=Technology,o=xxxxxxxxx,dc=maxcrc,dc=com"
groupRoot="ou=Technology,o=xxxxxxxx,dc=maxcrc,dc=com"
groupMembershipAttribute="uniquemember"
autocreate="create"
autocreate.user.mail="profile/email"
autocreate.user.givenname="profile/givenName"
autocreate.user.sn="profile/familyName"
autocreate.group.description="profile/aboutMe"
autocreate.group.mail="profile/email"
autocreate.path="direct"
cache.expiration="600"
cache.maxsize="100"
trust_credentials_attribute="TrustedInfo"
anonymous_principal="anonymous";
};
AEM Version : 5.6.1
Hot Fixes Installed :
cq-5.6.1-hotfix-3401
cq-5.6.1-hotfix-3491
cq-5.6.1-hotfix-3471
cq-5.6.1-hotfix-3591
cq-5.6.1-hotfix-3302
I want the groups and users created and associated as they are on LDAP( docs says that it is possible , but doesnt happen).
Q2: I want to associate the LDAP users to the LDAP groups ( after both are auto created ) . There is an option "autocreate.user.membership" that allows to put some pre-existing groups. I dont want that. Possible ?