From 2113e2ba08fc5e55c9f1b4d1f70d87683f48d4d3 Mon Sep 17 00:00:00 2001 From: Steve French Date: Wed, 7 Nov 2001 23:01:44 +0000 Subject: Add function to add those hosts who have added msbrowse (domain master browsers) (This used to be commit 3fd96a47543c268fd2828793df4006cc47a9e95b) --- source3/libsmb/namequery.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source3') diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c index 1e284aab19..18bab5e7fd 100644 --- a/source3/libsmb/namequery.c +++ b/source3/libsmb/namequery.c @@ -1176,3 +1176,11 @@ BOOL get_dc_list(BOOL pdc_only, char *group, struct in_addr **ip_list, int *coun { return internal_resolve_name(group, pdc_only ? 0x1B : 0x1C, ip_list, count); } + +/******************************************************** + Get the IP address list of the Domain Master Browsers + ********************************************************/ +BOOL get_dmb_list(struct in_addr **ip_list, int *count) +{ + return internal_resolve_name( MSBROWSE, 0x1, ip_list, count); +} -- cgit