[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Access Control between two domains.
- To: openldap-software@OpenLDAP.org
- Subject: Access Control between two domains.
- From: "Manilal K M" <libregeek@gmail.com>
- Date: Sat, 17 Jun 2006 11:03:39 +0530
- Content-disposition: inline
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RvBHciKXc9A5L+LeADNFP1lvGyx8P4h4z2KL8uFS4CzcMCH7ZjuSAcEuPxGS1Zq2n0dZY1HVEg/jBYuh1CeiJrN2uWWtU7TZScFkU2v5SYi2619KqNOZaINIlsnLsu+mbSzGaZZEdGI1k/GQ7T4eFj532FDQCbLq7OkMqvgXADg=
- In-reply-to: <2315046d0606150515w79be0425i96cb2f0052ddd08d@mail.gmail.com>
- References: <2315046d0606150515w79be0425i96cb2f0052ddd08d@mail.gmail.com>
Hello all,
I have an openldap implementation with a number of domains. Now I
need to grant access permission to the Global Address Book of two
domains. For example my first domain is alpha and second domain is
beta. I want to share the Global Address Book of alpha with beta and
vice versa. I have made a simple configuration in
/etc/openldap/slapd.conf. Here is the acl:
access to dn.regex="ou=Global Address Book,o=alpha,o=com,c=US"
by dn.regex="uid=(.+),ou=People,o=beta,o=com,c=US" read
by * none
access to dn.regex="ou=Global Address Book,o=beta,o=com,c=US"
by dn.regex="uid=(.+),ou=People,o=alpha,o=com,c=US" read
by * none
#####This is the default permission
access to dn.regex="ou=Global Address Book,o=(.+),o=(.+),c=US"
by dn.regex=".+@$1\.$2" write
by * none
##################################################
access to dn.regex="ou=(.+),ou=Personal Address Book,o=(.+),o=(.+),c=US"
by dn.regex="$1" write
by * none
access to dn.regex="uid=(.+),ou=People,o=(.+),o=(.+),c=US"
by self write
by peername="127\.0\.0\.1" read
by anonymous auth
by * none
access to dn="cn=subschema"
by * read
When I comment the default permission it works , but if I uncomment
them the sharing won't works. Is the above configuration makes sense?
regards
Manilal
--
I would rather be a serf in a poor man's house and be above ground
than reign among the dead