Issue 8214 - slapo-rwm silently fails to convert config lines without rwm- prefix to cn=config
Summary: slapo-rwm silently fails to convert config lines without rwm- prefix to cn=co...
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: documentation (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: 2.5.1
Assignee: Quanah Gibson-Mount
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-08 17:54 UTC by Ryan Tandy
Modified: 2021-02-08 17:52 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Ryan Tandy 2015-08-08 17:54:32 UTC
Full_Name: Ryan Tandy
Version: 
OS: 
URL: 
Submission from: (NULL) (24.68.37.4)
Submitted by: ryan


A slapd.conf stanza like:

overlay rwm
rewriteEngine on

works correctly in normal usage.

Converting this to cn=config does not emit any olcRwmRewrite values, but
succeeds nonetheless.

The prefixed version:

overlay rwm
rwm-rewriteEngine on

is converted correctly.

In general, cn=config doesn't accept the unprefixed values at all, which is
fine, but at least trying to ldapadd such a value returns an error.

Considering this unimportant for now since the omitting the prefix is "strongly
discouraged" by the man page.
Comment 1 Quanah Gibson-Mount 2017-04-12 16:54:35 UTC
moved from Incoming to Software Bugs
Comment 2 Quanah Gibson-Mount 2021-01-25 17:43:59 UTC
Update man page to note that invalid configuration may not be converted correctly.
Comment 4 Quanah Gibson-Mount 2021-01-26 18:33:21 UTC
trunk:

  • 7d096281 
by Quanah Gibson-Mount at 2021-01-26T15:59:43+00:00 
ITS#8214 - Fix man page to require rwm prefix