This was initially introduced in Windows Vista Service Pack 1, and This is the default.Ģ.0 - The SMBv2.002 protocol. Allowed values are:ġ.0 - The classic CIFS/SMBv1 protocol. Test specifying the SMB version option (vers=2.1), see the samba wiki. Username=my_user,password=my_pass,domain=my_domain,\ Iocharset=utf8,rw,file_mode=0777,dir_mode=0777: sudo mount -v -t cifs //fileshare1/docs1/user/My\ĭocuments/shared/Francesco/ /home/frank/mnt_folder -o Test with these options to the mount command Username=my_user,password=my_pass,domain=my_domain,gid=1000,uid=1000 Try to add the "-v" option to get verbose output: sudo mount -v -t cifs //fileshare1/docs1/user/My\ĭocuments/shared/Francesco/ /home/frank/mnt_folder -o \ Number 2 is basically the same thing: _ mount.cifs kernel mount options: ip=,unc=\\fileshare1\docs1,iocharset=utf8,file_mode=0777,dir_mode=0777,user=my_user,domain=my_domain,prefixpath=user/My Documents/shared/Francesco/,pass=********Īnd nothing changed with vers=2.1: _mount.cifs kernel mount options: ip=,unc=\\fileshare1\docs1,vers=2.1,iocharset=utf8,file_mode=0777,dir_mode=0777,user=my_user,domain=my_domain,prefixpath=user/My Documents/shared/Francesco/,pass=********Īs for number 4 I can mount docs1 no problem but I can navigate tho get to the shared folder in user. Refer to the mount.cifs(8) manual page (e.g. Number 1: verbose option returns: _mount.cifs kernel mount options: ip=,unc=\\fileshare1\docs1,uid=1000,gid=1000,user=my_user,domain=my_domain,prefixpath=user/My Documents/shared/Francesco/,pass=******** I'm definitely sure my user has permission on that folder cause I can access it from a windows machine.Īlso if I try to mount my personal folder on that location through: sudo mount -t cifs //fileshare1/docs5/francesco.azzarello/ /home/frank/mnt_folder -o username=my_user,password=my_pass,domain=my_domain,gid=1000,uid=1000įor reference I'm using 4.2.0-36-generic kernel and my mount.cifs version is 6.4Īny idea on how to make one of both methods work? I get mount error(13): Permission denied. So I tried mounting the location manually using cisf-utils doing: sudo mount -t cifs //fileshare1/docs1/user/My\ Documents/shared/Francesco/ /home/frank/used_shared/ -o username=my_user,password=my_pass,domain=my_domain,gid=1000,uid=1000 Now whenever I try to access the shortcut or typing credential again I keep getting the dialog window asking for user, domain and password. I usually navigate through a local network shared folder from a Linux machine via smb (i.e.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |