mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s4: the secrets.ldb module needs the loadparm opaque setup
This commit is contained in:
parent
04ea250aeb
commit
8ce73c6c50
@ -119,6 +119,13 @@ struct ldb_context *secrets_db_connect(TALLOC_CTX *mem_ctx,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* the update_keytab module relies on this being setup */
|
||||
if (ldb_set_opaque(ldb, "loadparm", lp_ctx) != LDB_SUCCESS) {
|
||||
talloc_free(path);
|
||||
talloc_free(ldb);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
talloc_free(path);
|
||||
|
||||
return ldb;
|
||||
|
Loading…
Reference in New Issue
Block a user