I have a problem mounting a Samba directory with cifs on my Raspberry Pi 4.
Following setup:
Samba Server: Synology DMS 6.2 Samba Client: Raspberry Pi 4 with Raspbian 10 (buster) kernel 4.19.75-v7l+
This works on:
1) Raspberry Pi 4: smbclient -L 192.168.178.38/Oeffentlich --user=andre 2) Ubuntu fstab entry: //192.168.178.38/Andre /home/andre/Diskstation/Andre cifs auto,username=andre,passwd=xxxxxxxx 0 0
Now I want to mount like 2) on 1). But I cannot get it to work.
I tried following:
sudo mount -t cifs -o username=andre,password="xxxxxxx",domain=WORKGROUP,vers=1.0,sec=none //192.168.178.38/Oeffentlich Diskstation/Oeffentlich/
sudo mount -t cifs -o username=andre,password="xxxxxxx",domain=WORKGROUP,vers=1.0,sec=ntlmv2 //192.168.178.38/Oeffentlich Diskstation/Oeffentlich/
sudo mount -t cifs -o username=andre,password="xxxxxxx",domain=WORKGROUP,vers=2.0,sec=none //192.168.178.38/Oeffentlich Diskstation/Oeffentlich/
and many more but I get always:
mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
dmesg:
[ 6073.681732] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[ 6073.681762] CIFS VFS: Send error in SessSetup = -13
[ 6073.681801] CIFS VFS: cifs_mount failed w/return code = -13
Does anyone could help me please? Best regards André
User contributions licensed under CC BY-SA 3.0