Skip to content

Commit

Permalink
[CIFS] Enable sec flags on mount for cifs (part one)
Browse files Browse the repository at this point in the history
Signed-off-by: Steve French <sfrench@us.ibm.com>
  • Loading branch information
Steve French committed Jun 23, 2006
1 parent 75ba632 commit 189acaa
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 321 deletions.
2 changes: 2 additions & 0 deletions fs/cifs/README
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,8 @@ sec Security mode. Allowed values are:
server requires signing also can be the default)
ntlmv2 Use NTLMv2 password hashing
ntlmv2i Use NTLMv2 password hashing with packet signing
lanman (if configured in kernel config) use older
lanman hash

The mount.cifs mount helper also accepts a few mount options before -o
including:
Expand Down
2 changes: 1 addition & 1 deletion fs/cifs/cifsproto.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ extern void header_assemble(struct smb_hdr *, char /* command */ ,
extern int small_smb_init_no_tc(const int smb_cmd, const int wct,
struct cifsSesInfo *ses,
void ** request_buf);
#endif
extern int CIFS_SessSetup(unsigned int xid, struct cifsSesInfo *ses,
const int stage,
const struct nls_table *nls_cp);
#endif
extern __u16 GetNextMid(struct TCP_Server_Info *server);
extern struct oplock_q_entry * AllocOplockQEntry(struct inode *, u16,
struct cifsTconInfo *);
Expand Down
Loading

0 comments on commit 189acaa

Please sign in to comment.