diff options
author | Luk Claes <luk@debian.org> | 2012-05-19 18:23:40 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-05-28 14:49:46 +0200 |
commit | 3c9c06ac05635dc0af3b29b15c3f568cbf57afdd (patch) | |
tree | c4eb482f08b98ab8cf81ddf6d06fcaa5d7fa5796 /source3/libsmb/clidfs.c | |
parent | d8c0646a5db34a390ceeb853e50c2d098b992c85 (diff) | |
download | samba-3c9c06ac05635dc0af3b29b15c3f568cbf57afdd.tar.gz |
s3:libsmb: get rid of cli_state_capabilities
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/libsmb/clidfs.c')
-rw-r--r-- | source3/libsmb/clidfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c index 97b6ec0d486..1eaec45eabd 100644 --- a/source3/libsmb/clidfs.c +++ b/source3/libsmb/clidfs.c @@ -208,7 +208,7 @@ static NTSTATUS do_connect(TALLOC_CTX *ctx, here before trying to connect to the original share. cli_check_msdfs_proxy() will fail if it is a normal share. */ - if ((cli_state_capabilities(c) & CAP_DFS) && + if ((smb1cli_conn_capabilities(c->conn) & CAP_DFS) && cli_check_msdfs_proxy(ctx, c, sharename, &newserver, &newshare, force_encrypt, @@ -596,10 +596,10 @@ static bool cli_dfs_check_error(struct cli_state *cli, NTSTATUS expected, { /* only deal with DS when we negotiated NT_STATUS codes and UNICODE */ - if (!(cli_state_capabilities(cli) & CAP_UNICODE)) { + if (!(smb1cli_conn_capabilities(cli->conn) & CAP_UNICODE)) { return false; } - if (!(cli_state_capabilities(cli) & CAP_STATUS32)) { + if (!(smb1cli_conn_capabilities(cli->conn) & CAP_STATUS32)) { return false; } if (NT_STATUS_EQUAL(status, expected)) { |