Bug in samples/autofs.schema file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This bug starts with version 5.1.3, and continues up to and including
the latest 5.1.6.  Version 5.1.2 was fine.

When slapd is invoked while including the sample LDAP schema file
autofs.schema, slapd will crash with the following error:

5f359370 /<path-to>/autofs.schema: line 14 attributetype: 
AttributeType inappropriate matching rule: "caseExactMatch"

The problem is on line 13, which reads:

  EQUALITY caseExactMatch

It should read:

  EQUALITY caseExactIA5Match

Attached is a patch that will make the necessary change to
samples/autofs.schema that works for all versions 5.1.3 to 5.1.6.

Thanks,

Michael Peek
diff -ur autofs-5.1.3.orig/samples/autofs.schema autofs-5.1.3/samples/autofs.schema
--- autofs-5.1.3.orig/samples/autofs.schema	2017-05-23 22:16:59.000000000 -0400
+++ autofs-5.1.3/samples/autofs.schema	2020-08-19 11:47:54.075662263 -0400
@@ -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

[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux