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

RE: Restrict IP's to access the LDAP server



I am using LDAP v3 and I have following ACL in my slapd.conf file..

access to *                                         
       by *                                         
         peername.regex=".IP=111\.222\.333\.444" read
         peername.regex=".IP=666\.777\.888\.*" read 
         *          
Thanks,
Iftikhar                                 

-----Original Message-----
From: Pierangelo Masarati [mailto:ando@sys-net.it] 
Sent: Wednesday, May 05, 2004 4:27 PM
To: Ahmed, Iftikhar
Cc: openldap-software@OpenLDAP.org
Subject: Re: Restrict IP's to access the LDAP server


> I am trying to write ACL to allow couple of IP's can have read/write 
> access. rest should stop.
> Any example would be good.

This topic changed dramatically from version to version, so you should
provide some hints on how to direct you to the most appropriate source
of info.  This is usually a good habit for any topic, though.

p.

--
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it




    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax:
+390382476497