AnsweredAssumed Answered

Alfresco and Active Directory - cannot login?

Question asked by jsosic on Jun 30, 2010
Latest reply on Jul 5, 2010 by boutch55555
Hi.

I've managed to succeed the user import from Windows AD, but users just can't log in. Passwords are not accepted…. I guess I'm doing something wrong. These are my configs:

# cat /var/opt/csw/tomcat5/shared/classes/alfresco-global.properties
###############################
## Common Alfresco Properties #
###############################

#
# Sample custom content and index data location
#
dir.root=/tank/alfresco/alf_data

#
# Sample database connection properties
#
db.username=alfresco
db.password=dbpass

#
# Property to control whether schema updates are performed automatically.
# Updates must be enabled during upgrades as, apart from the static upgrade scripts,
# there are also auto-generated update scripts that will need to be executed.  After
# upgrading to a new version, this can be disabled.
#
db.schema.update=true

#
# MySQL connection
#
db.driver=org.gjt.mm.mysql.Driver
db.url=jdbc:mysql://server6/alfresco
hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect

# The well known RMI registry port is defined in the alfresco-shared.properties file
# alfresco.rmi.services.port=50500
#
# RMI service ports for the individual services.
# These six services are available remotely.
#
# Assign individual ports for each service for best performance
# or run several services on the same port. You can even run everything on 50500 if needed.
#
# Select 0 to use a random unused port.
#
#avm.rmi.service.port=50501
#avmsync.rmi.service.port=50502
#attribute.rmi.service.port=50503
#authentication.rmi.service.port=50504
#repo.rmi.service.port=50505
#action.rmi.service.port=50506


#
# External locations
#
ooo.exe=/opt/csw/bin/soffice
#img.root=./ImageMagick
#img.dyn=/usr/lib64
img.exe=/opt/csw/bin/convert
#swf.exe=/usr/local/bin/pdf2swf

#
# Outbound Email Configuration
#
mail.host=mail.mycompany.local
mail.port=25
mail.encoding=UTF-8
mail.from.default=alfresco@mycompany.local
#mail.username=
#mail.password=
#mail.smtp.auth=true


#
# CIFS configuration
#
cifs.enabled=false
cifs.serverName=alfresco
cifs.hostannounce=true
cifs.urlfile.prefix=http://alfresco:8080/alfresco
#
# FTP configuration
#
ftp.enabled=true
ftp.port=8021

#
# Authentication
#authentication.chain=mycompany:ldap
#authentication.chain=alfrescoNtlm1:alfrescoNtlm,passthru1:passthru,mycompany:ldap-ad
#authentication.chain=alfrescoNtlm1:alfrescoNtlm,mycompany:ldap-ad
authentication.chain=mycompany:ldap-ad,alfrescoNtlm1:alfrescoNtlm

Outcomes