The solution to the username / password problem:
in the global section of smb.conf you need to put in security = share
that will allow you to enter the specified samba server without any authentification, whereas if it was security = user, you would be prompted for a username and password, when trying to enter the samba server, or any other share.
Let's see an example:
[global]
workgroup = WORKGROUP
server string = test
encrypt passwords = yes (if you don't have win 95 clients)
hosts allow = the first 3 fields of your networks ip , for ex ; 190.5.1. and with "," 127.0.0.1/subnetmask here
security = share
netbios name = SERVERNAME
guest account = pcguest
#ok, now let's make a share that is accesible by all on the lan, and everybody can write in it.
[test]
comment = test
path = /somewhere/over/here
guest only = yes
writable = yes
read only = no
#next it's a private folder for user LBB
[private]
comment = LBB's dir
path = %H (this means your home dir)
valid user = LBB
read only = no
public = no
writable = yes
browseable = yes
#you need to add the pcguest account to your /etc/passwd file. do this with adduser
#for any other user you need to add him in the smbpasswd , you can do this by smbpasswd -a #user
#hope this helps