Commit 84fba4c1 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#5649

parent 7ea6caa9
......@@ -4,6 +4,7 @@ OpenLDAP 2.4.12 Engineering
Fixed liblutil executables on Windows (ITS#5604)
Fixed slapd custom attribute inheritance (ITS#5642)
Fixed slapd firstComponentMatch normalization (ITS#5634)
Fixed slapd overlay control registration (ITS#5649)
Fixed slapd socket closing on Windows (ITS#5606)
Fixed slapd-ldap,slapd-meta invalid filter behavior (ITS#5614)
Fixed slapd-meta quarantine behavior (ITS#5592)
......
......@@ -1063,7 +1063,7 @@ overlay_register_control( BackendDB *be, const char *oid )
/* add to all backends... */
LDAP_STAILQ_FOREACH( bd, &backendDB, be_next ) {
if ( be == bd ) {
if ( bd == be->bd_self ) {
gotit = 1;
}
......@@ -1074,8 +1074,8 @@ overlay_register_control( BackendDB *be, const char *oid )
}
if ( !gotit ) {
be->be_ctrls[ cid ] = 1;
be->be_ctrls[ SLAP_MAX_CIDS ] = 1;
be->bd_self->be_ctrls[ cid ] = 1;
be->bd_self->be_ctrls[ SLAP_MAX_CIDS ] = 1;
}
return 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment