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

(ITS#6986) conversion to run-time configuration (RTC) for slapo-constraint



Full_Name: Florian Dufner
Version: 2.4.26
OS: SunOS sun 5.10 i86pc
URL: 
Submission from: (NULL) (91.16.117.246)


Conversion to run-time configuration (RTC) does not work with every
configuration option of slapo-constraint.

Problem #1: (count constraints)
constraint_attribute mail count 1
is converted to
olcConstraintAttribute:: bWFpbCBjb3VudCA=

The attribute is garbled after conversion. slapd will not run until this is
fixed.

Problem #2: (restrict parameter)
constraint_attribute mail regex ^[[:alnum:].-]+@host$
restrict="ldap:///ou=people,dc=host??sub?(objectClass=posixAccount)"
is converted to
olcConstraintAttribute: mail regex ^[[:alnum:].-]+@host$ restr
 ict="restrict=ldap:///ou=people,dc=host??sub?(obj
 ectClass=posixAccount)"

The complete restrict parameter from the old configuration format (including
"restrict=") is appended after a "restrict=".
slapd will not run until this is fixed.