[Samba] Can't Connect With New Install

J Romans hromans at eng.ucsd.edu
Sun Jul 7 19:46:48 UTC 2019


Thanks for your help.
I followed your suggestions and I'm getting basically the same thing.

I used your suggested smb.conf and created /home/pishare:

<mypi>:/ $ ls -l -d /home/pishare
drwxrwsr-x 2 root root 4096 Jul  7 12:17 /home/pishare


"pi" is a Unix and a Samba user.

Attempting to logon from Win 10 gives the same error messages.

Testing the connection as suggested in the wiki.samba reference you
mentioned produces:

<mypi>:/ $ smbclient -U pi //home/pishare
Enter pi's password:
Connection to home failed (Error NT_STATUS_IO_TIMEOUT)




> Try this smb.conf:
>
> [global]
>      workgroup = WORKGROUP
>      log file = /var/log/samba/log.%m
>      max log size = 1000
>      log level = 2
>      panic action = /usr/share/samba/panic-action %d
>
>      bind interfaces only = yes
>      interfaces = lo wlan0
>      unix password sync = yes
>
>      server role = standalone server
>      obey pam restrictions = yes
>      pam password change = yes
>      #map to guest = bad user
>
> [homes]
>      comment = Home Directories
>      browseable = no
>      read only = no
>      create mask = 0700
>      directory mask = 0700
>      valid users = %S
>
> [pishare]
>      comment=pi home
>      path=/home/pishare/
>      read only = no
>      browsable = yes
>      create mask = 0775
>      directory mask = 0775
>
> Create the /home/pishare directory and users on the rpi, the users must
> be Unix and Samba users, see here for more info:
> https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Standalone_Server
>
> Rowland
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list