I'm looking for the best fstab options for mounting CIFS to Linux Mint 18.2 (Ubuntu/Debian) with the highest security and performance. I noticed that the default mounting only worked when I set the minimum share level to LANMAN but hours later I was able to mount SMB2/3 by adding the "vers=3.0" argument.
Example:
FreeNAS Username = "user3" (UID=1003 | GID =1003&1000)
Linux Username = "user3" (UID 1000 | GID 1000)
//<server>/Uploads /mnt/Uploads cifs credentials=/etc/secrets,vers=3.0,uid=1000,gid=1000,file_mode=0770,dir_mode=0770 0 0
1. What do you use in your /etc/fstab for mounting CIFS shares? I'm not sure if i'm missing options or if I have bad/redundant arguments.
2. Do i need to add a "sec=" option for something like ntlmssp or ntlmsspi?
3. Should i use nfs instead?
Example:
FreeNAS Username = "user3" (UID=1003 | GID =1003&1000)
Linux Username = "user3" (UID 1000 | GID 1000)
//<server>/Uploads /mnt/Uploads cifs credentials=/etc/secrets,vers=3.0,uid=1000,gid=1000,file_mode=0770,dir_mode=0770 0 0
1. What do you use in your /etc/fstab for mounting CIFS shares? I'm not sure if i'm missing options or if I have bad/redundant arguments.
2. Do i need to add a "sec=" option for something like ntlmssp or ntlmsspi?
3. Should i use nfs instead?