From 641e12561ad863f8bff8c3a98485a010c138ec30 Mon Sep 17 00:00:00 2001 From: Derrell Lipman Date: Mon, 27 Apr 2009 09:27:52 -0400 Subject: [FIX Bug 6235] domain enumeration breaks if master browser has space in name Jeremy: please review to ensure this doesn't appear to break anything The function name_status_find() is documented as used for finding a server's name given its IP address. It was, however, looking for the first matching name which could be a group name at times. This fix ensures that group names are skipped when scanning for a matching name. Derrell --- source3/libsmb/namequery.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c index 19d89ce363..50fb9f1620 100644 --- a/source3/libsmb/namequery.c +++ b/source3/libsmb/namequery.c @@ -408,7 +408,8 @@ bool name_status_find(const char *q_name, goto done; for (i=0;i