summaryrefslogtreecommitdiff
path: root/source4/libcli/raw
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 /source4/libcli/raw
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 'source4/libcli/raw')
-rw-r--r--source4/libcli/raw/clitransport.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/libcli/raw/clitransport.c b/source4/libcli/raw/clitransport.c
index a9ff8f33c5..f9759b1b7f 100644
--- a/source4/libcli/raw/clitransport.c
+++ b/source4/libcli/raw/clitransport.c
@@ -90,7 +90,8 @@ struct smbcli_transport *smbcli_transport_init(struct smbcli_socket *sock,
sock->hostname,
options->signing,
smb1_capabilities,
- NULL); /* client_guid */
+ NULL, /* client_guid */
+ 0); /* smb2_capabilities */
if (transport->conn == NULL) {
TALLOC_FREE(sock);
TALLOC_FREE(transport);