[Date Prev][Date Next]
Re: back-meta hangs (ITS#3058)
Pierangelo Masarati wrote:
>back-ldap doesn't need any DN portion of the URI; actually,
>for some time checks were were in place to enforce its absence!
I used it in back-meta to specify the suffix to use for some target servers.
>>rewriteRule "$" "dc=example,dc=com,o=Organization" ":"
>^^^ this rule is weird, I don't understand it.
>Apparently, it maps *** anything *** into
>"dc=example,dc=com,o=Organization"; hope it's intended!
>If what you want to accomplish is redirect searches
>for an unrecognized base to the database serving
>"dc=example,dc=com,o=Organization", you may want to have
>a look at the "defaultSearchBase" directive in slapd.conf(5);
>otherwise, the same effect could be obtained by
>rewriteRule ".*" "%0,dc=example,dc=com,o=Organization" ":@"
>at the cost of an extra back-ldap processing!
Thanks, I'll try that, but my rule works fine for queries on that
backend (notice that it has an empty suffix specified) - apparently
because I'm putting it in the searchBase rewrite context, and it only
processes the search base. The search base is always empty, ane it gets
replaced with the correct search base and forwarded to "real" LDAP
instances specified in uri.
Administrator systemów korporacyjnych
Altkom Akademia S.A.