Red Hat Bugzilla – Bug 473370
system-config-samba can not modify smb.conf correctly
Last modified: 2009-12-18 01:59:42 EST
Description of problem:
Using system-config-samba to delete a shared folder setting will not modify corresponding parts in smb.conf.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create a share in system-config-samba
2. the share will not work properly, then delete it from system-config-samba.
3. check smb.conf, the setting for the deleted share remain there.
system-config-samba doesn't work for modifying sharing folders setting.
system-config-samba can modify smb.conf properly.
I just tried tro reproduce the problem, but it worked for me as expected. Do you have any additional information, e.g. are there error messages if you run s-c-samba in a terminal?
Created attachment 325593 [details]
from terminal system-config-samba
Run form terminal system-config-samba. root login window opens. Add file too shaere. quit. See see attachment.
Nothing is written too smb.conf. I check with diff.
I will also attach my smb.conf, which is from Fedora F9.
Keyboard and language is IS ( iclandic ).
There is a special character in on file name [MP3_lög].
Created attachment 325594 [details]
My smb.conf i trayin to change.
This was not a problen in F9.
My smb.conf i traying to change.
"cross": I think I've resolved the problem with non-ASCII characters Flóki described, but I'm not quite sure that yours is the same problem...
Do you have any non-ASCII characters in your Samba configuration?
What exactly does "the share will not work properly" mean?
Please do run system-config-samba from the command line and tell me if there are any error messages.
When I reported this bug, I tried to share same folder both using system-config-samba and nautilus-share, which is using 'net usershare' and this doesn't work for fedora.
So I guess when I remove share settings from system-config-samba, the remained setting for this folder was generated by 'nautilus-share'.
Otherwise, maybe it's from non-ASCII issues, because I am Chinese. Anyway, I will try again, then let you know how it goes.
'the share will not work properly' is my fault, I forget to tick off the samba option in firewall :p
I'm seeing what I believe to be the same issue as the opening report.
system-config-samba will happily make additions and changes to smb.conf when started as a normal user (prompted to enter root password) either from the shell or menu however it will not action any deletions. If it is run as root then all changes happen correctly. In both cases there are no output errors at the command line.
Not sure if it has any relevance but I also ran nautilus-share at one point but isn't even installed anymore.
I can confirm the bug at least concerning the issue of non-ASCII characters. Lines with ASCII characters only may be added/edited/deleted correctly. As soon as russian characters are type in (or folder named in Russian) - it becomes impossible to modify/delete the entry.
Samba Version : 3.2.8
Samba Release : 0.27.fc10
(In reply to comment #7)
> I can confirm the bug at least concerning the issue of non-ASCII characters.
> Lines with ASCII characters only may be added/edited/deleted correctly. As soon
> as russian characters are type in (or folder named in Russian) - it becomes
> impossible to modify/delete the entry.
> Samba Version : 3.2.8
> Samba Release : 0.27.fc10
The Samba version has not bearing here. Which version of system-config-samba do you use?
This message is a reminder that Fedora 10 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 10. 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 '10'.
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 10'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 10 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:
Fedora 10 changed to end-of-life (EOL) status on 2009-12-17. Fedora 10 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.