I'm new to setting up Samba shares, and I think I'm an inch away from getting it to work. The configuration file that I'm using is below. When I connect to the share, I can read the files fine and copy them to my local machine, but when I try to write to the share (using OSX) I am asked for a user name & password even though I have set it up as a public share with guest access.
Am I missing a setting? Your help is appreciated!
killall smbd killall nmbd sleep 2
mkdir -p /tmp/etc/samba echo "
[global]
netbios name = DD-WRT
workgroup = WORKGROUP
server string = DD-WRT
syslog = 10
obey pam restrictions = yes
socket options = TCP_NODELAY
preferred master = no
os level = 20
security = share
guest account = nobody
invalid users = root, mail, deamon, reboot
null passwords = yes
guest only = yes
map to guest = Bad User
private dir = /tmp/etc/samba/
lock directory = /var/lock/
pid directory = /var/run/
unix charset = UTF-8
dos charset = UTF-8
map archive = No
map hidden = No
map system = No
[Share]
path = /mnt/
read only = no
create mask = 0700
directory mask = 0700
writeable = yes
browseable = yes
" > /tmp/etc/samba/smb.conf
grep -q nobody /etc/passwd || echo 'nobody:x:65534:65534:nobody:/mnt:/bin/false' >> /etc/passwd
SMBOPTIONS="-s /tmp/etc/samba/smb.conf" /usr/sbin/smbd $SMBOPTIONS /usr/sbin/nmbd $SMBOPTIONS