Second part of a fix for bug #6235.
authorJeremy Allison <jra@samba.org>
Fri, 2 Oct 2009 10:23:32 +0000 (12:23 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 7 Oct 2009 06:54:49 +0000 (08:54 +0200)
Domain enumeration breaks if master browser has space in name.
(cherry picked from commit d984b39d971b7fc8f66e6c5376a2b7a98dfc20d8)

source/libsmb/libsmb_dir.c

index 8846abb9f6b38e9ea61b6722d8251d2bfe19dda3..d238ab9a192b15ebf3dee34eab1c2ecbab5ebf02 100644 (file)
@@ -625,7 +625,7 @@ SMBC_opendir_ctx(SMBCCTX *context,
                                /*
                                 * Get the backup list ...
                                 */
-                               if (!name_status_find(server, 00,
+                               if (!name_status_find(server, 0x20, 0x20,
                                                       &rem_ss, buserver)) {
 
                                         DEBUG(0,("Could not get name of "