diff options
author | Volker Lendecke <vlendec@samba.org> | 2003-10-23 16:51:08 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2003-10-23 16:51:08 +0000 |
commit | a36be30e082d0208ca8b6215928069e9f3d4f7b0 (patch) | |
tree | 43286adde3bf768f8fa4f0e096a21322f18d5e17 /source3/tdb/tdbtorture.c | |
parent | 2a09fe6cb4e31e46dd92052bbc134629b4ae8fda (diff) | |
download | samba-a36be30e082d0208ca8b6215928069e9f3d4f7b0.tar.gz samba-a36be30e082d0208ca8b6215928069e9f3d4f7b0.tar.bz2 samba-a36be30e082d0208ca8b6215928069e9f3d4f7b0.zip |
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.
Volker
(This used to be commit 8a75e2dfb6ee9099e7f9a970c522e71ab144d919)
Diffstat (limited to 'source3/tdb/tdbtorture.c')
0 files changed, 0 insertions, 0 deletions