summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-04-13 18:41:14 -0700
committerJeremy Allison <jra@samba.org>2010-04-13 18:41:14 -0700
commitf3b8e31f83c44f1e72b15711542d817af7ec9506 (patch)
treed2747a4497220392a2f12ac47cb4c6640eb2ac68 /source3/include
parent589a42e2da7d7cd382deb94c57b0c6dbca269e55 (diff)
downloadsamba-f3b8e31f83c44f1e72b15711542d817af7ec9506.tar.gz
samba-f3b8e31f83c44f1e72b15711542d817af7ec9506.tar.bz2
samba-f3b8e31f83c44f1e72b15711542d817af7ec9506.zip
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.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/client.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/include/client.h b/source3/include/client.h
index 457c02a18f..71232b35fa 100644
--- a/source3/include/client.h
+++ b/source3/include/client.h
@@ -248,7 +248,10 @@ struct cli_state {
int win95;
bool is_samba;
uint32 capabilities;
- uint32 posix_capabilities;
+ /* What the server offered. */
+ uint32_t server_posix_capabilities;
+ /* What the client requested. */
+ uint32_t requested_posix_capabilities;
bool dfsroot;
#if 0