diff options
-rw-r--r-- | source3/libsmb/namequery.c | 8 |
1 files changed, 8 insertions, 0 deletions
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); +} |