[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#6075) slapo-collect: olcCollectInfo: no equality matching rule



Full_Name: Daniel Pluta
Version: 2.4.16
OS: Linux
URL: ftp://ftp.openldap.org/incoming/daniel-pluta-090423.patch
Submission from: (NULL) (91.12.202.8)


It's impossible to delete one value from the multi-valued olcCollectInfo in case
there are more than 1 olcCollectInfo values configured...

Error: "olcCollectInfo: no equality matching rule"

I've uploaded a small patch here:
ftp://ftp.openldap.org/incoming/daniel-pluta-090423.patch


I'm not sure whether ORDERING and SUBSTRINGMATCH are neccessary, optional or
even wrong(?). Perhab's they can (have to?) be omitted - please see below...



Index: ldap/servers/slapd/overlays/collect.c
===================================================================
RCS file: /repo/OpenLDAP/pkg/ldap/servers/slapd/overlays/collect.c,v
retrieving revision 1.5.2.8
diff -u -r1.5.2.8 collect.c
--- ldap/servers/slapd/overlays/collect.c   22 Jan 2009 00:01:12 -0000  1.5.2.8
+++ ldap/servers/slapd/overlays/collect.c   23 Apr 2009 20:00:02 -0000
@@ -230,6 +230,9 @@
      ARG_MAGIC, collect_cf,
      "( OLcfgOvAt:19.1 NAME 'olcCollectInfo' "
      "DESC 'DN of entry and attribute to distribute' "
+     "EQUALITY caseIgnoreMatch "
+     "ORDERING caseIgnoreOrderingMatch "
+     "SUBSTR caseIgnoreSubstringsMatch "
      "SYNTAX OMsDirectoryString )", NULL, NULL },
    { NULL, NULL, 0, 0, 0, ARG_IGNORED }
 };