cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco share not updating user profile details

samnaction
Champ in-the-making
Champ in-the-making
I have created alfresco with ldap. I am able to login successfully. But the user profile is not updated. Only the first name is there in the user profile.

Here is my ldap configuration:

### ACtive Directory Configuration ###
authentication.chain=ldap1:ldap,alfrescoNtlm1:alfrescoNtlm
ldap.authentication.active=true
ldap.authentication.java.naming.security.authentication=simple
ldap.authentication.userNameFormat=%s
ldap.authentication.allowGuestLogin=false
ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
ldap.authentication.java.naming.provider.url=ldap://192.168.58.1:389
ldap.authentication.escapeCommasInBind=false
ldap.authentication.escapeCommasInUid=false
4 REPLIES 4

mitpatoliya
Star Collaborator
Star Collaborator
I still do not see some of the properties
ldap.authentication.defaultAdministratorUserNames
ldap.synchronization.userIdAttributeName
The attribute name on people objects found in LDAP to use as the uid in Alfresco.
ldap.synchronization.userFirstNameAttributeName
The attribute on person objects in LDAP to map to the first name property in Alfresco.
ldap.synchronization.userLastNameAttributeName
The attribute on person objects in LDAP to map to the last name property in Alfresco.
ldap.synchronization.userEmailAttributeName
The attribute on person objects in LDAP to map to the email property in Alfresco.
ldap.synchronization.userOrganizationalIdAttributeName
The attribute on person objects in LDAP to map to the organizational ID property in Alfresco.
ldap.synchronization.defaultHomeFolderProvider
The default home folder provider to use for people created using LDAP import.
ldap.synchronization.groupIdAttributeName
The attribute on LDAP group objects to map to the group name in Alfresco.
ldap.synchronization.groupType
The group type in LDAP.
ldap.synchronization.personType
The person type in LDAP
ldap.synchronization.groupMemberAttributeName
The attribute in LDAP on group objects that defines the DN for its members.

could be the reason

Where can i see all the user details options available to sync with Alfresco ?

I want to be able to sync telephone, company mobile … from AD ?

Thank you

boiss007
Champ on-the-rise
Champ on-the-rise
You have some basic values imported by the synchronisation subsystems - <a href=http://docs.alfresco.com/community/concepts/auth-ldap-props.html">here </a> but you will most likely need to rewrite part of it to add all those values…

borisstankov
Champ in-the-making
Champ in-the-making
First you need to activate the synchronization subsystem by entering those properties in the alfresco-global.properties file:

synchronization.syncOnStartup=true
synchronization.allowDeletions=true
synchronization.sinchronyzeChangesOnly=true
synchronization.syncWhenMissingPeopleLogIn=true
synchronization.import.cron=0 0 * * * ? #This will synchronize all changes made for tha last hour in your LDAP.

More about this subsystem you can refer here (everything applies to the 4.2.c too):
http://docs.alfresco.com/community/concepts/sync-props.html

Then you need to add what you want to sync from the ldap subsystem:

ldap.synchronization.groupSearchBase=ou=1,ou=2,dc=domain,dc=com
ldap.synchronization.userSearchBase=ou=1,ou=1,dc=domain,dc=com
ldap.synchronization.modifyTimestampAttributeName=modifyTimestamp
ldap.synchronization.timestampFormat=yyyyMMddHHmmss'.0Z'
#The following options are for enabled LDAPs in MS AD integration
ldap.synchronization.userIdAttributeName=sAMAccountName
ldap.synchronization.userFirstNameAttributeName=givenName
ldap.synchronization.userLastNameAttributeName=sn
ldap.synchronization.userEmailAttributeName=mail
ldap.synchronization.defaultHomeFolderProvider=largeHomeFolderProvider

ldap.synchronization.personType=user
ldap.synchronization.enableProgressEstimation=true

#This parameter will help you if you enabled ldaps communication between the
#Alfresco and THe AD, and give you the opertunity to use your Alfresco Admin account.
#Without it, you will not be able to use your ADMIN account
ldap.authentication.defaultAdministratorUserNames=admin,user1,user2

More info about this subsystem here:
http://docs.alfresco.com/community/concepts/auth-ldap-props.html



Regards,
Boris