cancel
Showing results for 
Search instead for 
Did you mean: 

LDAP authentication for admin user not working

manuelpj
Champ in-the-making
Champ in-the-making
I have LDAP authentication working for users, but for the admin user it fails.

Can I tell Alfresco not to use LDAP authentication for the admin user ?  If not can I tell it to try it's authentication mechanism first before LDAP ?

Also my startup looks like the following, is it supposed to ?

12:00:25,918 WARN  [org.alfresco.repo.security.authentication.ldap.LDAPInitialDirContextFactoryImpl] LDAP server supports anonymous bind ldap://pipeline:389
12:00:25,921 INFO  [org.alfresco.repo.security.authentication.ldap.LDAPInitialDirContextFactoryImpl] LDAP server does not support simple string user ids and invalid credentials at ldap://pipeline:389
12:00:25,923 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://pipeline:389
12:00:25,924 INFO  [org.alfresco.repo.security.authentication.ldap.LDAPInitialDirContextFactoryImpl] LDAP server does not fall back to anonymous bind for known principal and invalid credentials at ldap://pipeline:389
3 REPLIES 3

alexander
Champ in-the-making
Champ in-the-making
Hi

I think you have 2 options:

1) Make someone from LDAP and admin user (you can make any name to be admin by editing adminUsers property in authority-services-context.xml. Or you may want to use override.)

2) Creating chained authentication - it will first look in Alfresco user database first. Look at chaining-authentication-context.xml.sample in extension folder.

slickshow
Champ in-the-making
Champ in-the-making
I am using NTLM and I chose a user imported via LDAP as the admin in the authority-services-context.xml. When I login as that user, I dont get the admin interface. Do you know if this works with NTLM setup?

robertoroberto
Champ in-the-making
Champ in-the-making
How can I Create chained authentication (Alfresco + ldap)?
Can you explain me step by step with samples?
thank you