summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-06-04 05:13:59 +0000
committerAndrew Tridgell <tridge@samba.org>2001-06-04 05:13:59 +0000
commit05fc3e578c895f632b351969d09cd00feb7599c7 (patch)
tree8dca3af624421a6f3ea664e14e5666da37aefb46 /source3/nsswitch
parentf903ec893ad7aff832193bcd7035be3ee9c65c22 (diff)
downloadsamba-05fc3e578c895f632b351969d09cd00feb7599c7.tar.gz
samba-05fc3e578c895f632b351969d09cd00feb7599c7.tar.bz2
samba-05fc3e578c895f632b351969d09cd00feb7599c7.zip
use LDSHFLAGS not -shared in several places
(This used to be commit 8ec9c87b5d1a7dae17d5b1a30f58effaf5e69e4b)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_cache.c2
-rw-r--r--source3/nsswitch/winbindd_idmap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c
index 2e404a7eb0..07b1cab583 100644
--- a/source3/nsswitch/winbindd_cache.c
+++ b/source3/nsswitch/winbindd_cache.c
@@ -39,7 +39,7 @@ void winbindd_cache_init(void)
{
/* Open tdb cache */
- if (!(cache_tdb = tdb_open(lock_path("winbindd_cache.tdb"), 0,
+ if (!(cache_tdb = tdb_open_log(lock_path("winbindd_cache.tdb"), 0,
TDB_NOLOCK, O_RDWR | O_CREAT | O_TRUNC,
0600))) {
DEBUG(0, ("Unable to open tdb cache - user and group caching "
diff --git a/source3/nsswitch/winbindd_idmap.c b/source3/nsswitch/winbindd_idmap.c
index 2bb942396b..73d24f19f6 100644
--- a/source3/nsswitch/winbindd_idmap.c
+++ b/source3/nsswitch/winbindd_idmap.c
@@ -215,7 +215,7 @@ BOOL winbindd_idmap_init(void)
{
/* Open tdb cache */
- if (!(idmap_tdb = tdb_open(lock_path("winbindd_idmap.tdb"), 0,
+ if (!(idmap_tdb = tdb_open_log(lock_path("winbindd_idmap.tdb"), 0,
TDB_NOLOCK, O_RDWR | O_CREAT, 0600))) {
DEBUG(0, ("Unable to open idmap database\n"));
return False;