return conn->protocol;
}
+bool smbXcli_conn_nt_smbs_supported(struct smbXcli_conn *conn)
+{
+ if (conn->protocol >= PROTOCOL_SMB2_02) {
+ return true;
+ }
+
+ if (smb1cli_conn_capabilities(conn) & CAP_NT_SMBS) {
+ return true;
+ }
+
+ return false;
+}
+
bool smbXcli_conn_use_status32(struct smbXcli_conn *conn)
{
if (conn->protocol >= PROTOCOL_SMB2_02) {