blob: 648837de6d98de6c741b67be202137f88be406d6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- pysmb.py.orig 2008-03-20 11:55:30.000000000 -0400
+++ pysmb.py 2008-03-20 11:56:22.000000000 -0400
@@ -24,13 +24,13 @@
import sys
import re
-nmblookup = "/usr/bin/nmblookup"
-smbclient = "/usr/bin/smbclient"
+nmblookup = "%%LOCALBASE%%/bin/nmblookup"
+smbclient = "%%LOCALBASE%%/bin/smbclient"
wins = None
def get_wins_server():
- smbconf = "/etc/samba/smb.conf"
+ smbconf = "%%LOCALBASE%%/etc/smb.conf"
wsregex = re.compile("\s*wins\s*server.*",re.IGNORECASE)
global wins
|