r2030: quick hack to allow the simple NTVFS backend to handler base directories with...
authorAndrew Tridgell <tridge@samba.org>
Tue, 24 Aug 2004 23:58:00 +0000 (23:58 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:58:18 +0000 (12:58 -0500)
(This used to be commit efecc3306efb17f586b781112886d9416b355d65)

source4/ntvfs/simple/svfs_util.c

index 1949ecb23553361a5ae310784d1fc08abfe9437a..14ffc6d19c7a113cfbf4259680af16687abd7297 100644 (file)
@@ -41,7 +41,7 @@ char *svfs_unix_path(struct smbsrv_request *req, const char *name)
        }
        all_string_sub(ret, "\\", "/", 0);
 
-       strlower(ret);
+       strlower(ret + strlen(private->connectpath));
 
        return ret;
 }