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/cliconnect.c | |
parent | d8c0646a5db34a390ceeb853e50c2d098b992c85 (diff) | |
download | samba-3c9c06ac05635dc0af3b29b15c3f568cbf57afdd.tar.gz samba-3c9c06ac05635dc0af3b29b15c3f568cbf57afdd.tar.xz samba-3c9c06ac05635dc0af3b29b15c3f568cbf57afdd.zip |
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/cliconnect.c')
-rw-r--r-- | source3/libsmb/cliconnect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index f61665b253d..3a4850d3d6f 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -346,7 +346,7 @@ static NTSTATUS cli_session_setup_lanman2(struct cli_state *cli, const char *use static uint32_t cli_session_setup_capabilities(struct cli_state *cli, uint32_t sesssetup_capabilities) { - uint32_t client_capabilities = cli_state_capabilities(cli); + uint32_t client_capabilities = smb1cli_conn_capabilities(cli->conn); /* * We only send capabilities based on the mask for: @@ -2108,7 +2108,7 @@ NTSTATUS cli_session_setup(struct cli_state *cli, /* if the server supports extended security then use SPNEGO */ - if (cli_state_capabilities(cli) & CAP_EXTENDED_SECURITY) { + if (smb1cli_conn_capabilities(cli->conn) & CAP_EXTENDED_SECURITY) { const char *remote_realm = cli_state_remote_realm(cli); ADS_STATUS status = cli_session_setup_spnego(cli, user, pass, workgroup, |