From f3b8e31f83c44f1e72b15711542d817af7ec9506 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 13 Apr 2010 18:41:14 -0700 Subject: Split out the client unix capabilities to those the server offered, and those the client asked for. This fixes a bug when using encrypted transport and DFS links. Found by my basic DFS torture test, which I'll check in next. Testing *rocks* :-). Jeremy. --- source3/client/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/client/client.c') diff --git a/source3/client/client.c b/source3/client/client.c index 7dc412fe3a..13617155c7 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -332,7 +332,7 @@ static int cmd_pwd(void) static void normalize_name(char *newdir) { - if (!(cli->posix_capabilities & CIFS_UNIX_POSIX_PATHNAMES_CAP)) { + if (!(cli->requested_posix_capabilities & CIFS_UNIX_POSIX_PATHNAMES_CAP)) { string_replace(newdir,'/','\\'); } } -- cgit