[PATCH] winbindd: Use the right flags in dsgetdcname
Volker Lendecke
Volker.Lendecke at SerNet.DE
Fri Feb 14 03:18:39 MST 2014
Hi!
This makes winbind match what libwbclient sets, see
nsswitch/libwbclient/wbc_util.c:711.
Review would be appreciated!
Thanks,
Volker
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
-------------- next part --------------
From c4c510c0f8f8d8a620811c0725e16730194a6797 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Fri, 14 Feb 2014 10:14:15 +0000
Subject: [PATCH] winbindd: Use the right flags in dsgetdcname
Signed-off-by: Volker Lendecke <vl at samba.org>
---
source3/winbindd/winbindd_dsgetdcname.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/source3/winbindd/winbindd_dsgetdcname.c b/source3/winbindd/winbindd_dsgetdcname.c
index 003301c..dcf574d 100644
--- a/source3/winbindd/winbindd_dsgetdcname.c
+++ b/source3/winbindd/winbindd_dsgetdcname.c
@@ -57,7 +57,7 @@ struct tevent_req *winbindd_dsgetdcname_send(TALLOC_CTX *mem_ctx,
DEBUG(3, ("[%5lu]: dsgetdcname for %s\n", (unsigned long)cli->pid,
request->data.dsgetdcname.domain_name));
- ds_flags = get_dsgetdc_flags(request->flags);
+ ds_flags = get_dsgetdc_flags(request->data.dsgetdcname.flags);
status = GUID_from_string(request->data.dsgetdcname.domain_guid,
&state->guid);
--
1.7.2.5
More information about the samba-technical
mailing list