diff options
author | Jeremy Allison <jra@samba.org> | 1998-04-22 17:59:44 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-04-22 17:59:44 +0000 |
commit | a3e7cf1b8a2fc950d41f5f2d5318cf88874165cd (patch) | |
tree | f35c4128a8c5bae8cd2269392b43072a0ed1ec6b | |
parent | e6bda112ebe0d41f54c4249b5c2e1f24011347e1 (diff) | |
download | samba-a3e7cf1b8a2fc950d41f5f2d5318cf88874165cd.tar.gz samba-a3e7cf1b8a2fc950d41f5f2d5318cf88874165cd.tar.xz samba-a3e7cf1b8a2fc950d41f5f2d5318cf88874165cd.zip |
Fixed bug found by Gerald Carter <cartegw@Eng.Auburn.EDU> where
global myname was being overwritten incorrectly.
Jeremy.
-rw-r--r-- | source/rpc_server/srv_netlog.c | 2 | ||||
-rw-r--r-- | source/rpc_server/srv_srvsvc.c | 1 | ||||
-rw-r--r-- | source/rpc_server/srv_wkssvc.c | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/source/rpc_server/srv_netlog.c b/source/rpc_server/srv_netlog.c index cbe35e5202b..83e590a14b1 100644 --- a/source/rpc_server/srv_netlog.c +++ b/source/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/source/rpc_server/srv_srvsvc.c b/source/rpc_server/srv_srvsvc.c index 285ea896574..236b70dc82e 100644 --- a/source/rpc_server/srv_srvsvc.c +++ b/source/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/source/rpc_server/srv_wkssvc.c b/source/rpc_server/srv_wkssvc.c index 3dd273f784a..8a8647d0a91 100644 --- a/source/rpc_server/srv_wkssvc.c +++ b/source/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); |