CVS update: samba/source/lib

vlendec at vlendec at
Fri Oct 24 02:51:08 EST 2003

Date:	Thu Oct 23 16:51:08 2003
Author:	vlendec

Update of /data/cvs/samba/source/lib
In directory

Modified Files:
	afs.c util_sec.c 
Log Message:
Merge from 3_0:

After a phonecall with jra finally commit this.

This changes our behaviour when the setresuid call is available. We now not
only change the effective uid but also the real uid when becoming
unprivileged. This is mainly for improved AFS compatibility, as AFS selects
the token to send to the server based on the real uid of the process.

I tested this with a W2k server with two non-root 'runas' sessions. They come
in via a single smbd as two different users using two session setups. Samba on
Linux can still switch between the two uids, proved by two different files
created via those sessions.


afs.c		1.3 => 1.4
util_sec.c		1.19 => 1.20

More information about the samba-cvs mailing list