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

--- nsswitch/winbindd_util.c.orig	2005-10-12 13:03:28.000000000 -0400
+++ nsswitch/winbindd_util.c
@@ -1159,7 +1159,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 */