0

I recently enabled ldap synchronization in my Alfresco Community Edition instance (running 5.1).

I checked the logs and it appears that the sync is working fine. For my test, I setup an instance running OpenLDAP.

2016-10-20 20:22:39,925  INFO  [security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Synchronization,Category=directory,id1=ldap1,id2=6 User Creation and Association: Commencing batch of 0 entries
 2016-10-20 20:22:39,925  INFO  [security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Synchronization,Category=directory,id1=ldap1,id2=6 User Creation and Association: Completed batch of 0 entries
 2016-10-20 20:22:39,960  INFO  [security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Finished synchronizing users and groups with user registry 'ldap1'

It is showing zero above because an earlier run synced successfully. I was also able to verify this by checking the postgres database

COPY alf_authority (id, version, authority, crc) FROM stdin;
12      0       testuser1  1280826318
13      0       testuser2  2382010757

testuser1 and testuser2 are what I added on LDAP.

However, when I check the users added under admin tools (http://localhost:8080/share/page/console/admin-console/users on my instance) I don't see these users

I've looked at many links and forums and this doesn't seem to be discussed. Is there anything I am missing?

deepakkt
  • 82
  • 1
  • 8
  • Is your search working okay? – Jeff Potts Oct 21 '16 at 15:33
  • Nope. Still in the blind. – deepakkt Oct 22 '16 at 11:51
  • Is there a user you do see? Can you compare the two nodes and see if there are any differences, for example a missing aspect? Jeff is probably aiming at something SOLR related. – Lista Oct 24 '16 at 06:49
  • Ok got it. My situation is that * Alfresco is syncing with LDAP * Users get added to postgres on Alfresco * They don't show up in the search interface None of the LDAP users show up there. The users I add as part of alfresco admin ("alfresco users") do show up. – deepakkt Oct 24 '16 at 07:49
  • Can you successfully authenticate as an LDAP user? – Jeff Potts Oct 24 '16 at 14:23
  • No I cannot. Alfresco seems to treat these users as non existent. – deepakkt Oct 24 '16 at 14:52

1 Answers1

0

We had the same issue for new test user : they were synchronised, could log in alfresco with but not visible in admin tools... But we could access the modification page of the users by typing the correct url by hand.

The problem came from the filed LDAP LastName on our AD which was empty.

We added infos to the LastName field and voilà ! We can now see them in the Admin Tools... May be it is your case ?