summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_netlog.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-04-22 17:59:44 +0000
committerJeremy Allison <jra@samba.org>1998-04-22 17:59:44 +0000
commitda4e61efad7c7c18595bec32dbb21a2045dadd2e (patch)
tree14e5f28c64acfccb263db5bbf7454423b33566cc /source3/rpc_server/srv_netlog.c
parent8584c6bd6621eefb49aff69581caf28e38b4ceda (diff)
downloadsamba-da4e61efad7c7c18595bec32dbb21a2045dadd2e.tar.gz
samba-da4e61efad7c7c18595bec32dbb21a2045dadd2e.tar.bz2
samba-da4e61efad7c7c18595bec32dbb21a2045dadd2e.zip
Fixed bug found by Gerald Carter <cartegw@Eng.Auburn.EDU> where
global myname was being overwritten incorrectly. Jeremy. (This used to be commit a3e7cf1b8a2fc950d41f5f2d5318cf88874165cd)
Diffstat (limited to 'source3/rpc_server/srv_netlog.c')
-rw-r--r--source3/rpc_server/srv_netlog.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_netlog.c b/source3/rpc_server/srv_netlog.c
index cbe35e5202..83e590a14b 100644
--- a/source3/rpc_server/srv_netlog.c
+++ b/source3/rpc_server/srv_netlog.c
@@ -693,8 +693,6 @@ static void api_net_sam_logon( int uid,
dummy_time.low = 0xffffffff;
dummy_time.high = 0x7fffffff;
- get_myname(myname, NULL);
-
/* XXXX hack to get standard_sub_basic() to use sam logon username */
/* possibly a better way would be to do a become_user() call */
sam_logon_in_ssb = True;