git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d3c197
)
auth_ntdomain3: Correctly handle !authoritative
author
Volker Lendecke
<vl@samba.org>
Sun, 12 Feb 2017 18:20:07 +0000
(19:20 +0100)
committer
Jeremy Allison
<jra@samba.org>
Fri, 10 Mar 2017 02:28:26 +0000
(
03:28
+0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/auth/auth_domain.c
patch
|
blob
|
history
diff --git
a/source3/auth/auth_domain.c
b/source3/auth/auth_domain.c
index d663923cfae03af8fb9118212ecdfe8cc4c4bc20..b3ff51806e37be017cdd8ce7dbf35573ca781bdc 100644
(file)
--- a/
source3/auth/auth_domain.c
+++ b/
source3/auth/auth_domain.c
@@
-229,6
+229,10
@@
static NTSTATUS domain_client_validate(TALLOC_CTX *mem_ctx,
if (NT_STATUS_EQUAL(nt_status, NT_STATUS_UNSUCCESSFUL)) {
nt_status = NT_STATUS_NO_LOGON_SERVERS;
}
+ if (NT_STATUS_EQUAL(nt_status, NT_STATUS_NO_SUCH_USER) &&
+ (authoritative == 0)) {
+ nt_status = NT_STATUS_NOT_IMPLEMENTED;
+ }
} else {
nt_status = make_server_info_info3(mem_ctx,
user_info->client.account_name,