[OpenAFS-devel] interesting issue with setgroups wrapper...
chas williams
chas@cmf.nrl.navy.mil
Thu, 23 May 2002 12:09:35 -0400
In message <5958610EC585FA42B1CC3D20E216BE70190C15@umr-mail6.umr.edu>,"Neulinge
r, Nathan" writes:
>Not between multiple users, between the user, and anonymous
>non-user-based connections on the same smb session. (All that screwy
>stuff windows does with multiple samba connections from the same PC.)
>The assumption is that a single smbd has a single afs authentication
>context is still kept.
if i read this correctly then the user's smbd is switching between
the user and the anonymous user. you wouldnt want the anonymous user
to be able to user your pag so smbd is dropping all the groups when
switching from the user to the anonymous user. it probably restores the
groups with initgroups() instead of saving the groups with getgroups()
and restoring with setgroups()?