diff options
-rw-r--r-- | source3/rpc_server/srv_netlog.c | 2 | ||||
-rw-r--r-- | source3/rpc_server/srv_srvsvc.c | 1 | ||||
-rw-r--r-- | source3/rpc_server/srv_wkssvc.c | 1 |
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); |