Second part of fix for bug #6235 - domain enumeration breaks if master browser has...
authorJeremy Allison <jra@samba.org>
Mon, 28 Sep 2009 18:23:30 +0000 (11:23 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 28 Sep 2009 18:23:30 +0000 (11:23 -0700)
Ensure we ask for the #20 name as we're using it as a server.
Jeremy.

source3/libsmb/libsmb_dir.c

index 7a6632ae4eb6e6b0bb125bc6a67b118aa682ce07..436b3e8e03d83844cf8a7dec3d92be2a761d3edc 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 "