Access Controls for Swat ?

Ken Stone ken at
Thu Dec 10 00:18:23 GMT 1998

Are there any access controls for swat ?  This is in the SAMBA_2_0 branch ...

I see a call in cgi.c at startup like 

    if (!check_access(1, lp_hostsallow(-1), lp_hostsdeny(-1))) {
	cgi_setup_error("400 Server Error", "",
			"Samba is configured to deny access from this client
			 \n<br>Check your \"hosts allow\" and \"hosts deny\" 
			 options in smb.conf ");

which looks like its paying attention to a hosts allow/deny config but I
have no idea how to set it up and can find no docs :-) ??

  -- Ken

More information about the samba-ntdom mailing list