summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-bj
blob: e05e7392909c7bce32f1543c1967d647d728a14e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-bj,v 1.1 2005/11/14 08:05:28 jlam Exp $

--- sam/idmap_tdb.c.orig	2005-10-12 13:03:37.000000000 -0400
+++ sam/idmap_tdb.c
@@ -487,7 +487,7 @@ static NTSTATUS db_idmap_init( char *par
 	BOOL tdb_is_new = False;
 
 	/* use the old database if present */
-	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;