As I do not use Windows, I was never fond of samba. Now I want to have access from my laptop to my home directory on my Desktop computer(home network server) which both run Debian Sid other than just ssh.
I want to be able to mount that directory on my laptop when needed. I have worked through a number of Debian-related howto's on how to set up a Samba server. BTW most of them seems to me a bit outdated. Anyhow, this is what I get: $ smbclient -L //192.168.0.1/home/js/ -U js Enter js's password: Domain=[SPYKER] OS=[Windows 6.1] Server=[Samba 4.5.4-Debian] Sharename Type Comment --------- ---- ------- print$ Disk Printer Drivers IPC$ IPC IPC Service (Samba 4.5.4-Debian) js Disk Home Directories PDF Printer PDF Samsung-ML-191x-252x-Series Printer Samsung ML-191x 252x Series Domain=[SPYKER] OS=[Windows 6.1] Server=[Samba 4.5.4-Debian] Server Comment --------- ------- SPYKER Samba 4.5.4-Debian Workgroup Master --------- ------- SPYKER SPYKER 14:23:25 js@spyker:/etc/samba$ smbclient //192.168.0.1/home/js/ -U js Enter js's password: Domain=[SPYKER] OS=[Windows 6.1] Server=[Samba 4.5.4-Debian] tree connect failed: NT_STATUS_BAD_NETWORK_NAME >From what I have found searching on Duckduckgo.com the failure message indicates a permission problem. Apparently the permissions should be 0755. I am not prepared to do that to my home directory on the Desktop Computer. Now my questions: Why on earth is the OS indicated as Windows 6.1? Is it possible to share my home directory on the Desktop (spyker) without changing it's permissions? Is there not a better way to mount spyker's home directory on my laptop? My configuration in the 'homes' section of smb.conf [homes] comment = Home Directories browseable = no read only = no create mask = 0700 directory mask = 0700 Regards Johann -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3)