Bug 132080

Summary: system-config-samba 1.2.9-2 does not recognize keywords in smb.cfg from 3.0.6-2.fc2
Product: [Fedora] Fedora Reporter: Lech Lobocki <lech.lobocki>
Component: system-config-sambaAssignee: Nils Philippsen <nphilipp>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 2   
Target Milestone: ---   
Target Release: ---   
Hardware: athlon   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-11-23 16:49:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lech Lobocki 2004-09-08 17:45:45 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2)
Gecko/20040803

Description of problem:
system-config-samba 1.2.9-2 does not recognize keyword 'cups options'
in the smb.conf coming with the 3.0.6 Samba update. 

Version-Release number of selected component (if applicable):
1.2.9-2

How reproducible:
Always

Steps to Reproduce:
1. Install samba update 3.0.6
2. run system-config-samba
3.
    

Actual Results:  crashes with traceback:
   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: ('cups options', 'raw')



Expected Results:  accept the line

Additional info:

Comment 1 Nils Philippsen 2004-09-15 12:45:43 UTC
Should be fixed in system-config-samba-1.2.15 which should hit
updates-testing shortly.