diff --git a/[refs] b/[refs] index 4f8827442d93..9e78b7a70594 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 64474bdd07f673cc48509ea0375274422c8f73bf +refs/heads/master: e3f0dadb2b44746f6223ce4560406d19e02fb1cc diff --git a/trunk/fs/cifs/transport.c b/trunk/fs/cifs/transport.c index b8c5e2eb43d0..fbc5aace54b1 100644 --- a/trunk/fs/cifs/transport.c +++ b/trunk/fs/cifs/transport.c @@ -359,6 +359,10 @@ cifs_call_async(struct TCP_Server_Info *server, struct smb_hdr *in_buf, if (rc) return rc; + /* enable signing if server requires it */ + if (server->secMode & (SECMODE_SIGN_REQUIRED | SECMODE_SIGN_ENABLED)) + in_buf->Flags2 |= SMBFLG2_SECURITY_SIGNATURE; + mutex_lock(&server->srv_mutex); mid = AllocMidQEntry(in_buf, server); if (mid == NULL) {