Commit 51c913d8 authored by Howard Chu's avatar Howard Chu
Browse files

Fix missing break's, add overlay works

parent a2348970
......@@ -3163,6 +3163,7 @@ config_add_internal( CfBackInfo *cfb, Entry *e, SlapReply *rs, int *renum )
rc = LDAP_CONSTRAINT_VIOLATION;
goto leave;
}
break;
#ifdef SLAPD_MODULES
case Cft_Module:
if ( !last || last->ce_type != Cft_Global ) {
......@@ -3205,11 +3206,13 @@ config_add_internal( CfBackInfo *cfb, Entry *e, SlapReply *rs, int *renum )
case Cft_Overlay:
ca.be = last->ce_be;
type_ad = cfAd_overlay;
break;
case Cft_Include:
if ( !rs ) /* ignored */
break;
type_ad = cfAd_include;
break;
#ifdef SLAPD_MODULES
case Cft_Module: {
ModPaths *mp;
......
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