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
Touch seeded packages, which is subscribed to openldap 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
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp