{
struct smb2_transport *transport;
struct GUID client_guid;
+ uint32_t smb2_capabilities = 0;
transport = talloc_zero(parent_ctx, struct smb2_transport);
if (!transport) return NULL;
client_guid = GUID_random();
+ /* TODO: hand this in via the options? */
+ smb2_capabilities = SMB2_CAP_ALL;
+
transport->conn = smbXcli_conn_create(transport,
sock->sock->fd,
sock->hostname,
options->signing,
0, /* smb1_capabilities */
&client_guid,
- 0 /* smb2_capabilities */);
+ smb2_capabilities);
if (transport->conn == NULL) {
talloc_free(transport);
return NULL;