Hi all,
I have the following as my smb.conf, all I want to achieve is no password prompt on Windows to access the share, can anyone help me please? The only problem seems to be being prompted by Windows for a username and password. I've had this working in the past but my old smb.conf has gone!
Quote:[Elements]
path = /mnt/Elements
browseable = yes
read only = no
public = yes
guest ok = yes
I used to have that problem then I installed webmin and set up my shares using the browser interface and it solved my problem.
Did you set the security type to:
Code:
[global]
security = SHARE
of course don't forget to reload samba.
Here's what mine looks like - I get no prompt, and files copied have the correct mask set
[global]
workgroup = HOME
netbios name = EDEN2
server string = EDEN2 Media PC
security = SHARE
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
wins server =
guest account = boykster
guest ok = yes
dfree command = /bin/df
create mask = 644
directory mask = 755
[User]
path = /home/boykster
writeable = Yes
guest ok = Yes
browseable = Yes
Obviously, change the machine name, workgroup, and username to match yours
without seeing the full smb.conf file i would guess its being caused by not setting guest account
add in your [global] section
guest account = username
where username is an account with access to the folder
dont forget in your share to set
create mask = 0775
directory mask = 0775
use the correct settings for your descired security
[Elements]
path = /mnt/Elements
browseable = yes
read only = no
guest ok = yes
create mask = 0775
directory mask = 0775
should do it
the masks arnt important for your problem but the default settings stop you deleting files remotely hope this helps
quakes
Hi all,
EDIT= I fixed it! thanks for everyone's help, I don't know what exactly was different but I started from the ground up with a default smb.conf, and commented out every line except the printers share and the top guest ok line, then put
path = /mnt/Elements
browseable = yes
read only = no
public = yes
guest ok = yes
and it worked :S no idea why it didn't before, really don't.