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

Re: (ITS#3395) rw-overlay is not rewriting



> Hello,
>
> "Pierangelo Masarati" <ando@sys-net.it> writes:
>
>> It works if you use the correct syntax, i.e. prefix all statements with
>> rwm-, e.g.
>>
>> overlay rwm
>> rwm-suffixmassage <real naming context>
>
> As I had read your mail, thit was my first configuration, but that
> failed as reported

Dieter,

in your initial bug report, the "rwm-" was missing.  I confirm a
configuration with

overlay rwm
suffixmassage "<vnc>" "<rnc>"

was not working as of early this morning, while the other two options (no
overlay declaration, or overlay declaration and "rwm-" prefix to the
spcific directives) were working.  The commit I made a bit later repaired
the broken case, at the cost of an extra dangling rwm overlay doing
nothing; for instance, on the databasse resulting from test028, with

overlay rwm
suffixmassage <vnc>

in both instances of back-ldap (and an "access to * by * read" in the
monitor database ;)

ldapsearch -x -b 'cn=monitor' monitorOverlay=rwm monitoredInfo seeAlso
# extended LDIF
#
# LDAPv3
# base <cn=monitor> with scope subtree
# filter: monitorOverlay=rwm
# requesting: monitoredInfo seeAlso
#

# Database 2, Databases, Monitor
dn: cn=Database 2,cn=Databases,cn=Monitor
monitoredInfo: ldap
monitorOverlay: rwm
monitorOverlay: rwm
seeAlso: cn=Overlay 0,cn=Overlay,cn=Monitor
seeAlso: cn=Overlay 0,cn=Overlay,cn=Monitor
seeAlso: cn=Backend 3,cn=Backends,cn=Monitor

# Database 3, Databases, Monitor
dn: cn=Database 3,cn=Databases,cn=Monitor
monitoredInfo: ldap
monitorOverlay: rwm
monitorOverlay: rwm
seeAlso: cn=Overlay 0,cn=Overlay,cn=Monitor
seeAlso: cn=Overlay 0,cn=Overlay,cn=Monitor
seeAlso: cn=Backend 3,cn=Backends,cn=Monitor

# search result
search: 2
result: 0 Success

# numResponses: 3
# numEntries: 2

Ciao, p.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497