Problem is the same described on this mailing list a few years ago (AIX 5.3 and AIX 6.1) http://lists.samba.org/archive/samba-technical/2006-September/049234.html ie: "As it was detected during debug sessions and using special traces, in this case the initgroups() function coming from the own libraries of AIX is writing to some memory areas, where it shouldn't" but the solution described is not good for my needs because rep_initgroups only fetch local groups and my DCE + GPFS setup needs the DCE groups. Figured that calling sys_getgrouplist only once is a better choice so the following patch has been pushed to master. I would appreciate it to be added to 3.3 and 3.4 as well
Created attachment 4495 [details] git patch against origin/v3-4-test
Ack from my side. Patch also applies for me with "git am -3" in v3-3-test. Volker
In principle, we could add a configure check for the broken aix call and do a workaround if it is found broken. But until we have this, I think this is a fair compromize. Raising the potential minimum of groups to 128 does not harm any one. +1 from me
Michael, I have tried to reproduce the problem with a simple test code and haven't been able to. This is why I've waited since the first mailing-list post about it and yesterday because I was trying to reproduce it on my free time
Pushed. Patch will be included in 3.3.8 and 3.4.1. Closing out bug report. Thanks!