From: Jeremy Allison Date: Mon, 28 Sep 2009 18:23:30 +0000 (-0700) Subject: Second part of fix for bug #6235 - domain enumeration breaks if master browser has... X-Git-Tag: talloc-2.0.1~315 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=2e989bab0764c298a2530a2d4c8690258eba210c 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. --- 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 "