diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c index f20da196076..4ada7d4a56e 100644 --- a/source3/auth/auth_domain.c +++ b/source3/auth/auth_domain.c @@ -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(); /* diff --git a/source3/smbd/auth_domain.c b/source3/smbd/auth_domain.c index f20da196076..4ada7d4a56e 100644 --- a/source3/smbd/auth_domain.c +++ b/source3/smbd/auth_domain.c @@ -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(); /*