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):
Steps to Reproduce:
Actual Results: Program gave output noted below
Expected Results: Should be able to get a samba configuration window
** (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 ?
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__
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]
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
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.