-
Bug
-
Resolution: Won't Fix
-
Medium (View bug fix roadmap)
-
None
-
5.0.7, 5.1.1
-
None
-
5
-
I can't think of a better title, but the steps to reproduce should explain this behavior:
- Create a connection to Active Directory via JIRA Administration >> User Directories, using Read Only with Local Groups.
- Sync all users from AD , set Default Group Memberships to jira-users and jira-internal
- Login using a testADuser
- Notice that testADuser is automatically added to the groups jira-users and jira-internal
- Logout and login again as admin, this time, change the user object filter in the AD Directory to this:
(&(objectCategory=Person)(!(sAMAccountName=testADuser)))
- Sync the directory. Notice that testADuser is not synchronized.
- Change the user object filter back to:
(&(objectCategory=Person)(sAMAccountName=*))
- Sync the directory again, notice that testADuser is synced back, but the user is no longer in jira-users and jira-internal. In this sense, the user indeed, loses all group memberships if they are filtered out from an Active Directory sync (could be due to a failure in any of the Active Directory trees)
Suggestion
Instead of using a regular Active Directory Connector with Local Groups, Consider using Internal with LDAP Authentication (Delegated) Directory instead.
- relates to
-
JRASERVER-65433 Rollback User Directory Modifications if Connection is Lost During Sync
-
- Gathering Impact
-
@Brennan Norwood
You've just saved me such a headache by forcing full sync rather than incremental, thank you!