Bug 92329 - "SMBmount current share" (konq_smbmounterplugin.so) should use CIFS, not SMBFS
Summary: "SMBmount current share" (konq_smbmounterplugin.so) should use CIFS, not SMBFS
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kio
Classification: Unmaintained
Component: smb (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-29 16:56 UTC by Jens
Modified: 2013-08-18 23:19 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens 2004-10-29 16:56:03 UTC
Version:            (using KDE 3.3.1, SuSE)
Compiler:          gcc version 3.3.3 (SuSE Linux)
OS:                Linux (i686) release 2.6.5-7.111-default

(Copy from bugreport sent also to SuSE)

I am running an up-to-date SuSE 9.1, with kernel 2.6.5-7.111-default and all upgrades. I also have *one* of my machines upgraded to KDE 3.3.1, but the problem is on both.


1. How to reproduce:

Visit a SMB share smb://server/foo
Ensure "/usr/bin/smbmnt" is suid-root (4755)
Select Extras -> SMBmount current share
Type in password, let it mount
 
2. This is not working:

As soon as Konqueror accesses the newly mounted SMB share, it hangs, and /var/log/messages contains:

kernel: smbfs: unsupported module, tainting kernel.
kernel: smb_add_request: request [cafa5e80, mid=28] timed out!
smb_add_request: request [cafa5d80, mid=29] timed out!
kernel: smb_add_request: request [cafa5e80, mid=30] timed out!
kernel: smb_file_read: //disk.img validation failed, error=4294966784
kernel: smb_file_read: //disk.img validation failed, error=4294966784
kernel: smb_add_request: request [cafa5e80, mid=48] timed out!
kernel: smb_file_read: //disk.img validation failed, error=4294967291
kernel: smb_add_request: request [cafa5e80, mid=49] timed out!
kernel: smb_add_request: request [cafa5e80, mid=50] timed out!
kernel: smb_lookup: find //disk.img failed, error=-5
                                     

Killing Konqueror lets (root) umount the share again.  Kernel developers suggest using the "cifs" instead of "smbfs" file system, they seem better maintained and more feature complete. Or make it configurable :-)

I have two SMB shares mounted via /etc/samba/smbfstab, and they work beautifully.


Thank you!
Comment 1 Jens 2005-01-11 15:16:50 UTC
Hello,

actually, the problem seems to be with "konq_smbmounterplugin.so". It seems to be hardcoded to use "smbmount", which only supports smbfs. This could be avoided by using "mount.cifs" instead, if it exists.

With KDE 3.3.2, SuSE 9.2, the shares are still mounted with SMBFS, which does not allow extended UNIX properties to be propagated (i.e. in case the remote server is also a UNIX server running Samba), but they do not hang any more (at least not those I tried.

Thank you!

Jens
Comment 2 Dawit Alemayehu 2013-08-18 23:19:57 UTC
KDE 3 is no longer maintained. Feel free to reopen the ticket if the problem is still applicable in the current stable KDE 4 version. Thank you for your report.