I was recently doing some work on a Linux server that required access to a remote samba server, however it turns out that in order to attach a filesystem using the CIFS or SMBFS drivers, you need support compiled in to the kernel. This wasn’t an option for me at the time, I was working on a production machine. Recompiling the kernel and rebooting just wasn’t possible.
I was stuck until I discovered JCIFS, a Java implementation of CIFS. I wrote myself a quick java class for copying local files to a remote Samba server. JCIFS is so simple to use, and (as my experience goes) reliable and bug-free that it took me about 1/2 hr. Will post the simplified source here soon.
Helped me out of a BIG hole!