Alfresco: Fedora 24 (Server Edition)- Alfresco Community v5.1.0 LDAP: Windows 2008R2
The problem: default attributes (First name, last name, mail) from LDAP are synchronized. But additional Alfresco attributes (Mobile or Telephone) are missing. Problem is that ldap-authentication-context.xml and common-ldap-context.xml is missing frim 5.1 install. Tried https://forums.alfresco.com/forum/installation-upgrades-configuration-integration/authentication-lda..., Placed /opt/alfresco-community/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap-ad/myldap/authentication-context.xml and /opt/alfresco-community/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/common-ldap-context.xml from alfresco-repository-5.1.g.jar.
### database connection properties ### db.driver=org.postgresql.Driver db.username=alfresco db.password=admin db.name=alfresco db.url=jdbcostgresql://localhost:5432/${db.name} # Note: your database must also be able to accept at least this many connections. Please see your database documentation for instructions on how to configure this. db.pool.max=275 db.pool.validate.query=SELECT 1
# The server mode. Set value here # UNKNOWN | TEST | BACKUP | PRODUCTION system.serverMode=UNKNOWN
### FTP Server Configuration ### ftp.port=21
### RMI registry port for JMX ### alfresco.rmi.services.port=50500
ldap.synchronization.userIdAttributeName=sAMAccountName ldap.synchronization.userFirstNameAttributeName=name ldap.synchronization.userLastNameAttributeName=sn ldap.synchronization.userEmailAttributeName=userPrincipalName # The attribute on person objects in LDAP to map to the telephone property in Alfresco ldap.synchronization.userCompanyTelephoneAttributeName=mobile ldap.synchronization.userMobileAttributeName=mobile ldap.synchronization.groupIdAttributeName=cn ldap.synchronization.groupType=group ldap.synchronization.personType=user
I've managed to get mobile number imported fine (mobile DirectoryString 1 44444) bet any other phone number is ignored. Maybe somebody notices any mistakes?