From Bugzilla Helper: User-Agent: Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko) Description of problem: When running system-config-samba from the shell it gives the output listed below. system-config-samba does nothing when selected from the menu. Applications --> System Settings --> Server Settings --> Samba Version-Release number of selected component (if applicable): system-config-samba-1.2.2-1 How reproducible: Always Steps to Reproduce: 1.Open shell 2.run /usr/bin/system-config-samba 3. Actual Results: Program gave output noted below Expected Results: Should be able to get a samba configuration window Additional info: ** (system-config-samba.py:1795): WARNING **: `GtkTextSearchFlags' is not an enum type 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: ('comments', 'All Printers')
Can you attach your /etc/samba/smb.conf file?
Created attachment 97767 [details] /etc/samba/smb.conf
There are a number of problems with your smb.conf file. In the [printers] section, the line: comments = All Printers is invalid. The keyword should be "comment", not "comments". This line is causing the crash. Also, in the [proj] section, you have the lines: public = yes and guest ok = yes According to 'man smb.conf', "public" and "guest ok" are synonyms. Having both of them in the same section is redundant and could possibly cause samba to get confused, especially if they were set to different values. Fortunately they are both set to "yes" in this case.