Win9x & Samba 2.0.5a (PR#19465)

Jeremy Allison jallison at cthulhu.engr.sgi.com
Wed Aug 4 23:03:42 GMT 1999


brianm at et.byu.edu wrote:
> 
> We have a system that uses SAMBA on HPUX 10.20 systems as servers and
> primarily NT4 Clients.  We do however, have a few 9x boxes.  We are
> running with Encryption on the servers, so no modifications are made to
> the registries of either types of windows boxes.
> 
> This is my problem:  We were running fine on 2.0.3, but when I upgraded
> the binaries to 2.0.5a, the 9x boxes could no longer see any files
> through explorer.  They can create files, but then they immediately
> disappear from view.  Watching from the unix side, they are there and
> everything is fine.  Ditto from an NT box.  If a 9x user then uses an
> MSDOS window and views the file(s), they are all there.  Back-revving
> the binaries to 2.0.3 solves the problem.  I have also duplicated this
> problem on my RH6.0 box at home talking to a 98 box.
> 
> Can anyone clue me in as to what might be happening?

Do you have the line "nt smb suport=no" in
your smb.conf ?

If so you need the following patch to allow Win9x explorer
clients to see files not containing a dot.

Sorry for the problem,

Jeremy Allison,
Samba Team.

Index: lib/util.c
===================================================================
RCS file: /data/cvs/samba/source/lib/util.c,v
retrieving revision 1.218.2.18.2.14
diff -u -r1.218.2.18.2.14 util.c
--- util.c      1999/07/22 01:47:02     1.218.2.18.2.14
+++ util.c      1999/07/22 19:04:15
@@ -1430,7 +1430,7 @@
          */
 
         if (win9x_semantics) {
-          if (*cp2 == '\0' && (strequal(cp1, "*") || str_is_all(cp1, '?')))
+          if (*cp2 == '\0' && str_is_all(cp1, '?'))
             break;
         }
-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------


More information about the samba mailing list