Hi,

 

I've upgraded openldap 2.4.57 to 2.4.59 on FreeBSD 12.2 using portmaster,

what has always worked over the last few years.

 

After upgrade the config seems to be bad which hasn't changed…?

 

root@openldap2:/usr/local/etc/openldap # /usr/local/libexec/slapd -Tt -u

60d0a1cd PROXIED attributeDescription "O" inserted.

60d0a1cd UNKNOWN attributeDescription "OLCRWMTFSUPPORT" inserted.

60d0a1cd UNKNOWN attributeDescription "OLCRWMNORMALIZEMAPPED" inserted.

60d0a1cd UNKNOWN attributeDescription "OLCRWMREWRITE" inserted.

60d0a1cd config error processing olcOverlay={0}rwm,olcDatabase={-1}frontend,cn=config: 

slaptest: bad configuration file!

 

dn: olcOverlay={0}rwm

objectClass: olcOverlayConfig

objectClass: olcRwmConfig

olcOverlay: {0}rwm

olcRwmTFSupport: false

olcRwmNormalizeMapped: FALSE

structuralObjectClass: olcRwmConfig

olcRwmRewrite: {0}rwm-rewriteEngine "on"

olcRwmRewrite: {1}rwm-rewriteMap "ldap" "attr2dn" 

 "ldap://localhost/o=abc.org?dn?sub"

olcRwmRewrite: {2}rwm-rewriteContext "bindDN"

olcRwmRewrite: {3}rwm-rewriteRule "^eduPersonPrincipalName=[^,]+@[^,]+$" "${

 attr2dn($0)}" ":@I"

 

Does anyone have a hint what's going wrong?

 

Thanks,

Christian