From: Ondřej Kuzník Date: Thu, 9 Sep 2021 09:23:37 +0000 (+0100) Subject: ITS#8341 Allow normalised values for namingContexts in cn=monitor X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfe3d19e95a9d7c6cdcb78810825388b23e7d8c2;p=thirdparty%2Fopenldap.git ITS#8341 Allow normalised values for namingContexts in cn=monitor --- diff --git a/servers/slapd/back-monitor/database.c b/servers/slapd/back-monitor/database.c index 34d21dd6d1..611d9f5046 100644 --- a/servers/slapd/back-monitor/database.c +++ b/servers/slapd/back-monitor/database.c @@ -168,7 +168,7 @@ monitor_subsys_overlay_init_one( } else { attr_merge( e_overlay, slap_schema.si_ad_namingContexts, - be->be_suffix, NULL ); + be->be_suffix, be->be_nsuffix ); } mp_overlay = monitor_entrypriv_create(); @@ -254,9 +254,9 @@ monitor_subsys_database_init_one( } else { attr_merge( e, slap_schema.si_ad_namingContexts, - be->be_suffix, NULL ); + be->be_suffix, be->be_nsuffix ); attr_merge( e_database, slap_schema.si_ad_namingContexts, - be->be_suffix, NULL ); + be->be_suffix, be->be_nsuffix ); if ( SLAP_GLUE_SUBORDINATE( be ) ) { BackendDB *sup_be = select_backend( &be->be_nsuffix[ 0 ], 1 );