summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-bf
blob: 48a42e222fab5209ed9328981959250a86a04f60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-bf,v 1.3 2006/04/01 04:55:35 jlam Exp $

--- nsswitch/winbindd_util.c.orig	2006-01-24 18:46:34.000000000 -0500
+++ nsswitch/winbindd_util.c
@@ -1172,7 +1172,7 @@ BOOL winbindd_upgrade_idmap(void)
 	SMB_STRUCT_STAT stbuf;
 	TDB_CONTEXT *idmap_tdb;
 
-	pstrcpy(idmap_name, lock_path("winbindd_idmap.tdb"));
+	pstrcpy(idmap_name, state_path("winbindd_idmap.tdb"));
 
 	if (!file_exist(idmap_name, &stbuf)) {
 		/* nothing to convert return */