summaryrefslogtreecommitdiff
path: root/source4/winbind
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-07 13:30:23 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:48:45 +0100
commit949f3c726452a59555236f9fdda52e79c3e5832b (patch)
tree177f819912951d249aa0854a87fd986f2d7cce81 /source4/winbind
parent6c01f55e72b77090c6e1c0cd30c881951ce4fc4a (diff)
downloadsamba-949f3c726452a59555236f9fdda52e79c3e5832b.tar.gz
samba-949f3c726452a59555236f9fdda52e79c3e5832b.tar.bz2
samba-949f3c726452a59555236f9fdda52e79c3e5832b.zip
r26333: No more global_loadparm in finddcs.
(This used to be commit 0c91026e587ca74692bc9223a6b5493e35943aee)
Diffstat (limited to 'source4/winbind')
-rw-r--r--source4/winbind/wb_dom_info.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/winbind/wb_dom_info.c b/source4/winbind/wb_dom_info.c
index 99538bfb00..e53e3d827b 100644
--- a/source4/winbind/wb_dom_info.c
+++ b/source4/winbind/wb_dom_info.c
@@ -67,7 +67,8 @@ struct composite_context *wb_get_dom_info_send(TALLOC_CTX *mem_ctx,
dom_sid = dom_sid_dup(mem_ctx, sid);
if (dom_sid == NULL) goto failed;
- ctx = finddcs_send(mem_ctx, domain_name, NBT_NAME_LOGON,
+ ctx = finddcs_send(mem_ctx, lp_netbios_name(service->task->lp_ctx),
+ domain_name, NBT_NAME_LOGON,
dom_sid,
lp_name_resolve_order(service->task->lp_ctx),
service->task->event_ctx,