mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s4-samdb: enable ldb tracing when log level >= 10
This commit is contained in:
parent
ac56fed2f4
commit
a5cdf36c3f
@ -169,6 +169,10 @@ struct ldb_context *ldb_wrap_connect(TALLOC_CTX *mem_ctx,
|
||||
flags |= LDB_FLG_NOSYNC;
|
||||
}
|
||||
|
||||
if (DEBUGLVL(10)) {
|
||||
flags |= LDB_FLG_ENABLE_TRACING;
|
||||
}
|
||||
|
||||
/* we usually want Samba databases to be private. If we later
|
||||
find we need one public, we will need to add a parameter to
|
||||
ldb_wrap_connect() */
|
||||
|
Loading…
Reference in New Issue
Block a user