I would like to configure LDAP in sling. Currently I have:

org.apache.jackrabbit.oak.security.authentication.ldap.impl.LdapProviderConfig
    provider.name="LdapIdentityProvider"
    bind.dn=<my username>
    bind.password=<my password>
    host.hame=<my host name>
    host.port="389"
    user.baseDN=<my user base dn>

  org.apache.jackrabbit.oak.security.authentication.token.TokenLoginModule
    jaas.controlFlag="sufficient"

  
org.apache.jackrabbit.oak.spi.security.authentication.external.impl.ExternalLoginModule
    jaas.controlFlag="sufficient"
    sync.handlerName="default"
    idp.name="ldap"

  org.apache.jackrabbit.oak.security.authentication.user.LoginModuleImpl
    jaas.controlFlag="sufficient"


in the sling.txt provisioning file (in distribution/src/main/provisioning). I 
have also tried using the above in the oak.txt provisioning file of the same 
directory.

When I attempt to log into the default Apache Sling login page with my 
username, I am rejected (and only admin:admin is accepted). What should I do to 
crrectly configure LDAP?

(note that everything in <> is a placeholder for confidentiality purposes).

Reply via email to