| Summary: | samba system-config injects 'file://' into smb.conf | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | chapinjeff |
| Component: | kcm_samba | Assignee: | Unassigned bugs <unassigned-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | andresbajotierra |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Jul 16 06:46:00 localhost smbd[6137]: [2009/07/16 06:46:00, 0] lib/messages_local.c:messaging_tdb_init(96) Jul 16 06:46:00 localhost smbd[6137]: ERROR: Failed to initialise messages database: No such file or directory Jul 16 06:46:00 localhost smbd[6137]: [2009/07/16 06:46:00, 0] lib/messages.c:messaging_init(204) Jul 16 06:46:00 localhost smbd[6137]: messaging_tdb_init failed: NT_STATUS_OBJECT_NAME_NOT_FOUND Jul 16 06:46:00 localhost smbd[6137]: [2009/07/16 06:46:00, 0] smbd/server.c:smbd_messaging_context(101) Jul 16 06:46:00 localhost smbd[6137]: Could not init smbd messaging context. /var/log/messages when samba wont start. The Samba bug is located at: https://bugzilla.samba.org/show_bug.cgi?id=6548 SVN commit 998000 by cfeck: Do not save local URLs in smb.conf with file:// prefix CCBUG:200436 M +1 -1 dictmanager.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=998000 SVN commit 998002 by cfeck: Do not save local URLs in smb.conf with file:// prefix (backport r998000) Fix will be in KDE 4.3.0 Can someone who uses Samba with KDE please check if the fix solves this bug and close it? I do not have Samba installed to test. CCBUG: 200436 M +1 -1 dictmanager.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=998002 @chapinjeff@gmail.com: can you confirm this is fixed on KDE4.3.0/4.3.1 ? Thanks Confirmed resolved. THANKS! Thanks |
Version: (using KDE 4.2.4) OS: Linux Installed from: Fedora RPMs After using the system-config application to edit any settings in smb.conf, my smb.conf gets broken. 'file://' gets injected. Here is an example diff: # diff /etc/samba/smb.conf{-working,-b0rked} 89c89 < log file = /var/log/samba/log.%2525m --- > log file = file:///var/log/samba/log.%252525m 227,230c227,230 < smb passwd file = /var/lib/samba/private/smbpasswd < pid directory = /var/run < lock directory = /var/lib/samba < private dir = /var/lib/samba/private --- > smb passwd file = file:///var/lib/samba/private/smbpasswd > pid directory = file:///var/run > lock directory = file:///var/lib/samba > private dir = file:///var/lib/samba/private This makes it so samba cannot start.