summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/auth/auth_domain.c3
-rw-r--r--source3/smbd/auth_domain.c3
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();
/*