[SAMBA3] [PATCH] AIX initgroups() error

Gerald (Jerry) Carter jerry at samba.org
Fri Sep 8 17:27:51 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks Andras.

aatzel at gamax.hu wrote:
> Hi Developers,
> 
> the following patch is correcting a special 
> error detected only in AIX environment with
> users belonging to DCE cells.
> 
> 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 
> (in our case it destroyed the magic number
> of a talloc struct, triggering a coredump).
> Replacing this function with the substitute,
> delivered with the samba code, the smbd
> runs error-free.
> 
> The following little patch does nothing, but forces 
> the usage of samba's own initgroups() function,
> in case the system is AIX.
> 
> I would like to ask for a review, if any of you 
> have some time for it.

Bill, what's you vote on this.  Can you confirm broken
initgroups() behavior on AIX ?

My only objection is that it blacklists initgroups()
on all AIX servers even though the problem appears to
be with a specific environment.





cheers, jerry
=====================================================================
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFAagXIR7qMdg1EfYRAmy0AJ9w6CmjVzxsObTkt4fXaZCoVtqx/QCfWooO
b7QaMDSKESTGfotqGD2HfZ4=
=/n/2
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list