From 59d415f43f72146b15a721e928cf346777239bfc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 14 Sep 2010 20:10:51 +1000 Subject: s4-finddc: use NBT lookup for a 1C name if joining a short domain name once we get the 1C lookup reply, use a CLDAP query to find the details for the server Pair-Programmed-With: Andrew Bartlett --- source4/winbind/wb_dom_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/winbind') diff --git a/source4/winbind/wb_dom_info.c b/source4/winbind/wb_dom_info.c index bd1f3c5ff6..d2ce8a9f0a 100644 --- a/source4/winbind/wb_dom_info.c +++ b/source4/winbind/wb_dom_info.c @@ -70,7 +70,7 @@ struct composite_context *wb_get_dom_info_send(TALLOC_CTX *mem_ctx, if (dom_sid == NULL) goto failed; ZERO_STRUCT(finddcs_io); - finddcs_io.in.dns_domain_name = dns_domain_name; + finddcs_io.in.domain_name = dns_domain_name; finddcs_io.in.domain_sid = dom_sid; finddcs_io.in.minimum_dc_flags = NBT_SERVER_LDAP | NBT_SERVER_DS; if (service->sec_channel_type == SEC_CHAN_RODC) { -- cgit