From 01df1ed95f880a671ead7bc92b3bcff01a2e2dc0 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 7 May 1998 19:04:14 +0000 Subject: 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) --- source3/smbd/uid.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source3/smbd/uid.c') 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())); -- cgit