Red Hat Bugzilla – Bug 477944
Fails to start without an smb.conf
Last modified: 2009-06-22 09:44:04 EDT
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
100% if there is no /etc/samba/smb.conf
Steps to Reproduce:
1. Remove /etc/samba/smb.conf
2. Start system-config-samba
Program fails to start, if there run from a terminal, exception can be seen.
A new smb.conf should be generated, or a dialog with a more appropriate error should be thrown.
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?
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.
fixed in upstream git repository
system-config-samba-1.2.76-1.fc9 has been submitted as an update for Fedora 9.
system-config-samba-1.2.76-1.fc10 has been submitted as an update for Fedora 10.
system-config-samba-1.2.76-1.fc11 has been submitted as an update for Fedora 11.
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
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
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.
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.
I think it's safe to close this