Posted on

Ubuntu Samba Torture

I recently did an update on my home network file server, and of course samba stopped working. 2 hours wasted already trying to fix it. The problem is in the GUI the samba config program never actually executes, just closes silently failing.

And when I try it on the command line, I get this goodness:

# gksu system-config-samba
Traceback (most recent call last):
File “/usr/sbin/system-config-samba”, line 45, in <module>
mainWindow.MainWindow(debug_flag)
File “/usr/share/system-config-samba/mainWindow.py”, line 116, in __init__
self.samba_user_data = sambaUserData.SambaUserData(self)
File “/usr/share/system-config-samba/sambaUserData.py”, line 46, in __init__
self.readSmbPasswords()
File “/usr/share/system-config-samba/sambaUserData.py”, line 56, in readSmbPasswords
if string.strip(line)[0] != “#”:

____________

This sucks so bad. But its not too bad, cause I have nothing mission critical on that file server anyway.
Honestly I was just experimenting with Ubuntu / Samba and using that fileserver for entertainment / media storage.
I am getting another box soon for Windows, we’ll try out SMB there too.