AnsweredAssumed Answered

Alfresco 3.2 LDAP user sync without group sync possible!

Question asked by _sax on Jul 13, 2009
Latest reply on Jul 23, 2009 by pbkoob
With the newly factored Authentication subsystems I was able to get up CIFS, NTLM and LDAP sync running in almost no time, great work!

Now I'm having one issue with LDAP sync. It works for users, but then tries to import groups, which I don't want it to do.
So I commented the sections in ldap-ad-authentication.properties that belong to groups. I also commented the sections in common-ldap-context.xml, each having the following result:

19:44:19,032 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] Creating user 'DonaldDuck'
19:44:19,790 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] Retrieving all groups from user registry 'AUTH.EXT.ldap1'
19:44:27,477 ERROR [org.quartz.core.JobRunShell] Job DEFAULT.ldapPeopleJobDetail threw an unhandled Exception:
java.lang.NullPointerException

After the import of persons, it stops with an error message (a null pointer exception, because the blank options point to nowhere).
The problem is, that no user is being displayed in the admin console, and no home folder is created.

With 2.x it was possible to comment the group import trigger and have all users imported, but no groups. Is that possible with 3.2?

With the manual creation of my windows user with password in Alfresco, both NTLM and CIFS are working greatly.

Outcomes