1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- nmbd/nmbd_winsserver.c.orig Fri Aug 11 12:57:48 2000
+++ nmbd/nmbd_winsserver.c Tue Nov 21 11:16:44 2000
@@ -182,7 +182,7 @@
add_samba_names_to_subnet(wins_server_subnet);
- pstrcpy(fname,lp_lockdir());
+ pstrcpy(fname,"/var/db");
trim_string( fname, strlen( fname )+1, NULL, 0, "/", sizeof( "/" ));
pstrcat(fname,"/");
pstrcat(fname,WINS_LIST);
@@ -1602,7 +1602,7 @@
}
}
- slprintf(fname,sizeof(fname),"%s/%s", lp_lockdir(), WINS_LIST);
+ slprintf(fname,sizeof(fname),"%s/%s", "/var/db", WINS_LIST);
all_string_sub(fname,"//", "/", 0);
slprintf(fnamenew,sizeof(fnamenew),"%s.%u", fname, (unsigned int)getpid());
|