]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit, extra objectclass table
authorHoward Chu <hyc@openldap.org>
Mon, 9 May 2005 05:14:59 +0000 (05:14 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 9 May 2005 05:14:59 +0000 (05:14 +0000)
servers/slapd/bconfig.c

index e259a02e433a8bf643e293a052ce1c51cc45e8b0..b2dc01de7e41769da3e70fd39e1001614f2cfa75 100644 (file)
@@ -3661,10 +3661,10 @@ config_build_entry( Operation *op, SlapReply *rs, CfEntryInfo *parent,
        if ( extra ) {
                oc = extra->co_oc;
                if ( oc->soc_required )
-                       config_build_attrs( e, oc->soc_required, ad, main->co_table, c );
+                       config_build_attrs( e, oc->soc_required, ad, extra->co_table, c );
 
                if ( oc->soc_allowed )
-                       config_build_attrs( e, oc->soc_allowed, ad, main->co_table, c );
+                       config_build_attrs( e, oc->soc_allowed, ad, extra->co_table, c );
        }
 
        oc_at = attr_find( e->e_attrs, slap_schema.si_ad_objectClass );