msp3k is correct. The bug is in autofs-ldap, not in slapd. slapd is
correct to reject "caseExactMatch" since the attribute syntax is IA5
String. The correct fix is what msp3k said, fix the matching rule to be
caseExactIA5Match like it was in the old one.

--- /etc/ldap/schema/autofs.schema      2020-08-14 15:50:36.678109301 +0000
+++ /etc/ldap/schema/autofs.schema      2020-08-14 15:50:46.506246431 +0000
@@ -10,7 +10,7 @@

 attributetype ( NAME 'automountInformation'
        DESC 'Information used by the autofs automounter'
-       EQUALITY caseExactMatch
+       EQUALITY caseExactIA5Match

 objectclass ( NAME 'automount' SUP top

You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openldap in Ubuntu.

  autofs-ldap's /etc/ldap/schema/autofs.schema crashes slapd

Status in autofs package in Ubuntu:
Status in openldap package in Ubuntu:

Bug description:
  Ubuntu Release:
  # lsb_release -rd
  Description:  Ubuntu 20.04.1 LTS
  Release:      20.04

  Version of packages in use:
  # dpkg -l autofs autofs-ldap slapd | grep '^ii'
  ii  autofs         5.1.6-2ubuntu0.1       amd64        kernel-based 
automounter for Linux
  ii  autofs-ldap    5.1.6-2ubuntu0.1       amd64        LDAP map support for 
  ii  slapd          2.4.49+dfsg-2ubuntu1.3 amd64        OpenLDAP server (slapd)

  No errors from slaptest

  Actual Output:
  5f359370 /etc/ldap/schema/autofs.schema: line 14 attributetype: AttributeType 
inappropriate matching rule: "caseExactMatch"

To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to