summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-09-22 04:19:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:41 -0500
commit6fe9eee3c4dbd6fde48a80261f39081e659d2f55 (patch)
treeb01132a41e75318dc0ea13fbb9e065ad944e8be9
parentd78ea3e34abd30fb388c4cc39e12611e211416a6 (diff)
downloadsamba-6fe9eee3c4dbd6fde48a80261f39081e659d2f55.tar.gz
samba-6fe9eee3c4dbd6fde48a80261f39081e659d2f55.tar.bz2
samba-6fe9eee3c4dbd6fde48a80261f39081e659d2f55.zip
r10407: the schannel database does not need to be synchronous (and thus crash
safe) as it is removed on smbd restart (This used to be commit 0951db6a89d15792ee1ea6b9f37c45486958ad57)
-rw-r--r--source4/auth/gensec/schannel_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/gensec/schannel_state.c b/source4/auth/gensec/schannel_state.c
index 4864221ade..632deb4326 100644
--- a/source4/auth/gensec/schannel_state.c
+++ b/source4/auth/gensec/schannel_state.c
@@ -46,7 +46,7 @@ static struct ldb_context *schannel_db_connect(TALLOC_CTX *mem_ctx)
existed = file_exists(path);
- ldb = ldb_wrap_connect(mem_ctx, path, 0, NULL);
+ ldb = ldb_wrap_connect(mem_ctx, path, LDB_FLG_NOSYNC, NULL);
talloc_free(path);
if (!ldb) {
return NULL;