AnsweredAssumed Answered

Alfresco 4.2.d Active Directory Sync

Question asked by sickasachip on Feb 22, 2019

Hi,

 

I've been trying for a week now to try and get the Alfresco Community to syn with my test setup active directory without success. Below is what I have in my Global Properties config. Any help appreciated.

 

Once I add the LDAP Integration & Authentication section I'm unable to login with my initial username & Password or AD ones.

 

I've created a domain as - testdc.co.uk, created a Group called AlfrescoAdmins in AD and added users to this group.

 

If I remove the LDAP Integration and Authentication from the config I can then login with my default username and password.

 

 

 

###############################
## Common Alfresco Properties #
###############################
dir.root=C:/Alfresco/alf_data
alfresco.context=alfresco
alfresco.host=127.0.0.1
alfresco.port=8080
alfresco.protocol=http
share.context=share
share.host=127.0.0.1
share.port=8080
share.protocol=http
alfresco_user_store.adminusername=admin
### database connection properties ###
db.driver=org.postgresql.Driver
db.username=alfresco
db.password=
db.name=alfresco
db.url=jdbc:postgresql://localhost:5432/${db.name}
### FTP Server Configuration ###
ftp.enabled=true
ftp.port=21
### RMI service ports ###
alfresco.rmi.services.port=50500
avm.rmi.service.port=0
avmsync.rmi.service.port=0
attribute.rmi.service.port=0
authentication.rmi.service.port=0
repo.rmi.service.port=0
action.rmi.service.port=0
deployment.rmi.service.port=0
### External executable locations ###
ooo.exe=C:/Alfresco/libreoffice/App/libreoffice/program/soffice.exe
ooo.enabled=true
ooo.port=8100
img.root=C:\\Alfresco\\imagemagick
img.coders=${img.root}\\modules\\coders
img.config=${img.root}\\config
img.gslib=${img.root}\\lib
img.exe=${img.root}\\convert.exe
swf.exe=C:/Alfresco/swftools/pdf2swf.exe
swf.languagedir=C:/Alfresco/swftools/japanese
### LDAP Integration ###
synchronization.authCreatePeopleOnLogin=false
ldap.authentication.active=false
ldap.synchronization.active=true
ldap.authentication.java.naming.provider.url=ldap://alfresco.testdc.co.uk.local:389
ldap.synchronization.java.naming.security.credentials=Password123
ldap.synchronization.groupSearchBase=ou\=Domain Controllers,dc\=testdc,dc\=co.uk
ldap.synchronization.userSearchBase=ou\=Domain Controllers,dc\=testdc,dc\=co.uk
### Authentication ###
authentication.chain=kerberos1:kerberos,ldap1:ldap-ad
ntlm.authentication.sso.enabled=true
afresco.authentication.allowGuestLogin=false
kerberos.authentication.realm=ALFRESCO.local
kerberos.authentication.sso.enabled=true
kerberos.authentication.user.configEntryName=administrator
kerberos.authentication.defaultAdministratorUserNames=administrator, admin
kerberos.authentication.cifs.configEntryName=AlfrescoCIFS
kerberos.authentication.http.configEntryName=AlfrescoHTTP
kerberos.authentication.cifs.password=Password123
kerberos.authentication.http.password=Password123
kerberos.authentication.authenticateCIFS=true
kerberos.authentication.stripUsernameSuffix=true
jodconverter.enabled=false
jodconverter.officeHome=C:/Alfresco/libreoffice/App/libreoffice
jodconverter.portNumbers=8100
### Initial admin password ###
alfresco_user_store.adminpassword=6daedec3c1255c5f8bd0a155459cfe05
### E-mail site invitation setting ###
notification.email.siteinvite=false
### License location ###
dir.license.external=C:/Alfresco
### Solr indexing ###
dir.keystore=${dir.root}/keystore
solr.port.ssl=8443
### BPM Engine ###
system.workflow.engine.jbpm.enabled=false

Outcomes