mount.cifs sec=ntlm
Posted: 2019/11/15 08:06:23
We use centos release 7.7.1908 (core)
I tried the mount command below:
mount.cifs -o domain=rubber.com,username=admin,password=password,iocharset=utf8,sec=ntlm //prod02/custom /mnt/share --verbose
According to the manual page mount.cifs the security mode "sec=" allowed the value "ntlm".
But the use of "sec=ntlm" result in "mount error(22): Invalid argument".
The use of "sec=none" result in "mount error(13): Permission denied".
The use of "sec=krb5" result in "mount error(126): Required key not available".
Without the use of "sec=", the mount succeed but is read-only.
On Ubuntu Linux the use of "sec=ntlm" succeed in a writable mount.
Is this a know restriction in Centos?
I tried the mount command below:
mount.cifs -o domain=rubber.com,username=admin,password=password,iocharset=utf8,sec=ntlm //prod02/custom /mnt/share --verbose
According to the manual page mount.cifs the security mode "sec=" allowed the value "ntlm".
But the use of "sec=ntlm" result in "mount error(22): Invalid argument".
The use of "sec=none" result in "mount error(13): Permission denied".
The use of "sec=krb5" result in "mount error(126): Required key not available".
Without the use of "sec=", the mount succeed but is read-only.
On Ubuntu Linux the use of "sec=ntlm" succeed in a writable mount.
Is this a know restriction in Centos?