r26435: Remove global_loadparm instance.
[jelmer/samba4-debian.git] / source / winbind / wb_dom_info.c
index 05b63e67c8ac99eac966d63e4a0d8636557fc482..7558fc9d623d181c92c49358a0f64862498979c2 100644 (file)
@@ -68,6 +68,7 @@ struct composite_context *wb_get_dom_info_send(TALLOC_CTX *mem_ctx,
        if (dom_sid == NULL) goto failed;
 
        ctx = finddcs_send(mem_ctx, lp_netbios_name(service->task->lp_ctx),
+                          lp_nbt_port(service->task->lp_ctx),
                           domain_name, NBT_NAME_LOGON, 
                           dom_sid, 
                           lp_resolve_context(service->task->lp_ctx),