[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Problem with usage of suffixmassage and meta database
- To: "openldap-technical@openldap.org" <openldap-technical@openldap.org>
- Subject: Problem with usage of suffixmassage and meta database
- From: "Padgett,Phil" <pdp@ufl.edu>
- Date: Mon, 6 Oct 2008 22:35:34 -0400
- Accept-language: en-US
- Acceptlanguage: en-US
- Content-language: en-US
- In-reply-to: <0CF0887C2EA2F043846B8B8089D25C66011558D444@UFEXCH-MBXCL02.ad.ufl.edu>
- References: <0CF0887C2EA2F043846B8B8089D25C66011558D444@UFEXCH-MBXCL02.ad.ufl.edu>
- Thread-index: AQHJKA4Kfyl3/TAgTk+IBPWoE2bfLo69+qMn
- Thread-topic: Problem with usage of suffixmassage and meta database
I am attempting to use "database meta" to direct queries to either one of two backend databases.
The queries come in in the form "cn=user1,dc=alpha,dc=ufl,dc=edu" or "cn=user2,dc=beta,dc=ufl,dc=edu".
I have multible local databases alpha, beta, and prod. There are some accounts which have info in those databases and others which should be redirected to a campus active directory server.
If I send in the requests as "cn=user1,dc=ufl,dc=edu", etc then both the local databases and the remote active directory one can service them. This works well.
I would like to call them with the alpha, beta, or prod in the dn so that the appropriate local database is consulted but if there is no match then the active directory server is queried. I seem to be having problems with the suffixmassage directive since this does not seem to be working.
Any help would be appreciated.
Below is the relevent section of my slapd.conf file.
Thanks.
Phil
database meta
suffix "dc=ufl,dc=edu"
uri "ldap://localhost:390/dc=alpha,dc=ufl,dc=edu"
uri "ldap://localhost:390/dc=beta,dc=ufl,dc=edu"
uri ldap://localhost:390/dc=prod,dc=ufl,dc=edu
uri "ldap://ldap.ad.ufl.edu/dc=alpha,dc=ufl,dc=edu"
acl-authcDN "cn=SVC-LDAP,OU=Service Accounts,OU=Departments,OU=UF,DC=ad,DC=ufl,DC=edu"
acl-passwd 'ssssssssss'
rewriteEngine on
suffixmassage "dc=alpha,dc=ufl,dc=edu" "dc=ad,dc=ufl,dc=edu"
lastmod off