Hi, Friends.
I need to mount a cifs share from Windows 2012 to Oracle Linux server (7.4, Unbreakable Enterprise Kernel 4.1.12-103.3.8.el7uek.x86_64).
When I try to connect share with default configuration (EncryptData=False; RejectUnencryptedAccess=False)
[root@ol7 ~]# mount -t cifs -o credentials=/tmp/ad.cred //widows_server/share /mnt/
then everything works fine.
But, for security reason, I'd like to add encryption to mounting process.
After setting up EncryptData and RejectUnencryptedAccess parameters to “True” the same command was ended with error: "mount error(13): Permission
denied"
So I added additional options to mount command:
[root@ol7 ~]# mount -t cifs --verbose -o credentials=/tmp/ad.cred,vers=3.0,sec=ntlmv2i //widows_server/share /mnt/
mount.cifs kernel mount options: ip=192.168.1.1,unc=\\widows_server\share,vers=3.0,sec=ntlmv2i,user=test,domain=test,pass=********
mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Using Kerberos authentication and “new” option seal - same result.
Fail, I stuck.
Maybe encryption for SMB3 is not supported in Oracle Linux mount process? Or I missed something?
Regards, Sergey.