[vox-tech] samba and tcpd

Ted Deppner vox-tech@lists.lugod.org
Sat, 19 Jan 2002 19:58:11 -0800


On Fri, Jan 18, 2002 at 01:38:11PM -0800, Peter Jay Salzman wrote:
> do i make reference to samba services in hosts.allow / hosts.deny as
> 
>    netbios-ssn: blah
>    netbios-ns: blah
> 
> or
> 
>    smbd: blah
> 	nmbd: blah

If the /etc/inetd.conf entry uses "tcpd" to launch the daemon, then the
listed daemon name is the name you use.

If instead the daemon has "compiled in tcpwrappers support", then the
daemon name could be anything.  This is especially evident with ssh, where
X11 forwarding has it's own entry, separate from ssh access itself.

In the second case, you must consult the docs, or grok source.

-- 
Ted Deppner
http://www.psyber.com/~ted/