Bug 575473 - Handle authorization problems better
Summary: Handle authorization problems better
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-samba
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:dad27c47
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-20 22:22 UTC by sven
Modified: 2010-12-03 16:59 UTC (History)
13 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-12-03 16:59:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.26 KB, text/plain)
2010-03-20 22:22 UTC, sven
no flags Details

Description sven 2010-03-20 22:22:26 UTC
abrt 1.0.8 detected a crash.

architecture: x86_64
cmdline: /usr/bin/python /usr/bin/system-config-samba
component: system-config-samba
executable: /usr/bin/system-config-samba
kernel: 2.6.32.9-70.fc12.x86_64
package: system-config-samba-1.2.86-1.fc12
reason: polkit.py:117:handle_authfail:DBusException: org.fedoraproject.slip.dbus.service.PolKit.NotAuthorizedException.org.fedoraproject.config.samba.configure: 
release: Fedora release 12 (Constantine)

backtrace
-----
polkit.py:117:handle_authfail:DBusException: org.fedoraproject.slip.dbus.service.PolKit.NotAuthorizedException.org.fedoraproject.config.samba.configure: 

Traceback (most recent call last):
  File "/usr/bin/system-config-samba", line 53, in <module>
    mainWindow.MainWindow (debug_flag = debug_flag, use_dbus = use_dbus)
  File "/usr/share/system-config-samba/mainWindow.py", line 127, in __init__
    self.samba_data = sambaConfig.SambaConfig (self.samba_backend)
  File "/usr/lib/python2.6/site-packages/scsamba/core/sambaConfig.py", line 29, in __init__
    self.parseFile ()
  File "/usr/lib/python2.6/site-packages/scsamba/core/sambaConfig.py", line 32, in parseFile
    return self.parse (self.backend.readSmbConf ())
  File "<string>", line 2, in readSmbConf
  File "/usr/lib/python2.6/site-packages/slip/dbus/polkit.py", line 155, in _enable_proxy
    return handle_authfail(e)
  File "/usr/lib/python2.6/site-packages/slip/dbus/polkit.py", line 117, in handle_authfail
    raise e
DBusException: org.fedoraproject.slip.dbus.service.PolKit.NotAuthorizedException.org.fedoraproject.config.samba.configure: 

Local variables in innermost frame:
authfail_result: <class 'slip.dbus.polkit.AUTHFAIL_DONTCATCH'>
e: DBusException('',)
authfail_callback: None
authfail_exception: None

How to reproduce
-----
1. Called up the samba management utility and this happened.
2.
3.

Comment 1 sven 2010-03-20 22:22:28 UTC
Created attachment 401501 [details]
File: backtrace

Comment 2 Kevin 2010-03-21 21:10:04 UTC

How to reproduce
-----
1.open system-config-samba 
2.when asked for password for root, CLICK cancel
3.

Comment 3 Nils Philippsen 2010-03-22 11:24:34 UTC
fixed in git commit c585dc8cfadc34aa29d5461671c4a424a93f9d02:

http://git.fedorahosted.org/git/system-config-samba.git?p=system-config-samba.git;a=commitdiff;h=c585dc8cfadc34aa29d5461671c4a424a93f9d02

Comment 4 Fedora Update System 2010-03-23 16:28:34 UTC
python-slip-0.2.9-1.fc13,system-config-samba-1.2.87-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/python-slip-0.2.9-1.fc13,system-config-samba-1.2.87-1.fc13

Comment 5 Alex 2010-03-28 17:04:12 UTC

How to reproduce
-----
1. Run system-config-samba
2. Crash!!!!!
3.

Comment 6 jeremy2004 2010-04-15 20:45:17 UTC

How to reproduce
-----
1. Attempt to start "System | Administration | Samba"
2. Crash
3.

Comment 7 Joshua M. Hughes 2010-04-22 00:05:41 UTC

How to reproduce
-----
1.Restarted nmb service.
2.Trying to authenticate a share from windows.
3.


Comment
-----
Restarted nmb service after switching from user to share.

Comment 8 Nils Philippsen 2010-04-22 11:28:13 UTC
(In reply to comment #7)
> 
> How to reproduce
> -----
> 1.Restarted nmb service.
> 2.Trying to authenticate a share from windows.
> 3.
> 
> 
> Comment
> -----
> Restarted nmb service after switching from user to share.    

This doesn't sound like a problem with system-config-samba to me.

Comment 9 ngomez2 2010-04-22 17:33:53 UTC

How to reproduce
-----
1.run samba
2.
3.

Comment 10 Fedora Update System 2010-04-22 22:55:46 UTC
system-config-samba-1.2.89-1.fc13, python-slip-0.2.9-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Andrew Jamison 2010-05-07 04:37:56 UTC
Package: system-config-samba-1.2.86-1.fc12
Architecture: x86_64
OS Release: Fedora release 12 (Constantine)


How to reproduce
-----
1.Tried to add an samba user
2.
3.

Comment 12 Bug Zapper 2010-11-03 19:02:54 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 13 Bug Zapper 2010-12-03 16:59:27 UTC
Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


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