[Date Prev][Date Next]
Re: slapd-ldap meta backend and flat ldap migration
> I did the suffixmassage and see what you mean about the issue with
> Binding. Do you know the actual rewriterules that suffixmassage uses?
talking of 2.2.8;
# all dataflow from client to server referring to DNs
rewriteRule "(.*)<virtualnamingcontext>$" "%1<realnamingcontext>" ":"
# empty filter rule
# all dataflow from server to client
rewriteRule "(.*)<realnamingcontext>$" "%1<virtualnamingcontext>" ":"
rewriteContext searchAttrDN alias searchResult
rewriteContext matchedDN alias searchResult
I just committed this description as part of slapd-meta(5)
> I've been working with the rewriterules for the last several days and
> have gotten binds to work or searches to work but never together.
I insist: if you follow my instructions, you won't be able
to bind any more, unless you define the target where the
entries that must be able to bind as the default target.
This setup will flatten your database, so there will be no
other way to select a specific target for those operations
that need to be able to select exactly one target by simply
looking at the incoming naming context.