AnsweredAssumed Answered

get user profile (profile at least firstName, lastName & mail) in alfresco while authentication of open ldap

Question asked by on Sep 24, 2013
Latest reply on Sep 25, 2013 by
we integrated alfresco 4.2.c with open ldap to authenticate users.
If first time user login to alfresco then alfresco authenticates user from ldap and creating the user.

That created user profile have firstName only. But we need user profile sync with at least these attributes of ldap: firstName, lastName and email.

In otherwords, Alfresco authenticating via ldap But its failing while user mapping. That means alfresco creating user without lastName and mail etc., attributes of ldap.

Let us know development approach, How we can get user profile in alfresco with basic attributes like lastName and mail while ldap authentication.

Please refer the below error stack trace on the console:

2013-09-24 10:50:09,102  INFO  [security.sync.ChainingUserRegistrySynchronizer] [http-apr-8080-exec-2] Synchronizing users and groups with user registry 'ldap1'
2013-09-24 10:50:09,105  INFO  [security.sync.ChainingUserRegistrySynchronizer] [http-apr-8080-exec-2] Retrieving all groups from user registry 'ldap1'
2013-09-24 10:50:09,858  ERROR [security.sync.ChainingUserRegistrySynchronizer] [http-apr-8080-exec-2] Synchronization aborted due to error 08240014 LDAP authentication failed.

Caused by: javax.naming.AuthenticationException: [LDAP: error code 32 - No Such Object]
   at com.sun.jndi.ldap.LdapClient.authenticate(

2013-09-24 10:50:09,946  WARN  [security.sync.ChainingUserRegistrySynchronizer] [http-apr-8080-exec-2] User authenticated but failed to sync with user registry 08240014 LDAP authentication failed.