From e281c948cb59c41ccc0fa71a75db57df8a6770ce Mon Sep 17 00:00:00 2001 From: Emmanuel Dreyfus Date: Sat, 10 Jan 2009 11:22:36 +0000 Subject: [PATCH] Move cloak config OID from overlay to contrib branch (ITS#5872) --- contrib/ConfigOIDs | 1 + contrib/slapd-modules/cloak/cloak.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/contrib/ConfigOIDs b/contrib/ConfigOIDs index df004580d3..ebc1825b6c 100644 --- a/contrib/ConfigOIDs +++ b/contrib/ConfigOIDs @@ -3,3 +3,4 @@ List of OpenLDAP Configuration OIDs allocated to contrib modules OLcfgCt{Oc|At}:1 smbk5pwd OLcfgCt{Oc|At}:2 autogroup OLcfgCt{Oc|At}:3 nssov +OLcfgCt{Oc|At}:4 cloak diff --git a/contrib/slapd-modules/cloak/cloak.c b/contrib/slapd-modules/cloak/cloak.c index a099ccecd3..5e4f11d0e5 100644 --- a/contrib/slapd-modules/cloak/cloak.c +++ b/contrib/slapd-modules/cloak/cloak.c @@ -282,7 +282,7 @@ static slap_overinst cloak_ovl; static ConfigTable cloakcfg[] = { { "cloak-attr", "attribute [class]", 2, 3, 0, ARG_MAGIC|CLOAK_ATTR, cloak_cfgen, - "( OLcfgOvAt:22.1 NAME 'olcCloakAttribute' " + "( OLcfgCtAt:4.1 NAME 'olcCloakAttribute' " "DESC 'Cloaked attribute: attribute [class]' " "EQUALITY caseIgnoreMatch " "SYNTAX OMsDirectoryString " @@ -292,7 +292,7 @@ static ConfigTable cloakcfg[] = { }; static ConfigOCs cloakocs[] = { - { "( OLcfgOvOc:22.1 " + { "( OLcfgCtOc:4.1 " "NAME 'olcCloakConfig' " "DESC 'Attribute cloak configuration' " "SUP olcOverlayConfig " -- 2.39.5