Server: CentOS6.5 Linux kernel 2.6.32-431 Samba4.5.1 Client: CentOS6.5 Linux kernel 2.6.32-431 mount.cifs 4.8.1 smb.conf: [global] change notify=yes netbios name=az1 security=user workgroup=MYGROUP_31 [smb] path=/mnt/share oplocks=yes writable=yes aio write size=16384 aio read size=16384 mount cmd: mount -t cifs //x.x.x.x/smb /mnt/smb -o username=wz,password=111111 return info: mount error(13): Permission denied Refer to the mount.cifs(8) manual page Everyone is OK when using Windows SMB client. If I change Samba4.5.1 to Samba4.2.x, the mount.cifs is OK. I don't know if there is any bug in Samba4.5.1 for Linux CIFS client or my configuration is wrong?
(In reply to wangzhe from comment #0) Can you try with sec=ntlmssp, I guess the old kernel uses sec=ntlm or sec=ntlmv2 by default, which are no longer allowed by default.
(In reply to Stefan Metzmacher from comment #1) It works! Thank you very much!
(In reply to wangzhe from comment #2) Good :-)