[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Possibly simple question: Restricting access to host/subnet



On Wed, Jan 08, 2003 at 01:42:37PM +0100,
 Harry Rüter <harry_rueter@gmx.de> wrote 
 a message of 19 lines which said:

> As i understood this is possible when i use TCP-Wrappers 
> (and therefore inetd)  ..

I believe that your "and therefore" is wrong. If slapd has been built
with  --enable-wrappers, you can use TCP-Wrappers.

> Is it possible to restrict the access to one host/two hosts/a subnet ?

With something like (untested):

****************
hosts.allow:

slapd: 172.16.

*****************
hosts.deny:

slapd: ALL