Thank you very much for scripts.
I used some of them and I'm able to reproduce problem with rfc2307 schema
http://i0.kym-cdn.com/photos/images/original/000/591/928/94f.png
I can see messages "0 instead of 29"
I hope it is the same problem as in case you pasted earlier in this thread.
[root@dirac linux]# python initgroups.py cmp12 119549 95 24 200
wrongs number of secondary groups in process 4363 : 5 instead of 95 (sleep 78ms)
wrongs number of secondary groups in process 4366 : 5 instead of 95 (sleep 95ms)
wrongs number of secondary groups in process 4353 : 5 instead of 95 (sleep 90ms)
wrongs number of secondary groups in process 4362 : 5 instead of 95 (sleep 108ms)
wrongs number of secondary groups in process 4358 : 5 instead of 95 (sleep 110ms)
wrongs number of secondary groups in process 4371 : 5 instead of 95 (sleep 121ms)
This run was from Chris Petty, which was following the thread and was able to
reproduce the problem with his setup.
BTW: I had rfc2307bis schema in my 1st reproducer.
So I will try whether it could be reason why I couldn't reproduce it.
If I'm not mistaken, Chris is using AD (hence rfc2307bis right ?), so I won't
beg on it, but maybe it could give you hints on where the problem is within the
code.
Jean-Baptiste