From 2e989bab0764c298a2530a2d4c8690258eba210c Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 28 Sep 2009 11:23:30 -0700 Subject: [PATCH] Second part of fix for bug #6235 - domain enumeration breaks if master browser has space in name. Ensure we ask for the #20 name as we're using it as a server. Jeremy. --- source3/libsmb/libsmb_dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/libsmb/libsmb_dir.c b/source3/libsmb/libsmb_dir.c index 7a6632ae4eb..436b3e8e03d 100644 --- a/source3/libsmb/libsmb_dir.c +++ b/source3/libsmb/libsmb_dir.c @@ -625,7 +625,7 @@ SMBC_opendir_ctx(SMBCCTX *context, /* * Get the backup list ... */ - if (!name_status_find(server, 0, 0, + if (!name_status_find(server, 0x20, 0x20, &rem_ss, buserver)) { DEBUG(0,("Could not get name of " -- 2.34.1