summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-23 12:06:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:44:05 -0500
commit6fda023f80cdb28a43e45aee1b5312bafca95b8a (patch)
tree79d1f3dd250f3a7142de65f708c895de8d21c4f5 /source4
parent97666f12a42dfe04916a9f6397a1c1efd0be75a0 (diff)
downloadsamba-6fda023f80cdb28a43e45aee1b5312bafca95b8a.tar.gz
samba-6fda023f80cdb28a43e45aee1b5312bafca95b8a.tar.bz2
samba-6fda023f80cdb28a43e45aee1b5312bafca95b8a.zip
r20971: we don't need this check twice:-)
metze (This used to be commit b7d48274a7341c5e4a3f103387f87fcc94853271)
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/repl_meta_data.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
index d326b58159..0ea73dcbd4 100644
--- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
+++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
@@ -267,13 +267,6 @@ static int replmd_prepare_originating(struct ldb_module *module, struct ldb_requ
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,
"%s: no dsdb_schema loaded",
fn_name);
return LDB_ERR_CONSTRAINT_VIOLATION;