]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorHoward Chu <hyc@openldap.org>
Sat, 24 Feb 2007 17:34:40 +0000 (17:34 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 24 Feb 2007 17:34:40 +0000 (17:34 +0000)
servers/slapd/bconfig.c

index 6385306f1aa5e5338320a2c0d1de7f9e0b216e2c..09ed0a919381ace55b167e7470ae802cb6429adf 100644 (file)
@@ -5368,6 +5368,7 @@ config_build_entry( Operation *op, SlapReply *rs, CfEntryInfo *parent,
        attr_merge_normalize_one(e, ad, &val, NULL );
 
        oc = main->co_oc;
+       c->table = main->co_type;
        if ( oc->soc_required )
                config_build_attrs( e, oc->soc_required, ad, main->co_table, c );
 
@@ -5376,6 +5377,7 @@ config_build_entry( Operation *op, SlapReply *rs, CfEntryInfo *parent,
 
        if ( extra ) {
                oc = extra->co_oc;
+               c->table = extra->co_type;
                if ( oc->soc_required )
                        config_build_attrs( e, oc->soc_required, ad, extra->co_table, c );