mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
dsdb: Do not give an error is metadata.tdb does not yet exist
Change-Id: I88ee188c776364fd66da388ce01fc9288aa2ded0 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
d62e0f8a25
commit
822b492728
@ -113,8 +113,8 @@ static int schema_metadata_get_uint64(struct ldb_module *module,
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user