mirror of
https://github.com/samba-team/samba.git
synced 2025-12-06 16:23:49 +03:00
r25430: Add the loadparm context to all parametric options.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
b945aaa9da
commit
fd697d77c9
@@ -164,7 +164,7 @@ struct ldb_context *ldb_wrap_connect(TALLOC_CTX *mem_ctx,
|
||||
}
|
||||
|
||||
/* allow admins to force non-sync ldb for all databases */
|
||||
if (lp_parm_bool(NULL, "ldb", "nosync", false)) {
|
||||
if (lp_parm_bool(global_loadparm, NULL, "ldb", "nosync", false)) {
|
||||
flags |= LDB_FLG_NOSYNC;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user