Author |
Message |
autumnleaves
Joined: 07 Jan 2011 Posts: 125
|
Posted: Tue 18 Jan 2011, 19:05 Post subject:
Network Samba |
|
I can almost guarantee that it won't work for me.
E.g., I uncommented map to guest in the conf file, stopped and restarted samba, but a username/password are still required when connecting from the Windows machine.
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 11889 Location: Stratford, Ontario
|
Posted: Tue 18 Jan 2011, 19:13 Post subject:
|
|
That's because your current "pupshare" share does not have "guest" access. Add the following line to its smb.conf entry.
Code: | [pupshare]
....
guest ok = yes |
|
Back to top
|
|
 |
autumnleaves
Joined: 07 Jan 2011 Posts: 125
|
Posted: Tue 18 Jan 2011, 19:29 Post subject:
Network Samba |
|
No luck. Now Samba-login does not work on the puppy machine, and from the Windows machine I am told that pupshare on pupserver (or pupserver on pupshare) is not accessible.
|
Back to top
|
|
 |
autumnleaves
Joined: 07 Jan 2011 Posts: 125
|
Posted: Tue 18 Jan 2011, 19:32 Post subject:
Last try |
|
Here is the conf file:
[global]
dns proxy = no
max log size = 50
domain master = no
domain logons = no
workgroup = pupshare
netbios name = pupserver
server string = Puppy Samba-TNG Server
security = user
map to guest = Bad Password
;printcap name = cups
load printers = yes
[pupshare]
path = /mnt/home
writable = yes
guest ok = yes
[printers]
path = /tmp
printable = yes
guest ok = yes
|
Back to top
|
|
 |
autumnleaves
Joined: 07 Jan 2011 Posts: 125
|
Posted: Tue 18 Jan 2011, 19:38 Post subject:
Network Samba |
|
Here is the rc.local file:
#version upgrade, any prior content of rc.local moved to /tmp/rc.local
pure-ftpd -zMbBADHk 90 -e -U 022:022
if [ -x /etc/rc.d/rc.firewall ]; then
/etc/rc.d/rc.firewall start
fi
sleep 20
samba-start
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 11889 Location: Stratford, Ontario
|
Posted: Tue 18 Jan 2011, 20:23 Post subject:
|
|
Here are some tips for configuring Samba.
1. Power down your client machines while you are modifying the smb.conf.
2. Check the status of the server with the ps command.
3. Change one thing at a time.
|
Back to top
|
|
 |
autumnleaves
Joined: 07 Jan 2011 Posts: 125
|
Posted: Tue 18 Jan 2011, 22:25 Post subject:
|
|
Well, I've wasted enough time. Back to Windows. Thanks for your help.
|
Back to top
|
|
 |
|