Broken Directory Handling in 2_2 CVS - Whats wrong? - Fixed!

Richard Bollinger rabollinger at home.com
Thu Feb 8 20:03:38 GMT 2001


It is a similar problem... solved with a similar patch (below).  I'm not sure this is the best place
to handle it, but "It works for me" (tm).

Thanks, Rich Bollinger

--- ../source/smbd/trans2.c Wed Jan 24 07:16:00 2001
+++ ./smbd/trans2.c Wed Jan 31 11:43:44 2001
@@ -376,6 +376,9 @@
     pstrcpy(fname,dname);

     if(!(got_match = *got_exact_match = exact_match(fname, mask, case_sensitive)))
+     if (!strcmp(mask, "*.*"))
+      got_match = True;
+     else
       got_match = mask_match(fname, mask, case_sensitive);

     if(!got_match && !is_8_3(fname, False)) {


----- Original Message -----
From: "John Quirk" <jbquirk at tpg.com.au>
To: "Richard Bollinger" <rabollinger at home.com>; <samba-technical at samba.org>
Sent: Monday, February 05, 2001 5:51 AM
Subject: Re: Broken Directory Handling in 2_2 CVS - Whats wrong?


>
>
> Richard Bollinger wrote:
>
> > Interesting - the problem seems to have been triggered by my selecting "nt smb support = No" in
my
> > smb.conf file.  I guess the answer is "don't do that" (tm).
> >
> > > From a DOS prompt "dir" shows all files and directories, but "dir *.*" only shows directories
and
> > > files with a dot in their names.  This does not match the behavior of a NT share from the same
> > > client.
> > >
>
> There was something similar reported on the samba-ntdom lists see link
>
> http://lists.samba.org/pipermail/samba-ntdom/2001-January/030981.html
>
> Not sure if its the same problem but might be worth a look.





More information about the samba-technical mailing list