git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dea2ab
)
r16356: Helping derrell out. Jeremy.
author
Jeremy Allison
<jra@samba.org>
Mon, 19 Jun 2006 17:23:54 +0000
(17:23 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:18:48 +0000
(11:18 -0500)
Only set the DFS capability flag if the share is a DFS root. Fixes bug 3814.
source/libsmb/clientgen.c
patch
|
blob
|
history
diff --git
a/source/libsmb/clientgen.c
b/source/libsmb/clientgen.c
index 83664b0b328d13a6be4eeb16a3486c19f1fb8713..f5116234c8396f8e0ea14476fa7f6679c97e7784 100644
(file)
--- a/
source/libsmb/clientgen.c
+++ b/
source/libsmb/clientgen.c
@@
-198,7
+198,7
@@
void cli_setup_packet(struct cli_state *cli)
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;