Bug 477944 - Fails to start without an smb.conf
Summary: Fails to start without an smb.conf
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-samba
Version: 10
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-26 04:29 UTC by Arthur Pemberton
Modified: 2009-06-22 13:44 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-06-22 13:44:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Arthur Pemberton 2008-12-26 04:29:43 UTC
Description of problem:
In the even there is no /etc/samba/smb.conf, an unhandled exception is raised saying that there is no permission to run pdbedit

How reproducible:
100% if there is no /etc/samba/smb.conf

Steps to Reproduce:
1. Remove /etc/samba/smb.conf
2. Start system-config-samba
  
Actual results:
Program fails to start, if there run from a terminal, exception can be seen.

Expected results:
A new smb.conf should be generated, or a dialog with a more appropriate error should be thrown.

Comment 1 Arthur Pemberton 2009-05-04 06:29:58 UTC
There have been no responses to this issue. I understand that this may be considered a corner case, but the config tool should at least alert the user of why it can't run successfully. Is there anything I can do to help with this issue?

Comment 2 Nils Philippsen 2009-05-28 08:43:00 UTC
Sorry, this somehow went under my radar. I've verified the problem and this really should be fixed -- s-c-samba contains a template smb.conf which it should use in such cases.

Comment 3 Nils Philippsen 2009-05-28 09:38:50 UTC
fixed in upstream git repository

Comment 4 Fedora Update System 2009-05-28 09:58:47 UTC
system-config-samba-1.2.76-1.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/system-config-samba-1.2.76-1.fc9

Comment 5 Fedora Update System 2009-05-28 09:59:09 UTC
system-config-samba-1.2.76-1.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/system-config-samba-1.2.76-1.fc10

Comment 6 Fedora Update System 2009-05-28 09:59:30 UTC
system-config-samba-1.2.76-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/system-config-samba-1.2.76-1.fc11

Comment 7 Fedora Update System 2009-05-30 02:39:12 UTC
system-config-samba-1.2.76-1.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing-newkey update system-config-samba'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2009-5706

Comment 8 Arthur Pemberton 2009-05-31 02:16:05 UTC
Tested system-config-samba.noarch 1.2.67-3.fc10 with no /etc/samba/smb.conf, crash was as expected.

Updated to system-config-samba.noarch 0:1.2.76-1.fc10 and GUI was able to load, and fixed the problem of missing /etc/samba/smb.conf

Issues resolved.

Comment 9 Fedora Update System 2009-06-16 01:53:41 UTC
system-config-samba-1.2.76-1.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2009-06-16 02:10:31 UTC
system-config-samba-1.2.76-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Arthur Pemberton 2009-06-22 04:15:03 UTC
I think it's safe to close this


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