Hi,

I testing a configuration with rewriteMap option.

I have an error bindDN massage error when the rule is redirected.

I think who I don't use a good regexp for the rule.

My configuration :

defaultsearchbase dc=local,dc=lan
database        meta
suffix          "dc=lan"
uri             "ldaps://192.168.50.2/dc=lan"

overlay rwm
rwm-rewriteEngine       on
rwm-rewriteMap  ldap attr2dn    "ldap://192.168.50.10"
rwm-rewriteContext      bindDN
rwm-rewriteRule "(.*)" "${attr2dn(%1)}" "#"

For this test, I whish who all request is redirected of the other server.

If I viewing a tcp frames, the cn request add a $ in frame:

cn.$user, cn=Users,dc=local,dc=lan

Thank you for your feedback


Loïc