MSDfs and substitutions/default service..

Kevin Wheatley hxpro at cinesite.co.uk
Fri May 10 01:30:02 GMT 2002


Shirish Kalele wrote:
> 
> There was a superfluous string_sub in the previous patch. Try this one
> instead when you get a chance..

Looks promising, I'm also using something like the patch below to
allow for upper case in the path to the links under Win2K.

My first tests show it working, I'll give it a bigger test today.

Thanks

Kevin

--- msdfs.c.orig        Fri May 10 08:50:02 2002
+++ msdfs.c     Fri May 10 08:53:41 2002
@@ -164,8 +166,9 @@
 
        if (!path || !conn)
                return False;
-
-       strlower(path);
+       /* HACK: support lowercase links for Win95, leave everything
else as is */
+       if (get_remote_arch() == RA_WIN95) 
+               strlower(path);
 
        if (sbufp == NULL)
                sbufp = &st;

-- 
| Kevin Wheatley              | These are the opinions of nobody   |
| Special Services (Projects) | and are not shared by my employers |
| Cinesite Digital Studios    |                                    |




More information about the samba-technical mailing list