[Samba] "map to guest = bad password" not working as expected
Guruswamy Namasivayam (gnamasiv)
gnamasiv at cisco.com
Tue Sep 6 15:16:25 GMT 2005
Hi all,
I had been trying to use "map to guest = bad password" to map users
from other domains to guest to allow only guest access. But when I try
to access the samba server from another domain, I get an error saying
that it is not authorized from that machine. I am attaching the
smb.conf. Please let me know if I am doing anything wrong.
[global]
idmap uid = 70000-200000
idmap gid = 70000-200000
winbind enum users = no
winbind enum groups = no
winbind cache time = 10
winbind use default domain = yes
printcap name = cups
load printers = yes
printing = cups
cups options = "raw"
force printername = yes
lpq cache time = 0
log file = /local/local1/errorlog/samba.log
max log size = 500000
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
smb ports = 50139
local master = no
domain master = no
preferred master = no
dns proxy = no
printer admin = @printeradmin
client schannel = no
guest ok = yes
log level = 10
workgroup = LAB2003DOMAIN
netbios name = ODI-MGT-CE1
wins server = <server ip>
password server = <password server ip>
security = domain
[print$]
path = /state/samba/printers
guest ok = yes
browseable = yes
read only = yes
write list = @printeradmin
force user = root
force group = root
[printers]
comment = All Printers
path = /local/local1/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes
Thanks,
Guru.
More information about the samba
mailing list