Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-5230

LDAP Sync seems broken for groups since rev 29380

    Details

    • Bug Priority:
      Category 1

      Description

      Since rev 29389 to HEAD (including rev 29380 by davew) sync of groups seems broken (see log below)

      29380: ALF-6434: Better detection / prevention of cyclic group relationships in LDAP sync

      I have made test on previously working alfresco and from fresh install

      Groups don't seem to be effectively created (I don't find them in group admin page in alfresco explorer)

      2011-07-28 19:38:48,681 INFO [management.subsystems.ChildApplicationContextFactory] [main] Starting 'Synchronization' subsystem, ID: [Synchronization, default]
      2011-07-28 19:38:48,827 INFO [security.sync.ChainingUserRegistrySynchronizer] [main] Synchronizing users and groups with user registry 'ldap1'
      2011-07-28 19:38:48,870 INFO [security.sync.ChainingUserRegistrySynchronizer] [main] Retrieving all groups from user registry 'ldap1'
      2011-07-28 19:38:50,147 INFO [security.sync.ChainingUserRegistrySynchronizer] [main] ldap1 Group Analysis: Commencing batch of 32 entries
      2011-07-28 19:38:50,267 INFO [security.sync.ChainingUserRegistrySynchronizer] [main] ldap1 Group Analysis: Processed 32 entries out of 32. 100 % complete. Rate: 266 per second. 0 failures detected.
      2011-07-28 19:38:50,267 INFO [security.sync.ChainingUserRegistrySynchronizer] [main] ldap1 Group Analysis: Completed batch of 32 entries
      2011-07-28 19:38:50,272 INFO [security.sync.ChainingUserRegistrySynchronizer] [main] Retrieving all users from user registry 'ldap1'
      2011-07-28 19:38:50,294 INFO [security.sync.ChainingUserRegistrySynchronizer] [main] ldap1 User Creation and Association: Commencing batch of 101 entries
      2011-07-28 19:39:36,716 WARN [security.sync.ChainingUserRegistrySynchronizer] [ldap1 User Creation and Association1] ldap1 User Creation and Association: Failed to process entry "uid=anonymous,ou=accounts,dc=domain,dc=eu".
      org.springframework.dao.ConcurrencyFailureException: Forcing batch retry for unknown authority; nested exception is org.alfresco.repo.security.authority.UnknownAuthorityException: 06280082 An authority was not found for GROUP_NoGroup
      at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer$1Analyzer.maintainAssociationCreations(ChainingUserRegistrySynchronizer.java:1313)
      at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer$1Analyzer.access$1100(ChainingUserRegistrySynchronizer.java:636)
      at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer$1PersonWorker.process(ChainingUserRegistrySynchronizer.java:1451)
      at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer$1PersonWorker.process(ChainingUserRegistrySynchronizer.java:1359)
      at org.alfresco.repo.batch.BatchProcessor$TxnCallback.execute(BatchProcessor.java:712)
      at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
      at org.alfresco.repo.batch.BatchProcessor$TxnCallback.run(BatchProcessor.java:756)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: org.alfresco.repo.security.authority.UnknownAuthorityException: 06280082 An authority was not found for GROUP_NoGroup
      at org.alfresco.repo.security.authority.AuthorityDAOImpl.addAuthority(AuthorityDAOImpl.java:202)
      at org.alfresco.repo.security.authority.AuthorityServiceImpl.addAuthority(AuthorityServiceImpl.java:389)
      at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer$1Analyzer.maintainAssociationCreations(ChainingUserRegistrySynchronizer.java:1307)
      ... 9 more
      2011-07-28 19:40:12,474 WARN [security.sync.ChainingUserRegistrySynchronizer] [ldap1 User Creation and Association2] ldap1 User Creation and Association: Failed to process entry "uid=p-2009-0001_cal,ou=accounts,dc=domain,dc=eu".
      org.springframework.dao.ConcurrencyFailureException: Forcing batch retry for unknown authority; nested exception is org.alfresco.repo.security.authority.UnknownAuthorityException: 06280162 An authority was not found for GROUP_NoGroup
      at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer$1Analyzer.maintainAssociationCreations(ChainingUserRegistrySynchronizer.java:1313)
      at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer$1Analyzer.access$1100(ChainingUserRegistrySynchronizer.java:636)
      at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer$1PersonWorker.process(ChainingUserRegistrySynchronizer.java:1451)
      at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer$1PersonWorker.process(ChainingUserRegistrySynchronizer.java:1359)
      at org.alfresco.repo.batch.BatchProcessor$TxnCallback.execute(BatchProcessor.java:712)
      at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
      at org.alfresco.repo.batch.BatchProcessor$TxnCallback.run(BatchProcessor.java:756)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: org.alfresco.repo.security.authority.UnknownAuthorityException: 06280162 An authority was not found for GROUP_NoGroup
      at org.alfresco.repo.security.authority.AuthorityDAOImpl.addAuthority(AuthorityDAOImpl.java:202)
      at org.alfresco.repo.security.authority.AuthorityServiceImpl.addAuthority(AuthorityServiceImpl.java:389)
      at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer$1Analyzer.maintainAssociationCreations(ChainingUserRegistrySynchronizer.java:1307)
      ... 9 more

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs (Inactive)
                Reporter:
                skyfredox Skyfredox (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel