CVS update: samba/source/lib

vlendec at samba.org vlendec at samba.org
Fri Oct 24 02:49:46 EST 2003


Date:	Thu Oct 23 16:49:46 2003
Author:	vlendec

Update of /data/cvs/samba/source/lib
In directory dp.samba.org:/tmp/cvs-serv5389

Modified Files:
      Tag: SAMBA_3_0
	afs.c util_sec.c 
Log Message:
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.

Volker


Revisions:
afs.c		1.1.2.2 => 1.1.2.3
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/afs.c.diff?r1=1.1.2.2&r2=1.1.2.3
util_sec.c		1.17.2.2 => 1.17.2.3
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util_sec.c.diff?r1=1.17.2.2&r2=1.17.2.3



More information about the samba-cvs mailing list