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

ITS#5858

parent ba659181
......@@ -15,6 +15,7 @@ OpenLDAP 2.4.14 Engineering
Fixed slapd-ldif rename on same DN (ITS#5319)
Fixed slapd-ldif deadlock (ITS#5329)
Fixed slapd-meta double response sending (ITS#5854)
Fixed slapo-ppolicy to not be global (ITS#5858)
Updated contrib/addpartial module (ITS#5764)
Build Environment
Fixed test049,test050 to work on windows (ITS#5842)
......
......@@ -2094,6 +2094,16 @@ ppolicy_db_init(
{
slap_overinst *on = (slap_overinst *) be->bd_info;
if ( SLAP_ISGLOBALOVERLAY( be ) ) {
/* do not allow slapo-ppolicy to be global by now (ITS#5858) */
if ( cr ){
snprintf( cr->msg, sizeof(cr->msg),
"slapo-ppolicy cannot be global" );
fprintf( stderr, "%s\n", cr->msg );
}
return 1;
}
/* Has User Schema been initialized yet? */
if ( !pwd_UsSchema[0].ad[0] ) {
const char *err;
......
Supports Markdown
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