summaryrefslogtreecommitdiff
path: root/source3/rpc_server
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
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')
-rw-r--r--source3/rpc_server/srv_netlog.c2
-rw-r--r--source3/rpc_server/srv_srvsvc.c1
-rw-r--r--source3/rpc_server/srv_wkssvc.c1
3 files changed, 0 insertions, 4 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;
diff --git a/source3/rpc_server/srv_srvsvc.c b/source3/rpc_server/srv_srvsvc.c
index 285ea89657..236b70dc82 100644
--- a/source3/rpc_server/srv_srvsvc.c
+++ b/source3/rpc_server/srv_srvsvc.c
@@ -859,7 +859,6 @@ static void srv_reply_net_srv_get_info(SRV_Q_NET_SRV_GET_INFO *q_n,
SRV_INFO_CTR ctr;
extern pstring myname;
- get_myname(myname,NULL);
DEBUG(5,("srv_net_srv_get_info: %d\n", __LINE__));
diff --git a/source3/rpc_server/srv_wkssvc.c b/source3/rpc_server/srv_wkssvc.c
index 3dd273f784..8a8647d0a9 100644
--- a/source3/rpc_server/srv_wkssvc.c
+++ b/source3/rpc_server/srv_wkssvc.c
@@ -40,7 +40,6 @@ static void create_wks_info_100(WKS_INFO_100 *inf)
DEBUG(5,("create_wks_info_100: %d\n", __LINE__));
- get_myname(myname, NULL);
pstrcpy (my_name, myname);
strupper(my_name);