Bug 160166

Summary: system-config-samba crashs at configuring ADS using kerberos domain
Product: [Fedora] Fedora Reporter: Robert Scheck <redhat-bugzilla>
Component: system-config-sambaAssignee: Nils Philippsen <nphilipp>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-02 15:41:36 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 Robert Scheck 2005-06-12 13:46:42 UTC
Description of problem:
system-config-samba breaks down with the following python errors at configuring 
ADS using a kerberos domain. At using security=domain, everything is okay.

--- snipp ---
Traceback (most recent call last):
  File "/usr/share/system-config-samba/basicPreferencesWin.py", line 255, in onB 
asicOkButtonClicked
    self.samba_data.writeFile()
  File "/usr/share/system-config-samba/sambaParser.py", line 301, in writeFile
    lines = str (self.getSection (name))
  File "/usr/share/system-config-samba/sambaParser.py", line 54, in __str__
    tokendata = token.getData ()
  File "/usr/share/system-config-samba/sambaToken.py", line 109, in getData
    return ("%s\t%s%s = %s \t#%s\n" % (default_mask_char, self.keyname, self.key 
val, self.comment))
TypeError: not enough arguments for format string
Traceback (most recent call last):
  File "/usr/share/system-config-samba/sambaUserWin.py", line 125, in onUsersOkB 
uttonClicked
    self.ParentClass.samba_data.writeFile()
  File "/usr/share/system-config-samba/sambaParser.py", line 301, in writeFile
    lines = str (self.getSection (name))
  File "/usr/share/system-config-samba/sambaParser.py", line 54, in __str__
    tokendata = token.getData ()
  File "/usr/share/system-config-samba/sambaToken.py", line 109, in getData
    return ("%s\t%s%s = %s \t#%s\n" % (default_mask_char, self.keyname, self.key 
val, self.comment))
TypeError: not enough arguments for format string
--- snapp ---

Version-Release number of selected component (if applicable):
system-config-samba-1.2.31-1

How reproducible:
Everytime, see above.

Actual results:
system-config-samba crashs.

Expected results:
system-config-samba shouldn't break down.

Comment 1 Nils Philippsen 2005-06-14 14:30:39 UTC
fixed in system-config-samba CVS

Comment 2 Nils Philippsen 2006-02-02 15:41:36 UTC
fixed in system-config-samba-1.2.32-1