Bug fix needs verification by guru
derrell at samba.org
derrell at samba.org
Mon Jun 19 01:31:10 GMT 2006
Jeremy, this patch apparently fixes bug 3814. It has much more wide-ranging
implications, though, so I'd appreciate you looking at it to ensure it
shouldn't break anything. Let me know if it looks proper, and I'll check it
in.
Thanks,
Derrell
=== libsmb/clientgen.c
==================================================================
--- libsmb/clientgen.c (revision 15799)
+++ libsmb/clientgen.c (local)
@@ -198,7 +198,7 @@
flags2 = FLAGS2_LONG_PATH_COMPONENTS;
if (cli->capabilities & CAP_UNICODE)
flags2 |= FLAGS2_UNICODE_STRINGS;
- if (cli->capabilities & CAP_DFS)
+ if ((cli->capabilities & CAP_DFS) && cli->dfsroot)
flags2 |= FLAGS2_DFS_PATHNAMES;
if (cli->capabilities & CAP_STATUS32)
flags2 |= FLAGS2_32_BIT_ERROR_CODES;
More information about the samba-technical
mailing list