Aaah, that seems to have solved my problem, only I specified:
map to guest = Bad Uid
as it doesn't have some of the bad side effects as Bad Password.

Should I file a doc BZ suggesting that this be noted in the documentation under 
the guest user parameter?  

I also have some other nusiance bz's that I could file, but I don't want to 
tick people off with (in some peoples opinion) trivial BZs on a mature product.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> On Behalf
> Of Matthew Nelson
> Sent: Friday, September 28, 2007 8:27 AM
> To: samba@lists.samba.org
> Subject: [Samba] re: guest not permitted to access share
> 
> 
> Jacek,
> 
> Take a look at the 'map to guest' option.  Perhaps 'map to guest = Bad
> Password' might solve this problem for you.
> 
> Hi!
> 
> I have got the problem with my guest account. I can`t access 
> to the share.
> 
> 
> The OS is Centos 5 Linux 2.6.18-8.1.10.el5 #1 SMP
> Version of krb5 is 1.5-29
> 
> This is my smb.conf:
> 
> [global]
> # server string is the equivalent of the NT Description field
> netbios name = SERVER
> 
> # workgroup = NT-Domain-Name or Workgroup-Name
> workgroup = DOMAIN
> realm = DOMAIN.NET
> security = ADS
> password server = server.domain.net
> winbind separator = +
> allow trusted domains = No
> # auth methods = guest sam winbind
> idmap backend = idmap_rid:INFORNET=1000-65000
> idmap uid = 1000-65000
> idmap gid = 1000-65000
> template shell = /bin/bash
> # template homedir = /home/ad/%D/%U
> winbind use default domain = Yes
> winbind enum users = No
> winbind enum groups = No
> winbind nested groups = Yes
> #client use spnego = no
> #server signing = auto
> # this tells Samba to use a separate log file for each machine
> # that connects
> log file = /var/log/samba/%I.log
> log level = 3
> # Put a capping on the size of the log files (in Kb).
> max log size = 500
> smb ports = 139
> guest account = guest
> encrypt passwords = yes
> username map = /etc/samba/smbusers
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> dns proxy = no
> 
> [homes]
> comment = Home Directories
> browseable = no
> writable = yes
> create mask = 664
> directory mask = 0775
> 
> 
> [source1]
> path = /home/source1
> public = yes
> valid users = @DOMAIN+group1
> read list = @DOMAIN+group1
> write list = @DOMAIN+group1
> force group = group1
> writable = yes
> printable = no
> browseable = yes
> create mask = 0665
> # valid users = @group1
> force directory mode = 0775
> guest ok = yes
> # hosts deny = 192.168.6.194
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
> 
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to