grouper-dev - [grouper-dev] PSP Sync error with groups with more than 1500 members in AD
Subject: Grouper Developers Forum
List archive
- From: Sebastien Gagne <>
- To:
- Subject: [grouper-dev] PSP Sync error with groups with more than 1500 members in AD
- Date: Tue, 14 Jan 2014 11:38:56 -0500
Hi,
it's been a while that I had problems with the PSP, but I ran into something recently :
Groups that have more than 1500 members generates an error when synchronizing them to our Active Directory.
Test Group : acad:1801:Cours:A13_SPT6000-A
Number of members : 3059
Doing a manual calc on the groups returns the 3059 members that should be in the group.
Doing a manual diff on the group return 3059 ADD request, but in Active Directory, I see that the group already has more than 1500 members from an initial sync.
I believe the problem comes from an LDAP limitation of a maximum of 1500 retrieved members in a search. If there's more than 1500 members, the query need to have the "range=" option in it. The ldap used by the PSP isn't probably using it so it return no values. Since there's no values, the PSP tries to add the same members again and gets the below errors.
Since it's only 3 groups, it's not a big problem here, but it would be nice to have a fix for this problem.
Thank you
Log from a PSP realtime sync :
2014-01-14 06:37:01,856: [main] ERROR BaseSpmlProvider.execute(386) - - Target 'ldap' - Modify ModifyResponse[pso=<null>,status=failure,error=customError,errorMessages={[LDAP: error code 68 - 00000562: UpdErr: DSID-031A119B, problem 6005 (ENTRY_EXISTS), data 0
_]},requestID=2014/01/14-06:36:59.928]
2014-01-14 06:37:01,859: [main] ERROR BaseSpmlProvider.execute(386) - - Target 'psp' - Modify ModifyResponse[pso=<null>,status=failure,error=customError,errorMessages={[LDAP: error code 68 - 00000562: UpdErr: DSID-031A119B, problem 6005 (ENTRY_EXISTS), data 0
_]},requestID=2014/01/14-06:36:59.928]
2014-01-14 06:37:01,859: [main] ERROR Psp.execute(1440) - - Psp 'psp' - Sync SyncResponse[id=acad:1801:Cours:A13_SPT6000-A,status=failure,error=customError,errorMessages={[LDAP: error code 68 - 00000562: UpdErr: DSID-031A119B, problem 6005 (ENTRY_EXISTS), data 0
_]},requestID=2014/01/14-06:36:55.635,ModifyResponse[pso=<null>,status=failure,error=customError,errorMessages={[LDAP: error code 68 - 00000562: UpdErr: DSID-031A119B, problem 6005 (ENTRY_EXISTS), data 0
_]},requestID=2014/01/14-06:36:59.928]]
PSP Sync (manual)
<psp:syncResponse xmlns:psp='http://grouper.internet2.edu/psp' status='failure' requestID='2014/01/14-11:32:02.059' error='customError'>
<modifyResponse xmlns='urn:oasis:names:tc:SPML:2:0' status='failure' requestID='2014/01/14-11:32:29.559' error='customError'>
<errorMessage>[LDAP: error code 68 - 00000562: UpdErr: DSID-031A119B, problem 6005 (ENTRY_EXISTS), data 0
_]</errorMessage>
</modifyResponse>
<errorMessage>[LDAP: error code 68 - 00000562: UpdErr: DSID-031A119B, problem 6005 (ENTRY_EXISTS), data 0
_]</errorMessage>
<psp:id ID='acad:1801:Cours:A13_SPT6000-A'/>
</psp:syncResponse>
---
Sébastien Gagné, M.Ing., ing. jr
Sébastien Gagné, M.Ing., ing. jr
- [grouper-dev] PSP Sync error with groups with more than 1500 members in AD, Sebastien Gagne, 01/14/2014
- Re: [grouper-dev] PSP Sync error with groups with more than 1500 members in AD, David Langenberg, 01/14/2014
- RE: [grouper-dev] PSP Sync error with groups with more than 1500 members in AD, Gagné Sébastien, 01/14/2014
- Re: [grouper-dev] PSP Sync error with groups with more than 1500 members in AD, David Langenberg, 01/14/2014
- Re: [grouper-dev] PSP Sync error with groups with more than 1500 members in AD, Sebastien Gagne, 01/15/2014
- Re: [grouper-dev] PSP Sync error with groups with more than 1500 members in AD, David Langenberg, 01/15/2014
- Re: [grouper-dev] PSP Sync error with groups with more than 1500 members in AD, Sebastien Gagne, 01/17/2014
- Re: [grouper-dev] PSP Sync error with groups with more than 1500 members in AD, David Langenberg, 01/17/2014
- Re: [grouper-dev] PSP Sync error with groups with more than 1500 members in AD, Sebastien Gagne, 01/17/2014
- Re: [grouper-dev] PSP Sync error with groups with more than 1500 members in AD, Sebastien Gagne, 01/17/2014
- Re: [grouper-dev] PSP Sync error with groups with more than 1500 members in AD, David Langenberg, 01/15/2014
- Re: [grouper-dev] PSP Sync error with groups with more than 1500 members in AD, Sebastien Gagne, 01/15/2014
- Re: [grouper-dev] PSP Sync error with groups with more than 1500 members in AD, David Langenberg, 01/14/2014
- RE: [grouper-dev] PSP Sync error with groups with more than 1500 members in AD, Gagné Sébastien, 01/14/2014
- Re: [grouper-dev] PSP Sync error with groups with more than 1500 members in AD, David Langenberg, 01/14/2014
Archive powered by MHonArc 2.6.16.