This little app solves a whole bunch of headaches that I've had for a long time with KDE applications. Almost none of them support streaming from network locations, so while you can get to the files with smb://server/share/superkewlsong.mp3 you can't play it in your application from there. KDE will download the whole thing to a cache, which it then leaves on your hard drive, and play it locally.
This really sucks for divx video files of about a gig each, so to take the burden off of KDE, since it can't seem to pipe file data via it's network stuff, I use fusesmb.
To install it in FC6 you
localhost ~]$ sudo yum -y install fuse-smbThis installs the software, then you have to edit the file ~/.smb/fusesmb.conf to add your username/password and tell it to show hidden shares or ignore specific servers.
localhost ~]$ nano ~/.smb/fusesmb.conf
The website documentation for fusesmb is really skimpy, but you can get a sample config from man fusesmb.conf which is pretty easy to manage
EXAMPLE
; Global settings
[global]
; Default username and password
username=user
password=totallysecret
; List hidden shares
showhiddenshares=true
; Connection timeout in seconds
timeout = 10
;Interval for updating new shares in minutes
interval = 10
; Section for servers and/or workgroups to ignore
[ignore]
servers=SERVER,SERVER2,SERVER3
workgroups=WORKGROUP,WG2
; Share-specific settings
[/SERVER/SHARE]
username=john
password=doe
; Server-specific settings
[/SERVER]
username=jane
password=doe
showhiddenshares=true
ignore=true
Once you've configured that, you got a good shot that your shares will all show up. My setup, of course, didn't work out of the box.
The file ~/.fusesmb.cache would never pickup my XP machine with my music collection on it. It would find all the other shares on my network fine, and if I used the credentials in the fusesmb.conf file to smbbrowse to it I had no problems.
I manually added it to the flat file that has the shares in it of ~/.fusesmb.cache and it would work for a few minutes then disappear!
After some trial and error I found out that fusesmb.cache is not just a file with a plain text list of shares on your network neighborhood, it's also an application that runs and rescans that file every 10 minutes.
So I ran the fusesmb.cache with a -h to see if it took some arguments or something and it actually started spewing some information.
Server: 192.168.200.197 : Share: IPC$ : Workgroup: WAG3SLAV3
Kinit failed: Cannot resolve network address for KDC in requested realm
Fusesmb tries to auth against kerberos and will fail if your linux machine isn't a member machine of the domain. Fortunately with the - tag the fusesmb.cache application will find all your hosts. Must be a timeout thing.
localhost ~]$ fusesmb.cache --
To workaround this rename /usr/bin/fusesmb.cache to /usr/bin/fusesmb.cache.back after it populates the text file ~/.fusesmb.cache
localhost ~]$ fusesmb.cache -- && sudo mv /usr/bin/fusesmb.cache /usr/sbin/fusesmb.cache.backJust be sure to run fusesmb.cache.back -- if you make a new share on your network because it won't be picked up until you do.
localhost ~]$ /usr/bin/fusesmb.cache.back --