[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Is it possible to map/rewrite per target when using slapd-meta?
- To: openldap-software@OpenLDAP.org
- Subject: Is it possible to map/rewrite per target when using slapd-meta?
- From: Emiel van de Laar <emiel@rednode.nl>
- Date: Tue, 11 Jul 2006 18:31:01 +0200
- Content-disposition: inline
- User-agent: Mutt/1.5.11
Hi list,
The past couple of days I've been playing around with various slapd
backends. Powerfull stuff! I didn't know all this was possible. I
do have a question though so let me explain what I'm trying to
accomplish.
At our organization we have several DSAs storing
* identities
* mail accounts
* desktop accounts
Each directory entry shares an identifier to link up the identies
with their account(s). For example.
# Identity
cn=person,ou=identities,o=foo
id: 100
# Mail
cn=person,ou=mail,o=foo
personid: 100
# Desktop Account
cn=person100,ou=accounts,o=foo
pid: 100
For testing purposes I've setup a slapd instance which composites all
the above directories using slapd-meta. I can query the directories fine
and get a quick overview of what's out there. However I'd like to be
able to search based on the unique identifier attribute. The problem is
that in each directory this attribute name is different, i.e. id,
personid, pid. My search would return the identity and all their
accounts (mail/desktop).
I'd like to be able to search my meta directory and have it rewrite my
search request for each target (backend directory). i.e. searching for
entries with identifier 100 would search each backend directory using
the appropriate attribute.
Mapping doesn't work here because it only works at the local slapd
level. It just renames the attribute.
So my question is: Is it possible to map/rewrite per target?
Any other suggestions are welcome as well! Like perhaps using
subordinate instead...?
Thanks in advance,
Emiel van de Laar