https://bugs.openldap.org/show_bug.cgi?id=9802

--- Comment #5 from Howard Chu <[email protected]> ---
(In reply to manuel.flury from comment #4)
> Hi,
> 
> I used a replace not delete then add:
> 
> dn: olcMetaSub={0}uri,olcDatabase={1}meta,cn=config
> changetype: modify
> replace: olcDbRewrite
> olcDbRewrite: {0}rewriteEngine "on"
> olcDbRewrite: {1}rewriteContext "searchDN"
> olcDbRewrite: {2}rewriteRule "OU=People,[ ]?DC=my,[ ]?DC=example,[ ]?DC=com
> " "${**target}"  ":"
> olcDbRewrite: {3}rewriteContext SearchFilter
> olcDbRewrite: {4}rewriteRule "^(.+uid=[^,]+)@domain.one.com(,.*)$"
> "${&&target(\"ou=people,dc=domain,dc=one,dc=com\")}$1$2" ":"
> olcDbRewrite: {5}rewriteRule "^(.+uid=[^,]+)@domain.two.com(,.*)$"
> "${&&target(\"ou=mynetworkpeople,o=my.example.com\")}$1$2" ":"
> -
> 
> B.R.
> 
> Manuel FLURY

Thanks. Still not able to reproduce, even with multiple repetitions of this
modification. Can you run under valgrind and still reproduce it?

-- 
You are receiving this mail because:
You are on the CC list for the issue.

Reply via email to