mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
This extra check isn't needed, we can only get here if secuirty=domain
(This used to be commit 600d83e43f
)
This commit is contained in:
parent
e903a34b2e
commit
2d07327a95
@ -36,9 +36,6 @@ NTSTATUS check_domain_security(const auth_usersupplied_info *user_info,
|
||||
unsigned char trust_passwd[16];
|
||||
time_t last_change_time;
|
||||
|
||||
if(lp_security() != SEC_DOMAIN)
|
||||
return NT_STATUS_LOGON_FAILURE;
|
||||
|
||||
become_root();
|
||||
|
||||
/*
|
||||
|
@ -36,9 +36,6 @@ NTSTATUS check_domain_security(const auth_usersupplied_info *user_info,
|
||||
unsigned char trust_passwd[16];
|
||||
time_t last_change_time;
|
||||
|
||||
if(lp_security() != SEC_DOMAIN)
|
||||
return NT_STATUS_LOGON_FAILURE;
|
||||
|
||||
become_root();
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user