[Bug 1891548] Re: autofs-ldap's /etc/ldap/schema/autofs.schema crashes slapd

Ryan Tandy 1891548 at bugs.launchpad.net
Fri Aug 14 15:51:51 UTC 2020


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 ( 1.3.6.1.4.1.2312.4.1.2 NAME 'automountInformation'
 	DESC 'Information used by the autofs automounter'
-	EQUALITY caseExactMatch
+	EQUALITY caseExactIA5Match
 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

 objectclass ( 1.3.6.1.4.1.2312.4.2.3 NAME 'automount' SUP top
STRUCTURAL

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autofs in Ubuntu.
https://bugs.launchpad.net/bugs/1891548

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

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

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 autofs
  ii  slapd          2.4.49+dfsg-2ubuntu1.3 amd64        OpenLDAP server (slapd)

  Expected:
  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:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1891548/+subscriptions



More information about the foundations-bugs mailing list