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

Gerald Carter gcarter at valinux.com
Thu Feb 8 20:36:14 GMT 2001


Richard Bollinger wrote:
> 
> 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)) {

I'm checking this and the MS-DOS client patch (????????.??? == *)
in now.





Cheers, jerry

-- 
----------------------------------------------------------------------
   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com/  VA Linux Systems   gcarter at valinux.com
       http://www.samba.org/       SAMBA Team          jerry at samba.org
       http://www.plainjoe.org/                     jerry at plainjoe.org

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )




More information about the samba-technical mailing list