diff options
author | Andrew Bartlett <abartlet@samba.org> | 2001-11-11 11:11:56 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2001-11-11 11:11:56 +0000 |
commit | 2d07327a9595908370b901d52a85355fc668dcad (patch) | |
tree | b2e82f555cf852836b8e68f8cb4c7951d2f39a70 | |
parent | e903a34b2ecf6bca515dbe57274f4186d7f3955e (diff) | |
download | samba-2d07327a9595908370b901d52a85355fc668dcad.tar.gz samba-2d07327a9595908370b901d52a85355fc668dcad.tar.bz2 samba-2d07327a9595908370b901d52a85355fc668dcad.zip |
This extra check isn't needed, we can only get here if secuirty=domain
(This used to be commit 600d83e43f61eb138115731ce089ba42d63e0924)
-rw-r--r-- | source3/auth/auth_domain.c | 3 | ||||
-rw-r--r-- | source3/smbd/auth_domain.c | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c index f20da19607..4ada7d4a56 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 f20da19607..4ada7d4a56 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(); /* |