Network Samba

Configuration wizards, scanners, remote desktop, etc.
Message
Author
autumnleaves
Posts: 125
Joined: Sat 08 Jan 2011, 01:24

Network Samba

#16 Post by autumnleaves »

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.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#17 Post by rcrsn51 »

That's because your current "pupshare" share does not have "guest" access. Add the following line to its smb.conf entry.

Code: Select all

[pupshare]
....
guest ok = yes

autumnleaves
Posts: 125
Joined: Sat 08 Jan 2011, 01:24

Network Samba

#18 Post by autumnleaves »

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.

autumnleaves
Posts: 125
Joined: Sat 08 Jan 2011, 01:24

Last try

#19 Post by autumnleaves »

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

autumnleaves
Posts: 125
Joined: Sat 08 Jan 2011, 01:24

Network Samba

#20 Post by autumnleaves »

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

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#21 Post by rcrsn51 »

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.

autumnleaves
Posts: 125
Joined: Sat 08 Jan 2011, 01:24

#22 Post by autumnleaves »

Well, I've wasted enough time. Back to Windows. Thanks for your help.

Post Reply