[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5940) crash in slapo-rwm when modifying olcRwmRewrite



ando@sys-net.it wrote:

> Please forget my previous posting.  Your issue should now be solved in 
> HEAD.  Please test.  p.

Also, please note that modifications to olcRwmRewrite is not allowed, 
unless consisting in a full replace without {} idxes.  The operation you 
were trying,

8<----------------------------
dn: olcOverlay={0}rwm,olcDatabase={1}ldap,cn=config
changeType: modify
replace: olcRwmRewrite
olcRwmRewrite: {0}rwm-suffixmassage "o=proxy" "dc=demo,dc=lan"
8<----------------------------

is not allowed.  This is allowed, though:

8<----------------------------
dn: olcOverlay={0}rwm,olcDatabase={1}ldap,cn=config
changeType: modify
replace: olcRwmRewrite
olcRwmRewrite: rwm-suffixmassage "o=proxy" "dc=demo,dc=lan"
8<----------------------------

note the missing {0}.  Support for renumbering of olcRwmRewrite could be 
introduced by removing rewrite info and regenerating it from the saved 
values.

p.


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Fax:     +39 0382 476497
Email:   ando@sys-net.it
-----------------------------------