r20971: we don't need this check twice:-)
authorStefan Metzmacher <metze@samba.org>
Tue, 23 Jan 2007 12:06:52 +0000 (12:06 +0000)
committerStefan Metzmacher <metze@samba.org>
Tue, 23 Jan 2007 12:06:52 +0000 (12:06 +0000)
metze

source/dsdb/samdb/ldb_modules/repl_meta_data.c

index d326b58159bdce0113ab2a73f038c964f25ecfae..0ea73dcbd4cf37ca01f129291e9bd036d4fbe5c8 100644 (file)
@@ -264,13 +264,6 @@ static int replmd_prepare_originating(struct ldb_module *module, struct ldb_requ
                return ldb_next_request(module, req);
        }
 
-       schema = dsdb_get_schema(module->ldb);
-       if (!schema) {
-               ldb_debug_set(module->ldb, LDB_DEBUG_FATAL,
-                             "replmd_modify: no dsdb_schema loaded");
-               return LDB_ERR_CONSTRAINT_VIOLATION;
-       }
-
        schema = dsdb_get_schema(module->ldb);
        if (!schema) {
                ldb_debug_set(module->ldb, LDB_DEBUG_FATAL,