summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-bk
blob: 5451544e12a160f572e004be22f5cbbc5a0e164e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-bk,v 1.2 2006/01/02 22:33:36 jlam Exp $

--- utils/net_idmap.c.orig	2005-11-09 13:29:02.000000000 -0500
+++ utils/net_idmap.c
@@ -136,7 +136,7 @@ static NTSTATUS net_idmap_fixup_hwm(void
 		return NT_STATUS_UNSUCCESSFUL;
 	}
 
-	tdbfile = SMB_STRDUP(lock_path("winbindd_idmap.tdb"));
+	tdbfile = SMB_STRDUP(state_path("winbindd_idmap.tdb"));
 	if (!tdbfile) {
 		DEBUG(0, ("idmap_init: out of memory!\n"));
 		return NT_STATUS_NO_MEMORY;