Search:  
Gentoo Wiki

Samba_LDAP

Security problem(with Pam autentification?)

smbdumpusers -i theIPofYourComputer

then you'll see that we are able to dump most of the users acount from your computer..

Solution

add the following line to /etc/samba/smb.conf

restrict anonymous = 2

and you'll see that smbdumpusers won't work anymore

# smbdumpusers -i 192.168.1.105
ERROR: SMBNTCreateAndX()
ERROR: SMBNTCreateAndX()
ERROR: The server might have restrict anonymous set to 2

Additional Information

Setting "restrict anonymous = 2" in your smb.conf will prevent some Windows Clients from logging on to your Domain !

Retrieved from "http://www.gentoo-wiki.info/Samba_LDAP"

Last modified: Fri, 05 Sep 2008 08:01:00 +0000 Hits: 3,909