cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to configure ldap on alfresco

linshad_k
Champ in-the-making
Champ in-the-making

Dear Team,

I was stucked up with ldap configuration.i edited something in global properties file

ldap.authentication.userNameFormat=%s@mydomain name.corp  
ldap.authentication.java.naming.provider.url=ldap://192.168.0.6:389
ldap.authentication.defaultAdministratorUserNames=administrator@domain name.corp *\{
asminstrator is my user name}

ldap.synchronization.java.naming.security.principal=Mydomain name.corp
ldap.synchronization.java.naming.security.credentials=my password
ldap.synchronization.groupSearchBase=ou=Security Groups,ou=dc\
,dc=mydomain name,dc=corp

while executing im getting below errror

2017-01-19 11:35:47,098 ERROR [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Synchronization aborted due to error
org.alfresco.repo.security.authentication.AuthenticationException: 00190016 Failed to authenticate, username or password is wrong. User name:exalca.corp Reason [LDAP: error code 49 - Simple Bind Failed: NT_STATUS_LOGON_FAILURE]
at org.alfresco.repo.security.authentication.ldap.LDAPInitialDirContextFactoryImpl.buildInitialDirContext(LDAPInitialDirContextFactoryImpl.java:242)

whent i try to restart alfresco service showing following error..

can any one help me im not good in alfresco..i didnt get any refernce

1 REPLY 1

sujaypillai
Confirmed Champ
Confirmed Champ

ldap.synchronization.java.naming.security.principal=Mydomain name.corp [ this should be a valid username rather than domain name]
ldap.synchronization.java.naming.security.credentials=my password [make sure you enter proper password for the above user]