ldb:ldb_tdb/ldb_cache.c - in this function we don't use LDB return codes
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Thu, 21 Oct 2010 06:45:06 +0000 (08:45 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Thu, 21 Oct 2010 06:59:59 +0000 (08:59 +0200)
source4/lib/ldb/ldb_tdb/ldb_cache.c

index 6b1eb5b148cdbd45968aaba6fbd80a114a551b72..f318166cebbc4507eca76ee78a4d14e9477ad789 100644 (file)
@@ -120,7 +120,7 @@ static int ltdb_attributes_load(struct ldb_module *module)
        if (ldb->schema.attribute_handler_override) {
                /* we skip loading the @ATTRIBUTES record when a module is supplying
                   its own attribute handling */
-               return LDB_SUCCESS;
+               return 0;
        }
 
        dn = ldb_dn_new(module, ldb, LTDB_ATTRIBUTES);