summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-cg
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba/patches/patch-cg')
-rw-r--r--net/samba/patches/patch-cg13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/samba/patches/patch-cg b/net/samba/patches/patch-cg
new file mode 100644
index 00000000000..380cbe3202d
--- /dev/null
+++ b/net/samba/patches/patch-cg
@@ -0,0 +1,13 @@
+$NetBSD: patch-cg,v 1.1.2.2 2007/11/16 15:19:28 ghen Exp $
+
+--- passdb/pdb_tdb.c.orig 2007-03-01 13:54:41.000000000 +0900
++++ passdb/pdb_tdb.c
+@@ -1559,7 +1559,7 @@ static BOOL tdbsam_new_rid(struct pdb_me
+ uint32 rid;
+ BOOL ret = False;
+
+- tdb = tdb_open_log(lock_path("winbindd_idmap.tdb"), 0,
++ tdb = tdb_open_log(state_path("winbindd_idmap.tdb"), 0,
+ TDB_DEFAULT, O_RDWR | O_CREAT, 0644);
+
+ if (tdb == NULL) {