cancel
Showing results for 
Search instead for 
Did you mean: 

Update users email from LDAP

oounoughi
Star Contributor
Star Contributor

Hello,

I'm trying to update some users emails that was never added when the user was created.

How am I able to update the email field value without delelting the user? Is it safe If I delete the User the resynchronise from ldap or he can lose all permissions to his contents, groupes and sites he was in ?

I tried with a full sync, didn't work,

I trid with updating the property cm:email in Alfresco with diffente value from LDAP to force synchronize on the email property but didn't work either,

I'm searching for hours, can't find way, can you please inpire me with good ideas ?


ldap-authentication is attached,

Here the alfresco-global.properties :

authentication.chain=alfinst:alfrescoNtlm,ad1:ldap,ad2:ldap,external1:external
ntlm.authentication.sso.enabled=false
external.authentication.proxyUserName=
external.authentication.enabled=true
external.authentication.proxyHeader=X-Alfresco-Remote-User
external.authentication.defaultAdministratorUserNames=admin

ad2 is réplication of ad1 , external is for CAS authentication. 

Thanks

Omar

1 REPLY 1

fedorow
Elite Collaborator
Elite Collaborator

Deleted user loose all permissions. But after recreation it will be associate with old user actions by ldap.synchronization.userIdAttributeName key parameter.

Changing user email in AD should synchronize properly into Alfresco.

But as I understand two ldap-ad subsystems can give two different pools of users from two different domains. And my thought you should have collapse by trying to synchronize the same users from two different replicas of one AD.