summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-08-18 15:12:08 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-08-18 15:12:08 +1000
commit4c18073b139ddccf5593401b08e55eda937db3e6 (patch)
treecbdb01a096c927ab16af62d75d0090bd6d4c5bbf /source4/dsdb
parent5c6364ba0655316294833f192281d49a4de63b0c (diff)
downloadsamba-4c18073b139ddccf5593401b08e55eda937db3e6.tar.gz
samba-4c18073b139ddccf5593401b08e55eda937db3e6.tar.bz2
samba-4c18073b139ddccf5593401b08e55eda937db3e6.zip
Ensure we fail to proceed if the schema won't load.
(This used to be commit 07107c45c35a11979bf68a14b2c4df9415880fcb)
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/schema_fsmo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/schema_fsmo.c b/source4/dsdb/samdb/ldb_modules/schema_fsmo.c
index 706b7b18b7..968b19c038 100644
--- a/source4/dsdb/samdb/ldb_modules/schema_fsmo.c
+++ b/source4/dsdb/samdb/ldb_modules/schema_fsmo.c
@@ -125,6 +125,7 @@ static int schema_fsmo_init(struct ldb_module *module)
"schema_fsmo_init: dsdb_schema load failed: %s",
error_string);
talloc_free(mem_ctx);
+ return ret;
}
/* dsdb_set_schema() steal schema into the ldb_context */