View Full Version : system-config-samba update!! w00t!!
Thetargos
2004-09-27, 12:12 AM CDT
Just for those of you who got frustrated with the poor system-config-samba package from FC2 which prevented you from adding users, there's an updated version now!! Get it while it's hot!
superbnerd
2004-09-27, 12:18 AM CDT
you can add users under the preference menu.
finally an official update that doesn't have have dependency problems!
Thetargos
2004-09-27, 12:42 AM CDT
Yes, I know, but many users were affected by this bug.
ghenry
2004-09-27, 09:59 AM CDT
Trying now.
mugs
2004-09-28, 03:53 AM CDT
Well, I upgraded, and just like with the previous version, I cant get it to start. Nothing happens.... :confused:
superbnerd
2004-09-28, 04:04 AM CDT
What exactly doesn't start, system-config-samba or samba? try it from the command line. It should print out any errors. Is your system a fresh install or an upgrade, and how did you install samaba?
mugs
2004-10-05, 04:16 PM CDT
the config wont start. Here are the errors I get:
[mugs@dhcppc1 mugs]$ system-config-samba
Traceback (most recent call last):
File "/usr/share/system-config-samba/system-config-samba.py", line 38, in ?
mainWindow.MainWindow(debug_flag)
File "/usr/share/system-config-samba/mainWindow.py", line 75, in __init__
self.samba_data = sambaParser.SambaParser(self)
File "/usr/share/system-config-samba/sambaParser.py", line 40, in __init__
self.parseFile()
File "/usr/share/system-config-samba/sambaParser.py", line 71, in parseFile
token = self.createToken(line)
File "/usr/share/system-config-samba/sambaParser.py", line 143, in createToken
token = sambaToken.SambaToken(sambaToken.SambaToken.SAMBA_ TOKEN_KEYVAL, (name, value), self.parent)
File "/usr/share/system-config-samba/sambaToken.py", line 36, in __init__
raise AttributeError, value
AttributeError: ('server signing', 'Auto')
Thanks.
Thetargos
2004-10-05, 04:54 PM CDT
This is odd. In the last days I've seen a rampant number of python applications crashing, specifically those for admin programs (system-config-network [on my home server], system-config-printer[-gui], system-config-nfs and some others). I really don't understand why are so many python applications crashing.
StoneBrooks
2004-10-07, 05:58 PM CDT
I was getting this error. I found out that it was because my smbpassword was blank. All I did was open /etc/samba/smbpasswd and added a # to the start of the file. And then system-config-samba was able to launch.
[root@pdx03-linux-01 /]# system-config-samba
Traceback (most recent call last):
File "/usr/share/system-config-samba/system-config-samba.py", line 38, in ?
mainWindow.MainWindow(debug_flag)
File "/usr/share/system-config-samba/mainWindow.py", line 82, in __init__
self.samba_user_data = sambaUserData.SambaUserData(self)
File "/usr/share/system-config-samba/sambaUserData.py", line 40, in __init__
self.readSmbPasswdFile()
File "/usr/share/system-config-samba/sambaUserData.py", line 53, in readSmbPasswdFile
if string.strip(line)[0] != "#":
IndexError: string index out of range
[root@pdx03-linux-01 /]#
mugs
2004-10-09, 07:35 PM CDT
This is what my file looks like:
nobody:99:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE 0D16AE931B73C59D7E0C089C0:[U ]:LCT-41537293:
still cant start it
Bear Knuckle
2004-10-17, 02:29 PM CDT
"AttributeError: ('server signing', 'Auto')"
There you have it, mugs. This option in your smb.conf causes it to crash. I guess its a upper-case-problem. Change "Auto" with "auto" and it should work.
mugs
2004-10-18, 05:11 AM CDT
Bear Knuclke, I made the change you suggested but still the same error. Thanks.
Bear Knuckle
2004-10-18, 07:39 AM CDT
Bear Knuclke, I made the change you suggested but still the same error. Thanks.
Whats the error msg now?
mugs
2004-10-19, 04:09 AM CDT
root@dhcppc1 mugs]# system-config-samba
Traceback (most recent call last):
File "/usr/share/system-config-samba/system-config-samba.py", line 38, in ?
mainWindow.MainWindow(debug_flag)
File "/usr/share/system-config-samba/mainWindow.py", line 75, in __init__
self.samba_data = sambaParser.SambaParser(self)
File "/usr/share/system-config-samba/sambaParser.py", line 40, in __init__
self.parseFile()
File "/usr/share/system-config-samba/sambaParser.py", line 71, in parseFile
token = self.createToken(line)
File "/usr/share/system-config-samba/sambaParser.py", line 143, in createToken
token = sambaToken.SambaToken(sambaToken.SambaToken.SAMBA_ TOKEN_KEYVAL, (name, value), self.parent)
File "/usr/share/system-config-samba/sambaToken.py", line 36, in __init__
raise AttributeError, value
AttributeError: ('server signing', 'auto')
[root@dhcppc1 mugs]#
Paul_Vandenberg
2004-10-19, 08:17 AM CDT
Hi,
I got the same error message after I played with the Samba configuration via the KDE Control Panel. However, since I like the KDE Samba tool, I just removed the Fedora one. I am using KDE 3.3.1 and I can't remember if that tool is in KDE 3.2, which is shipped with FC2. KDE 3.3.1 packages for FC2 are available on the KDE server.
Paul
cathodion
2004-10-26, 01:14 PM CDT
About those python errors... My system-config-display crashes too, saying:
Traceback (most recent call last):
File "/usr/share/system-config-display/xconf.py", line 423, in ?
hardware_state.merge_into(xconfig)
NameError: name 'hardware_state' is not defined
I really don't know how to solve this. Does any one of you people?
Evdoks
2004-11-20, 05:54 AM CST
Hi,
I got the same error message after I played with the Samba configuration via the KDE Control Panel. However, since I like the KDE Samba tool, I just removed the Fedora one. I am using KDE 3.3.1 and I can't remember if that tool is in KDE 3.2, which is shipped with FC2. KDE 3.3.1 packages for FC2 are available on the KDE server.
Paul
Yeah. Me too.
Removing
server signing = Auto
line from smb.conf solves the problem.
By the way, what is this parameter for?
mrguytx
2004-11-22, 01:07 PM CST
please do an 'rpm -q python' and see which version you have.
if you got the latest python2.4 from the dev tree via yum or any other method, python2.4 is hosed.
you should have python 2.3 or lower.
hope that helps.
G
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.