From: Andrew Bartlett Date: Sun, 12 Aug 2001 12:23:50 +0000 (+0000) Subject: Kill of idra's extra become_root()/unbecome_root() now I have fixed the actual X-Git-Tag: samba-2.2.5pre1~1555^2~163 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=895d1cd317d0838d711474f2f19186444a88b52c;p=thirdparty%2Fsamba.git Kill of idra's extra become_root()/unbecome_root() now I have fixed the actual problem. Andrew Bartlett --- diff --git a/source/rpc_server/srv_netlog_nt.c b/source/rpc_server/srv_netlog_nt.c index 5cf8f6732eb..d878e2db58b 100644 --- a/source/rpc_server/srv_netlog_nt.c +++ b/source/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));