summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-02-29 02:02:29 +0100
committerMichael Adam <obnox@samba.org>2012-03-03 17:03:07 +0100
commitac43937ce4d5100a82df9d76d50d72b97daaedd3 (patch)
tree75d936c89c6b82b93e3f706b52b119afcc936879 /source3/libsmb
parent5a5f98dc70bcca088af061473b8cb465e5aa6ff0 (diff)
downloadsamba-ac43937ce4d5100a82df9d76d50d72b97daaedd3.tar.gz
samba-ac43937ce4d5100a82df9d76d50d72b97daaedd3.tar.bz2
samba-ac43937ce4d5100a82df9d76d50d72b97daaedd3.zip
smbXcli: add the possiblilty to negotiate client capabilites in smb >= 2.2
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clientgen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index 29a26d2f76..481d9f729b 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -260,7 +260,8 @@ struct cli_state *cli_state_create(TALLOC_CTX *mem_ctx,
cli->conn = smbXcli_conn_create(cli, fd, remote_name,
signing_state,
smb1_capabilities,
- NULL); /* client_guid */
+ NULL, /* client_guid */
+ 0 /* smb1_capabilites */);
if (cli->conn == NULL) {
goto error;
}