Index: src/sambaBackend.py =================================================================== RCS file: /usr/local/CVS/redhat-config-samba/src/sambaBackend.py,v retrieving revision 1.14 diff -u -b -B -r1.14 sambaBackend.py --- src/sambaBackend.py 4 Mar 2004 23:55:01 -0000 1.14 +++ src/sambaBackend.py 22 Sep 2006 04:35:54 -0000 @@ -31,7 +31,7 @@ class SambaBackend: def isSmbRunning(self): - fd = os.popen('LC_MESSAGES=C /etc/init.d/smb status') + fd = os.popen('LC_MESSAGES=C /etc/init.d/samba status') lines = fd.readlines() fd.close() @@ -43,14 +43,14 @@ return 1 def startSamba(self): - path = '/sbin/service' - args = ['/sbin/service', 'smb', 'start'] + path = '/etc/init.d/samba' + args = ['/etc/init.d/samba', 'start'] - fd = os.popen('/sbin/service smb start') + fd = os.popen('/etc/init.d/samba start') lines = fd.readlines() fd.close() def restartSamba(self): - fd = os.popen('/sbin/service smb restart') + fd = os.popen('/etc/init.d/samba restart') lines = fd.readlines() fd.close() Index: src/sambaUserData.py =================================================================== RCS file: /usr/local/CVS/redhat-config-samba/src/sambaUserData.py,v retrieving revision 1.31 diff -u -b -B -r1.31 sambaUserData.py --- src/sambaUserData.py 1 Apr 2005 15:35:37 -0000 1.31 +++ src/sambaUserData.py 22 Sep 2006 04:35:54 -0000 @@ -42,7 +42,7 @@ def readSmbPasswdFile(self): #Let's check to see if smbpasswd exists - path = '/etc/samba/smbpasswd' + path = '/var/lib/samba/private/smbpasswd' list = [] if os.access(path, os.F_OK) == 1: