summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-cf
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba/patches/patch-cf')
-rw-r--r--net/samba/patches/patch-cf13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/samba/patches/patch-cf b/net/samba/patches/patch-cf
new file mode 100644
index 00000000000..22e782fe904
--- /dev/null
+++ b/net/samba/patches/patch-cf
@@ -0,0 +1,13 @@
+$NetBSD: patch-cf,v 1.1.2.2 2007/11/16 15:19:28 ghen Exp $
+
+--- nsswitch/idmap_tdb.c.orig 2007-05-11 07:09:34.000000000 +0900
++++ nsswitch/idmap_tdb.c
+@@ -247,7 +247,7 @@ static NTSTATUS idmap_tdb_open_db(TALLOC
+ }
+
+ /* use the old database if present */
+- tdbfile = talloc_strdup(ctx, lock_path("winbindd_idmap.tdb"));
++ tdbfile = talloc_strdup(ctx, state_path("winbindd_idmap.tdb"));
+ if (!tdbfile) {
+ DEBUG(0, ("Out of memory!\n"));
+ ret = NT_STATUS_NO_MEMORY;