aboutsummaryrefslogtreecommitdiffstats
path: root/net/samba/files/patch-ag
blob: eac80026a659b7af6171c76c574cfc14d5445879 (plain) (blame)
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 Wed Jul 21 10:25:11 1999
+++ nmbd/nmbd_winsserver.c  Fri Jul 23 15:14:33 1999
@@ -152,7 +152,7 @@
   start_async_dns();
 #endif
 
-  pstrcpy(fname,lp_lockdir());
+  pstrcpy(fname,"/var/db");
   trim_string(fname,NULL,"/");
   pstrcat(fname,"/");
   pstrcat(fname,WINS_LIST);
@@ -1551,7 +1551,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());