summaryrefslogtreecommitdiff
path: root/source4/libcli/finddc.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-23 19:49:12 -0700
committerAndrew Tridgell <tridge@samba.org>2010-09-25 10:38:45 -0700
commita360428588467c29e8eb40b27a9db525d4c2ea96 (patch)
tree7d928d7fa62161b9e06b39509742f6fc5b079ff5 /source4/libcli/finddc.h
parentbd228f98588919880ca3a9e4c1f23e17ce78aca5 (diff)
downloadsamba-a360428588467c29e8eb40b27a9db525d4c2ea96.tar.gz
samba-a360428588467c29e8eb40b27a9db525d4c2ea96.tar.bz2
samba-a360428588467c29e8eb40b27a9db525d4c2ea96.zip
s4-finddcs: allow override of server IP address
this will be used to implement --ipaddress option to net commands Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/libcli/finddc.h')
-rw-r--r--source4/libcli/finddc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/libcli/finddc.h b/source4/libcli/finddc.h
index 3f1caf9ce5..86e2f2c231 100644
--- a/source4/libcli/finddc.h
+++ b/source4/libcli/finddc.h
@@ -27,6 +27,8 @@ struct finddcs {
const char *site_name; /* optional */
struct dom_sid *domain_sid; /* optional */
uint32_t minimum_dc_flags; /* DS_SERVER_* */
+ const char *server_address; /* optional, bypass name
+ resolution */
} in;
struct {
const char *address; /* IP address of server */