Web lists-archives.com

Re: [Samba] define defaults for mount -t cifs




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!

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba