[Samba] Please review my smb.conf

DavidA dandbnews2 at talktalk.net
Sat Jan 2 18:10:03 UTC 2016


Hi

I am still struggling to setup a home network of:

- 2 laptops running Windows 7 Home
- 1 laptop running Windows 10 Home
- 1 Raspberry Pi ‘RPHS’ running Rasbian Jesse and Samba 4.1.17-Debian

The current status is that only one of the Windows machines can see the Samba shared drive /mnt/data. The other machines don’t discover the Pi at all.

I’m wondering if there is something wrong with my Samba configuration file.  I’ve shown the contents below.  Please will someone kindly review it for me?

Best regards

David

[global]
    usershare allow guests = yes
    workgroup = WORKGROUP
    wins support = true
    map to guest = bad user
    dns proxy = no
    passwd program = /usr/bin/passwd %u
    panic action = /usr/share/samba/panic-action %d
    max log size = 1000
    os level = 20
    passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
    log file = /var/log/samba/log.%m
    passdb backend = tdbsam
    pam password change = yes
    server role = standalone server
    obey pam restrictions = yes
    syslog = 0
    unix password sync = yes
        realm = RPHS
        netbios name = RPHS
        name resolve order = wins lmhosts hosts bcast 

[homes]
   comment = Home Directories
   browseable = no

   read only = yes
   create mask = 0700
   directory mask = 0700
   valid users = %S

[printers]
   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   guest ok = no
   read only = yes
   create mask = 0700

[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no

[Data]
        comment=Raspberry Pi Share
    path = /mnt/data
        browseable=yes
    writeable = yes
        only guest = no
    public = yes



More information about the samba mailing list