[Samba] define defaults for mount -t cifs

mj lists at merit.unu.edu
Fri May 19 11:04:54 UTC 2017


Hi Aurélien,

On 05/19/2017 11:06 AM, Aurélien Aptel wrote:
> You could make a wrapper script around mount.cifs that would check or add
> the vers option. Something like this pseudo code:
> 
>      if "vers" in $opts:
>          if val("vers", $opts) < 2.1:
>              err("min supported version is 2.1")
>      else:
>          set("vers", $opts, 2.1)
>       
>      call mount.cifs $share $mnt -o $opts

Interesting suggestion. Thank you!



More information about the samba mailing list