From 8b1a2144feddc12e818938f025d3ab62f3e3426b Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 6 Aug 2013 11:10:04 +0200 Subject: s3-netlogon: Connecting with the system token should be sufficient. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Schneider Reviewed-by: Günther Deschner Autobuild-User(master): Günther Deschner Autobuild-Date(master): Tue Aug 6 18:22:06 CEST 2013 on sn-devel-104 --- source3/rpc_server/netlogon/srv_netlog_nt.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source3/rpc_server') diff --git a/source3/rpc_server/netlogon/srv_netlog_nt.c b/source3/rpc_server/netlogon/srv_netlog_nt.c index 4f66dfe0de..53eff5fcb4 100644 --- a/source3/rpc_server/netlogon/srv_netlog_nt.c +++ b/source3/rpc_server/netlogon/srv_netlog_nt.c @@ -698,12 +698,10 @@ static NTSTATUS get_md4pw(struct samr_Password *md4pw, const char *mach_acct, goto out; } - become_root(); status = samr_find_machine_account(mem_ctx, h, mach_acct, SEC_FLAG_MAXIMUM_ALLOWED, &domain_sid, &user_rid, &user_handle); - unbecome_root(); if (!NT_STATUS_IS_OK(status)) { goto out; } -- cgit