mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
Kill of idra's extra become_root()/unbecome_root() now I have fixed the actual
problem. Andrew Bartlett
This commit is contained in:
@ -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;
|
return NT_STATUS_INVALID_INFO_CLASS;
|
||||||
} /* end switch */
|
} /* end switch */
|
||||||
|
|
||||||
become_root();
|
|
||||||
nt_status = check_password(&user_info, &server_info);
|
nt_status = check_password(&user_info, &server_info);
|
||||||
unbecome_root();
|
|
||||||
|
|
||||||
DEBUG(5, ("_net_logon_any: exited with status %d\n", nt_status));
|
DEBUG(5, ("_net_logon_any: exited with status %d\n", nt_status));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user