After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 172475 - shares-admin creates wrong smb.conf when no name is given
shares-admin creates wrong smb.conf when no name is given
Status: RESOLVED FIXED
Product: gnome-system-tools
Classification: Deprecated
Component: users-admin
1.2.x
Other Linux
: Normal normal
: ---
Assigned To: Carlos Garnacho
Carlos Garnacho
: 172577 314641 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-04-02 23:43 UTC by Sebastien Bacher
Modified: 2005-08-28 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2005-04-02 23:43:24 UTC
This bug has been opened here: https://bugzilla.ubuntu.com/8309

"I try to create a shared folder using shares-admin.

1. I open shares-admin.
2. I select the path, the protocol (SMB, of course), and in "Share properties" I
put no name (leaving the "name" field empty).
3. I click "ok", and click "ok" again in the "shared folder settings" window.

Now I have a /etc/samba/smb.conf file with a section named "[]":

[]
path = /home/ricardo
available = yes
browseable = yes
public = yes
writeable = yes

That "empty"-named section is wrong, and samba complaints about it. And that
wrong section doesn't appears in the shares-admin's "shared folder settings" no
more, so there's no easy way to delete it (the only way is to edit
/etc/samba/smb.conf by hand).

I think shares-admin would get the folder name as a "share name", when the user
doesn't gives one."
Comment 1 Carlos Garnacho 2005-04-06 22:23:59 UTC
*** Bug 172577 has been marked as a duplicate of this bug. ***
Comment 2 Carlos Garnacho 2005-04-06 22:35:58 UTC
Fixed in CVS :)
Comment 3 Carlos Garnacho 2005-08-27 10:33:07 UTC
*** Bug 314641 has been marked as a duplicate of this bug. ***