Bug 160166 - system-config-samba crashs at configuring ADS using kerberos domain
system-config-samba crashs at configuring ADS using kerberos domain
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: system-config-samba (Show other bugs)
4
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nils Philippsen
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-12 09:46 EDT by Robert Scheck
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-02-02 10:41:36 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Robert Scheck 2005-06-12 09:46:42 EDT
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 10:30:39 EDT
fixed in system-config-samba CVS
Comment 2 Nils Philippsen 2006-02-02 10:41:36 EST
fixed in system-config-samba-1.2.32-1

Note You need to log in before you can comment on or make changes to this bug.