Bug 144511

Summary: Preferences/Samba Users window fails to close on OK
Product: [Fedora] Fedora Reporter: Phil Schaffner <philip.r.schaffner>
Component: system-config-sambaAssignee: Nils Philippsen <nphilipp>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 3   
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: 2005-01-12 16:54:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Phil Schaffner 2005-01-07 21:04:58 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.3)
Gecko/20041020

Description of problem:
The Preferences/Samba Users window "OK" box fails to close the window
and generates an error to the console.

Version-Release number of selected component (if applicable):
system-config-samba-1.2.25-0.fc3.1

How reproducible:
Always

Steps to Reproduce:
1. Start system-config-samba
2. Choose Preferences/Samba Users without first choosing Server Setings
3. Click "OK"
    

Actual Results:  Window fails to close on OK.  Will close on corner-X.
 Will close if Preferences/Server Setings is selected first.

Expected Results:  Window should close normally.

Additional info:

Error message:
Traceback (most recent call last):
  File "/usr/share/system-config-samba/sambaUserWin.py", line 121, in
onUsersOkButtonClicked
    if string.lower (section.getKey ("security")) == "user":
  File "/usr/lib/python2.3/string.py", line 55, in lower
    return s.lower()
AttributeError: 'NoneType' object has no attribute 'lower'

Comment 1 Nils Philippsen 2005-01-11 09:03:13 UTC
fixed in CVS

Comment 2 Nils Philippsen 2005-01-12 16:54:17 UTC
Fixed in system-config-samba-1.2.26-0.fc3.1 which should hit the mirrors soon.