summaryrefslogtreecommitdiff
path: root/source3/auth/auth_domain.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-11-11 11:11:56 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-11-11 11:11:56 +0000
commit2d07327a9595908370b901d52a85355fc668dcad (patch)
treeb2e82f555cf852836b8e68f8cb4c7951d2f39a70 /source3/auth/auth_domain.c
parente903a34b2ecf6bca515dbe57274f4186d7f3955e (diff)
downloadsamba-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)
Diffstat (limited to 'source3/auth/auth_domain.c')
-rw-r--r--source3/auth/auth_domain.c3
1 files changed, 0 insertions, 3 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();
/*