Change-Id: I88ee188c776364fd66da388ce01fc9288aa2ded0
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit
822b4927288231b7a90579af9792608a0bdef706)
TALLOC_CTX *tmp_ctx;
if (!data || !data->metadata) {
TALLOC_CTX *tmp_ctx;
if (!data || !data->metadata) {
- return ldb_module_error(module, LDB_ERR_OPERATIONS_ERROR,
- "schema: metadata tdb not initialized");
+ *value = default_value;
+ return LDB_SUCCESS;
}
tmp_ctx = talloc_new(NULL);
}
tmp_ctx = talloc_new(NULL);