21 lines
573 B
Plaintext
21 lines
573 B
Plaintext
$OpenBSD: patch-pysmb_py,v 1.4 2008/10/27 13:29:13 ajacoutot Exp $
|
|
--- pysmb.py.orig Tue Oct 21 11:02:45 2008
|
|
+++ pysmb.py Mon Oct 27 14:30:20 2008
|
|
@@ -187,13 +187,13 @@ import os
|
|
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 = "${SYSCONFDIR}/samba/smb.conf"
|
|
wsregex = re.compile("\s*wins\s*server.*",re.IGNORECASE)
|
|
|
|
global wins
|