Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] PSPNG: syncing fails with ENTRY_ALREADY_EXISTS when group has more than 1500 members

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] PSPNG: syncing fails with ENTRY_ALREADY_EXISTS when group has more than 1500 members


Chronological Thread 
  • From: Dominique Petitpierre <>
  • To: <>
  • Subject: Re: [grouper-users] PSPNG: syncing fails with ENTRY_ALREADY_EXISTS when group has more than 1500 members
  • Date: Thu, 24 Sep 2020 15:08:48 +0200
  • Organization: University of Geneva

RE,
On 24.09.20 04:57, Dominique Petitpierre wrote:

Here is a one liner I used to calculate how many groups have more than MaxValRange members:

ldapsearch ... -b OU=Grouper,OU=Groups,OU=_UNIGE,DC=isis-klif,DC=unige,DC=ch 'objectclass=group' member| sed -e 's/;.*/;/'|uniq|grep -c '^member;'
65

a bit too much was ellipsised: n case there are more than 1000 (MaxPageSize) groups:

ldapsearch ... -E pr=1000/noprompt -b OU=Grouper,OU=Groups,OU=_UNIGE,DC=isis-klif,DC=unige,DC=ch 'objectclass=group' member| sed -e 's/;.*/;/'|uniq|grep -c '^member;'

-- 
Meilleures salutations,
Dominique Petitpierre

* Unsolicited commercial email is NOT welcome at this address. *
Mr Dominique Petitpierre       Email: User@Domain
IT Division                    User=Dominique.Petitpierre
University of Geneva                  Domain=unige.ch
24 rue General-Dufour          Voice: +41 (0)22 37 97117
CH-1204 GENEVA                 Fax  : +41 (0)22 37 97986
(Switzerland)                  WWW  : http://www.unige.ch/dinf/



Archive powered by MHonArc 2.6.19.

Top of Page