diff options
author | Jeremy Allison <jra@samba.org> | 1998-05-07 19:04:14 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-05-07 19:04:14 +0000 |
commit | 01df1ed95f880a671ead7bc92b3bcff01a2e2dc0 (patch) | |
tree | 7cb5a01b50e86b2e7129aa67e63ef47a24b72a04 /source3/smbd/uid.c | |
parent | d8d9f7723337c267a8740750fe19a6387cfbb1f6 (diff) | |
download | samba-01df1ed95f880a671ead7bc92b3bcff01a2e2dc0.tar.gz samba-01df1ed95f880a671ead7bc92b3bcff01a2e2dc0.tar.bz2 samba-01df1ed95f880a671ead7bc92b3bcff01a2e2dc0.zip |
This should (hopefully :-) be the final fix for the %U %G substitution
problem....
smbpass.c: Removed Luke's dire warning - as some of the functions in here
*need* to be called externally :-).
Jeremy.
(This used to be commit 1fd8d12ca414066acec71b33eb8a13e16c2acd3a)
Diffstat (limited to 'source3/smbd/uid.c')
-rw-r--r-- | source3/smbd/uid.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c index c01fa1b052..a8e340e46f 100644 --- a/source3/smbd/uid.c +++ b/source3/smbd/uid.c @@ -28,7 +28,6 @@ static int initial_gid; /* what user is current? */ struct current_user current_user; -extern pstring sesssetup_user; pstring OriginalDir; @@ -278,11 +277,6 @@ BOOL become_user(connection_struct *conn, int cnum, uint16 vuid) current_user.cnum = cnum; current_user.vuid = vuid; - /* Ensure sesssetup_user is set correctly if we are using - user security. */ - if(vuser != NULL) - pstrcpy( sesssetup_user, vuser->requested_name); - DEBUG(5,("become_user uid=(%d,%d) gid=(%d,%d)\n", getuid(),geteuid(),getgid(),getegid())); |