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

ldap proxy resolution by rewriting in meta-backend



Hello,
I want to use the "LDAP Proxy resolution" mode related in the
"slapd-meta" man but I don't manage to make it works.
I wonder if it is implemented yet because I saw a message dated Fri, 16
Jan 2004 17:09:10 +0100 in which the same problem is not solved.
My slapd.conf looks like:

uri "ldap://127.0.0.1:390/ou=a,ou=mysociety,c=fr";
...
rewriteRule '(.*-b\))' 'ldap://127.0.0.1:391/ou=b,ou=mysociety <ldap://ldap1.my.org/%0%27>,c=fr' <ldap://ldap1.my.org/%0%27> ':@' rewriteRule '(.*-c\))' 'ldap:// <ldap://ldap2.my.org/%0%27>127.0.0.1:392/ou=c,ou=mysociety,c=fr' <ldap://ldap1.my.org/%0%27> ':@'

in order that when I  search for example for uid=toto-b, it would do it
through openldap running on port 391, if I  search  for uid=titi-c, it
would do it  through openldap running on port 392 and if I search
anything not ending by "-b" or "-c", il would do it  through openldap
running on port 390(target).

But the search nevers goes to the openldap running on ports 391 and 392.
Any help would be mostly appreciated.

Kind regards