[CIFS] Finish cifs mount option which requests case insensitive path

name matching.

	Signed-off-by:  Steve French (sfrench@us.ibm.com)
This commit is contained in:
Steve French
2005-08-19 11:04:29 -07:00
parent c46fa8acdc
commit d3485d37c0
4 changed files with 13 additions and 6 deletions

View File

@@ -375,6 +375,8 @@ header_assemble(struct smb_hdr *buffer, char smb_command /* command */ ,
}
if (treeCon->Flags & SMB_SHARE_IS_IN_DFS)
buffer->Flags2 |= SMBFLG2_DFS;
if (treeCon->nocase)
buffer->Flags |= SMBFLG_CASELESS;
if((treeCon->ses) && (treeCon->ses->server))
if(treeCon->ses->server->secMode &
(SECMODE_SIGN_REQUIRED | SECMODE_SIGN_ENABLED))