The Samba-Bugzilla – Attachment 12252 Details for
Bug 12002
hosts not a valid value for name resolve order with ads security
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for master.
0001-s3-libsmb-Ensure-hosts-and-hosts-are-both-accepted-a.patch (text/plain), 1.09 KB, created by
Jeremy Allison
on 2016-07-01 20:14:58 UTC
(
hide
)
Description:
git-am fix for master.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2016-07-01 20:14:58 UTC
Size:
1.09 KB
patch
obsolete
>From 17c67633521aa3867c7ed97e4958a9c4063bfa8c Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Fri, 1 Jul 2016 13:02:05 -0700 >Subject: [PATCH] s3: libsmb: Ensure "hosts" and "hosts" are both accepted as > name resolution backends in get_dc_list(). > >This matches the internal logic in internal_resolve_name(). > >Reported by Nick Bertrand <samba@nickbertrand.com> > >https://bugzilla.samba.org/show_bug.cgi?id=12002 > >Signed-off-by: Jeremy Allison <jra@samba.org> >--- > source3/libsmb/namequery.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c >index 4709c03..818297b 100644 >--- a/source3/libsmb/namequery.c >+++ b/source3/libsmb/namequery.c >@@ -3073,7 +3073,8 @@ static NTSTATUS get_dc_list(const char *domain, > goto out; > } > if (lookup_type == DC_ADS_ONLY) { >- if (str_list_check_ci(resolve_order, "host")) { >+ if (str_list_check_ci(resolve_order, "host") || >+ str_list_check_ci(resolve_order, "hosts")) { > static const char *ads_order[] = { "ads", NULL }; > resolve_order = ads_order; > >-- >2.8.0.rc3.226.g39d4020 >
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 12002
: 12252