Hi,
I'm running a Samba server on Fedora9 box and have a question concerning the use of the above in my smb.conf file. Three scenarios
A:
Code:
workgroup = LINUX
server string = Samba Server Version %v
netbios name = FEDORA
hosts allow = *****************
hosts deny = **************
log file = /var/log/samba/log.%m
security = user
; map to guest = Bad User
[samba]
path= /home/samba
read only = no
guest ok = yes
********* LINES OMITTED ***********
B:
Code:
workgroup = LINUX
server string = Samba Server Version %v
netbios name = FEDORA
hosts allow = *****************
hosts deny = **************
log file = /var/log/samba/log.%m
security = user
map to guest = Bad User
[samba]
path= /home/samba
read only = no
; guest ok = yes
C:
Code:
workgroup = LINUX
server string = Samba Server Version %v
netbios name = FEDORA
hosts allow = *****************
hosts deny = **************
log file = /var/log/samba/log.%m
security = user
map to guest = Bad User
[samba]
path= /home/samba
read only = no
guest ok = yes
In scenarios A and C I can access the share without putting in a password by just pressing enter at the password prompt. In scenario B I have to enter the correct password to access the share. So could someone clarify the purpose of "map to guest = Bad User" and why it can or cannot be used alongside "guest ok = yes" in order to gain passwordless access. Why would Scenario B not let me access without a password ? Also it seems to me that there is no need for "map to guest = Bad User" provided "guest ok = yes".
cheers
C