s4-dsdb: don't call ldb_next_init() twice in objectclass module
authorAndrew Tridgell <tridge@samba.org>
Mon, 30 Nov 2009 05:48:31 +0000 (16:48 +1100)
committerAndrew Tridgell <tridge@samba.org>
Mon, 30 Nov 2009 05:49:36 +0000 (16:49 +1100)
source4/dsdb/samdb/ldb_modules/objectclass.c

index 82b8835b0b700c5df4de675c9af44ae15cddbd35..c47e3608ab3f1f55ef51a20cf81f44f30b4349e9 100644 (file)
@@ -1150,7 +1150,7 @@ static int objectclass_init(struct ldb_module *module)
        /* Look for the opaque to indicate we might have to cut down the DN of defaultObjectCategory */
        ldb_module_set_private(module, ldb_get_opaque(ldb, DSDB_EXTENDED_DN_STORE_FORMAT_OPAQUE_NAME));
 
-       return ldb_next_init(module);
+       return ret;
 }
 
 _PUBLIC_ const struct ldb_module_ops ldb_objectclass_module_ops = {