[root@server ~]# mount -t cifs //x.x.x.x/share -o username=gil /mnt
CIFS VFS: Send error in SessSetup = -13
CIFS VFS: cifs_mount failed w/return code = -13
mount error(13): Permission denied
I checked all the possibilities like, iptable,Selinux, restarted service. Finally i found the reason that i deleted the user gil a few hours ago for some reason. That's it. Recreated the user. Or you can create another user and edit samba configuration according to the new user.
If the you haven't created a user yet to access samba user.
[root@server ~]# useradd manny
[root@server ~]# smbpasswd -a manny
[root@server ~]# smbpasswd -a manny
Hope helps you too.
gil...
0 Comments