[Samba] How to disable anonymous account on SAMBA

Andrew Bartlett abartlet at samba.org
Thu Nov 28 20:56:01 GMT 2002


On Thu, 2002-11-28 at 08:10, Tran Andy Contr 61 CS/SCBN wrote:
> Hi all,
> 
> I have tried to disable anonymous in smb.conf, by include the global:
> 
> restrict anonymous = true
> password server = *    
> encrypt passwords = yes
> null passwords = no    
> 
> Buy when I ran the : ./smbclient -L  myserver -N
> I have this message:
> 
> added interface ip=111.xx.xx.xx bcast=111.xx.xx.255 nmask=255.255.252.0 
> Got a positive name query response from 111.xx.xx.xx( 111.xx.xxx.xx)    
> Anonymous login successful                                                
> 
> So how can I disable/block  the anonymous account???

In Samba 3.0, 'restrict anonymous' has this behavior - set 'restrict
anonymous = 2' for what you want.  

However, in Samba 2.2, this parameter has the behavior described in
smb.conf.  (i.e. not what you would expect - and not a security
advantage).

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20021128/02b0fff2/attachment.bin


More information about the samba mailing list