This setup uses the smb.conf file supplied with Puppy itself, the one in /etc/samba/smb.conf, and does not modify that file in any way. Feel free to edit it to configure Samba more to your liking.
Out of the box, this dotpup shares your /root directory read-write, and the Samba root pw is empty! This is a major security issue IF you are foolish enough to run Samba on the global Internet. So don't do that! On a local LAN behind a router/firewall, or with an appropriately configured rc.firewall script in Puppy itself limiting access to your local LAN systems only, it is fine as a quick simple starting point. Use smbpasswd to play with changing and adding Samba user accounts and passwords.
This dotpup is the latest result of a lengthy developer dialogue here on these forums with sunburnt regarding Samba dotpup creation. It works for me on two different machines. If you have issues with it, let me know, and please check any log files under /var/ that may be relevant, such as /var/log.nmbd and /var/log.smbd for useful messages.
To test it, at a Puppy shell prompt try
Code: Select all
smbclient \\\\localhost\\root -N # on the server Puppy machine, or better still:
smbclient \\\\192.168.0.1\\root -N # on a nearby client Puppy machine, use your own IP address
I have had little success with LinNeighbourhood as yet. Anyone who can consistently get LinNeighbourhood to work with this Samba server setup, please let me know the details!
Also, it can take several minutes (as in, 6 or 7 minutes, not as in 300!) for Samba to decide it can set itself up as a local browser and so allow WIndows Network Neighbourhood to see it. I am not sure whether this can be sped up by appropriate smb.conf entries.
Jonathan