Re: Samba setup or alternative?

2017-03-13 Thread Dan Purgert
Eduardo M KALINOWSKI wrote:
> On 11-03-2017 09:35, Johann Spies wrote:
>> Is there not a better way to mount spyker's home directory on my laptop?
>>
>
> If you can access it via ssh, you can try sshfs.
>

There's also NFS, which I find to be a little more tolerant of me :).

-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281



Re: Samba setup or alternative?

2017-03-11 Thread Johann Spies
On 11 Mar 2017 2:45 PM, "Eduardo M KALINOWSKI" 
wrote:

On 11-03-2017 09:35, Johann Spies wrote:
> Is there not a better way to mount spyker's home directory on my laptop?
>

If you can access it via ssh, you can try sshfs.


Thanks. I forgot about that. I did use it at work about 8 years ago.

Regards
Johann


Re: Samba setup or alternative?

2017-03-11 Thread Eduardo M KALINOWSKI
On 11-03-2017 09:35, Johann Spies wrote:
> Is there not a better way to mount spyker's home directory on my laptop?
>

If you can access it via ssh, you can try sshfs.


-- 
We just joined the civil hair patrol!

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Samba setup or alternative?

2017-03-11 Thread Johann Spies
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

WorkgroupMaster
----
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)