summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_netlog_nt.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_server/srv_netlog_nt.c')
-rw-r--r--source3/rpc_server/srv_netlog_nt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c
index 5cf8f6732e..d878e2db58 100644
--- a/source3/rpc_server/srv_netlog_nt.c
+++ b/source3/rpc_server/srv_netlog_nt.c
@@ -548,9 +548,7 @@ static uint32 _net_logon_any(NET_ID_INFO_CTR *ctr, char *user, char *domain, cha
return NT_STATUS_INVALID_INFO_CLASS;
} /* end switch */
- become_root();
nt_status = check_password(&user_info, &server_info);
- unbecome_root();
DEBUG(5, ("_net_logon_any: exited with status %d\n", nt_status));