ITS#9664 Add normalised suffix into rootDSE for ACL, etc.

This was removed in ITS#5540 since there was no EQUALITY matching rule,
but that situation changed in ITS#8341 and we need to add it back.
This commit is contained in:
Ondřej Kuzník 2021-09-08 16:17:06 +01:00
parent d52c60a0aa
commit 2958925ca1

View File

@ -278,12 +278,9 @@ fail:
if ( SLAP_GLUE_SUBORDINATE( be ) && !SLAP_GLUE_ADVERTISE( be ) ) {
continue;
}
for ( j = 0; be->be_suffix[j].bv_val != NULL; j++ ) {
if( attr_merge_one( e, ad_namingContexts,
&be->be_suffix[j], NULL ) )
{
goto fail;
}
if ( attr_merge( e, ad_namingContexts,
be->be_suffix, be->be_nsuffix ) ) {
goto fail;
}
}