From 4a7552583538f61481e7ffec4ee0b87a9d580296 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Kuzn=C3=ADk?= Date: Thu, 26 May 2022 16:44:56 +0100 Subject: [PATCH] ITS#9020 Reinstate olcAutomaticGroups and document its deprecation --- contrib/slapd-modules/autogroup/autogroup.c | 2 +- contrib/slapd-modules/autogroup/slapo-autogroup.5 | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/contrib/slapd-modules/autogroup/autogroup.c b/contrib/slapd-modules/autogroup/autogroup.c index c2ee4e7ed2..cba9b2a4cb 100644 --- a/contrib/slapd-modules/autogroup/autogroup.c +++ b/contrib/slapd-modules/autogroup/autogroup.c @@ -1709,7 +1709,7 @@ static ConfigTable agcfg[] = { static ConfigOCs agocs[] = { { "( OLcfgCtOc:2.1 " - "NAME 'olcAutoGroupConfig' " + "NAME ( 'olcAutoGroupConfig' 'olcAutomaticGroups' ) " "DESC 'Automatic groups configuration' " "SUP olcOverlayConfig " "MAY ( " diff --git a/contrib/slapd-modules/autogroup/slapo-autogroup.5 b/contrib/slapd-modules/autogroup/slapo-autogroup.5 index 86fa1a1938..4c6414d3ec 100644 --- a/contrib/slapd-modules/autogroup/slapo-autogroup.5 +++ b/contrib/slapd-modules/autogroup/slapo-autogroup.5 @@ -93,10 +93,15 @@ The autogroup overlay has been reworked with the 2.5 release to use a consistent namespace as with other overlays. As a side-effect the following cn=config parameters are deprecated and will be removed in a future release: +.IP \[bu] 2 .B olcAGattrSet is replaced with olcAutoGroupAttrSet +.IP \[bu] .B olcAGmemberOfAd is replaced with olcAutoGroupMemberOfAd +.IP \[bu] +.B olcAutomaticGroups +is replaced with olcAutoGroupConfig .SH ACKNOWLEDGEMENTS This module was originally written in 2007 by Michał Szulczyński. Further enhancements were contributed by Howard