From 1aaea2d3a7bdafa5fab7c9fd2c1b00fd8cb000c7 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 25 May 2007 11:59:52 +0000 Subject: r23141: Use the finddcs() library call rather than a winbind-specific version. (I created finddcs() from the winbind code a while back, so this finishes that work) Andrew Bartlett (This used to be commit 218b279a46a4ca739597936f0b67573599e6d375) --- source4/winbind/wb_server.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'source4/winbind/wb_server.h') diff --git a/source4/winbind/wb_server.h b/source4/winbind/wb_server.h index 7d334193d4..3e851fbccc 100644 --- a/source4/winbind/wb_server.h +++ b/source4/winbind/wb_server.h @@ -49,9 +49,8 @@ struct wb_dom_info { const char *dns_name; const struct dom_sid *sid; - const char *dc_name; - const char *dc_dns_name; - const char *dc_address; + int num_dcs; + struct nbt_dc_name *dcs; }; struct wbsrv_domain { @@ -59,6 +58,10 @@ struct wbsrv_domain { struct wb_dom_info *info; + /* Details for the server we are currently talking to */ + const char *dc_address; + const char *dc_name; + struct dcerpc_pipe *lsa_pipe; struct policy_handle *lsa_policy_handle; struct dcerpc_binding *lsa_binding; -- cgit