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

Re: Q: restrict access using "peername"



Ulrich Windl wrote:
Hi!

Can anybody present an example that uses "peername" with a hostname (not
an
IP address) to restrict access?

No, nobody can present such an example because "peername" is only used with IP addresses and slapd.access(5) states that quite explicitly.

I once tried and locked out clients I did not
want to lock out. It seemed that the name match failed...

slapd.access(5) seems to lack an example.

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/