[Date Prev][Date Next]
Re: ldap proxy resolution by rewriting in meta-backend
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.
That man page is a copy and paste from a white paper. That feature is a
TODO and should be removed from the man page.
You might be able to obtain something like that by using a proxy that
statically maps a given subtree to a given server. Something like
rwm rules that rewrite the base DN of a search based on the contents of
the filter (not a trivial rule, though) to a temporary DN like
(uid=*-b) -> $BASEDN,dc=server1
(uid=*-c) -> $BASEDN,dc=server2
rwm-rewriteRule "^(.+),dc=server1$" "$1" "@:"
rwm-rewriteRule "^(.+),dc=server2$" "$1" "@:"
and so on. The whole thing may need quite a bit of shakedown, and is
going to be far from efficient, though.