The Samba-Bugzilla – Attachment 13895 Details for
Bug 13206
Unable to authenticate with an empty string domain ''
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for master
0001-auth_sam-Allow-domain-when-logging-in.patch (text/plain), 910 bytes, created by
Garming Sam
on 2018-01-08 03:42:52 UTC
(
hide
)
Description:
patch for master
Filename:
MIME Type:
Creator:
Garming Sam
Created:
2018-01-08 03:42:52 UTC
Size:
910 bytes
patch
obsolete
>From 114d4dbcd14f69ce4807612adc691aa5a049ccb2 Mon Sep 17 00:00:00 2001 >From: Garming Sam <garming@catalyst.net.nz> >Date: Mon, 18 Dec 2017 00:58:08 +0000 >Subject: [PATCH] auth_sam: Allow domain '' when logging in > >Signed-off-by: Garming Sam <garming@catalyst.net.nz> >--- > source4/auth/ntlm/auth_sam.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/source4/auth/ntlm/auth_sam.c b/source4/auth/ntlm/auth_sam.c >index 24fe167..67102a0 100644 >--- a/source4/auth/ntlm/auth_sam.c >+++ b/source4/auth/ntlm/auth_sam.c >@@ -792,7 +792,7 @@ static NTSTATUS authsam_want_check(struct auth_method_context *ctx, > > p = strchr_m(user_info->mapped.account_name, '@'); > if (p == NULL) { >- if (effective_domain == NULL) { >+ if (effective_domain == NULL || strequal(effective_domain, "")) { > return NT_STATUS_OK; > } > DEBUG(6,("authsam_check_password: '' without upn not handled (DC)\n")); >-- >2.7.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 13206
:
13895
|
13896
|
13897
|
13995
|
14060
|
14061