[Samba] Unable to mount with cifs.mount, but file browser mount...
gaio at lilliput.linux.it
Thu May 26 07:59:17 UTC 2022
I'm a but puzzled.
File server: debian stretch, louis packages 4.10.18+dfsg-0.1stretch1, AD domain,
same samba revision.
Client: mint ulyssa, aka ubuntu focal, samba 4.13.17~dfsg-0ubuntu0.21.04.2 .
Client configured with Kerberos, winbind, nss/pam; i can login into client
with domain credential, flawlessy.
After login, i can run 'caja' (Mate file manager) and mount shares from the
But i need als to automount some dirs (also homes), so i've setup pam_mount;
that does not work. But seems that cifs.mount does not work at all:
root at archimede:~# mount.cifs //VDMSV1.AD.FVG.LNF.IT/Users/gaio /mnt --verbose -o username=gaio
Password for gaio@//VDMSV1.AD.FVG.LNF.IT/Users/gaio: **********
mount.cifs kernel mount options: ip=10.5.1.3,unc=\\VDMSV1.AD.FVG.LNF.IT\Users,user=gaio,prefixpath=gaio,pass=********
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
and in log:
[ 3285.806313] CIFS: Attempting to mount //VDMSV1.AD.FVG.LNF.IT/Users/gaio
[ 3285.806358] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
[ 3285.822830] CIFS VFS: cifs_mount failed w/return code = -13
I've tried every combination of 'vers=' and 'sec=' but no one works...
What i'm missing? Thanks.
If you want to travel around the world and be invited to speak at a lot
of different places, just write a Unix operating system.
More information about the samba