git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ba1444
)
s4:winsdb: place wins.ldb in "state dir" instead of "lock dir"
author
Stefan Metzmacher
<metze@samba.org>
Tue, 12 Jul 2011 11:52:54 +0000
(13:52 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 12 Jul 2011 14:16:45 +0000
(16:16 +0200)
It's not only a cache as we also support static records.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Jul 12 16:16:45 CEST 2011 on sn-devel-104
source4/nbt_server/wins/winsdb.c
patch
|
blob
|
history
diff --git
a/source4/nbt_server/wins/winsdb.c
b/source4/nbt_server/wins/winsdb.c
index 4a1486092b247fb958d723e60590717e941d8816..67274454372cf496170bc6cf6721803fe55674ac 100644
(file)
--- a/
source4/nbt_server/wins/winsdb.c
+++ b/
source4/nbt_server/wins/winsdb.c
@@
-975,7
+975,7
@@
static bool winsdb_check_or_add_module_list(struct tevent_context *ev_ctx,
flags |= LDB_FLG_NOSYNC;
}
- h->ldb = ldb_wrap_connect(h, ev_ctx, lp_ctx, lpcfg_
lock
_path(h, lp_ctx, lpcfg_wins_url(lp_ctx)),
+ h->ldb = ldb_wrap_connect(h, ev_ctx, lp_ctx, lpcfg_
state
_path(h, lp_ctx, lpcfg_wins_url(lp_ctx)),
NULL, NULL, flags);
if (!h->ldb) goto failed;