summaryrefslogtreecommitdiffstats
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
commit600d83e43f61eb138115731ce089ba42d63e0924 (patch)
tree2970a2dd91eccafda079a07279042b4ceb912902
parent80667cb0dd1a2cdef17711c8580af9f524971cea (diff)
downloadsamba-600d83e43f61eb138115731ce089ba42d63e0924.tar.gz
samba-600d83e43f61eb138115731ce089ba42d63e0924.tar.xz
samba-600d83e43f61eb138115731ce089ba42d63e0924.zip
This extra check isn't needed, we can only get here if secuirty=domain
-rw-r--r--source/auth/auth_domain.c3
-rw-r--r--source/smbd/auth_domain.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/source/auth/auth_domain.c b/source/auth/auth_domain.c
index f20da196076..4ada7d4a56e 100644
--- a/source/auth/auth_domain.c
+++ b/source/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/source/smbd/auth_domain.c b/source/smbd/auth_domain.c
index f20da196076..4ada7d4a56e 100644
--- a/source/smbd/auth_domain.c
+++ b/source/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();
/*