1 Reply Latest reply on Jul 7, 2012 1:37 PM by byao

    LDAP login is not generating correct profile node sling:resourceType

    byao

      Hi all,

      I have LDAP configured and working with CQ5.4. I've configured autocreate.path="none" to let the repository create the folder structure. Based on OSGI configuration for Day CQ Profile Manager, creating an user should also create a profile with sling:resourceType set to "cq/security/components/profile". However, when logging in using LDAP credentials, the profile node is created, but the sling:resourceType property is not set. How can I get it to set correctly when creating users with LDAP login?

       

      Thanks! Any help much appreciated.

       

       

      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"

              autocreate.group.mail="profile/email"

              autocreate.group.cn="profile/givenName"

              autocreate.user.givenname="profile/givenName"

              autocreate.group.description="profile/aboutMe"

              userIdAttribute="sAMAccountName"

              port="389"

              autocreate="create"

              autocreate.user.membership="dna"

              secure="false"

              userFilter="(objectclass=person)"

              autocreate.user.mail="profile/email"

              autocreate.user.sn="profile/familyName"

              userRoot="OU=All Users,dc=ad,dc=xx,dc=com"

              autocreate.user.about="profile/title"

              cache.expiration="600"

              cache.maxsize="100"

              host="ldap.xxxx.com"

              autocreate.path="none"

              ;

      };