Hi,
just had a bit of struggle with some success I wanted to share with
everyone. Google wasn't much help for the exact answer, but I managed to
piece it all together.

A client just upgraded to windows 2003 small business server, so rather
than turning off SignOrSeal, I wanted to get CIFS mounted shares to work
on the linux box there. Turns out the stock 2.4 kernel doesn't have the
kernel patches, and debian's mount tools lack support for mount.cifs and
debian doesn't have a mount.cifs tool at all.

So how you do it:

get from this page:

http://www.samba.org/samba/Linux_CIFS_client.html

a) the kernel patch (the precompiled module didn't work for me and I
wanted 2.4.22)
http://www.samba.org/samba/ftp/cifs-cvs/cifs-0.8.7a.tar.gz

b) the Prebuilt mount helper utility (/sbin/mount.cifs) built for i386
http://www.samba.org/samba/ftp/cifs-cvs/mount.cifs

get from these sources backported packages,

deb http://people.debian.org/~erich/backports/ ./

deb http://www.backports.org/debian stable all

I got an updated samba3, mount, util-linux.
I recompiled my kernel with the cifs-patch.
installed the kernel and selected the cifs module.
it seemed to load ok. and then I needed to get mount to work.
turns out you need to put the above downloaded mount.cifs in /sbin and
chmod it +x.
then you can get /etc/fstab to work and just mount stuff as you would
before with smbfs. 
cifs seems much faster and better than smbfs.

with the updated mount tool from the backports.org people, you can just
do a mount -t cifs instead of having to run mount.cifs.
if anyone wants more detail I can supply, or if you know of a better way
to accomplish this stuff I would be grateful :)

thanks

dave

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to