[SAMBA3] [PATCH] AIX initgroups() error

William Jojo jojowil at hvcc.edu
Sat Sep 9 01:52:35 GMT 2006



On Fri, 8 Sep 2006, Gerald (Jerry) Carter wrote:

> -----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.
>

Jerry,

I think I missed some of this. Where can I find the patch and I'd like to 
know more about the version of AIX and the maintenance level.

Andras,

Can I get an "oslevel -s"? And a (quick?) way to recreate the DCE cell 
failure?


Cheers,

Bill



More information about the samba-technical mailing list