smbfs / cifs in kernel 2.6.1

Satish Balay balay at fastmail.fm
Thu Feb 19 20:06:14 UTC 2004


On Thu, 19 Feb 2004, Aaron Bennett wrote:

> Hi --
> 
> I was disapointed, at first, to see that smbfs is not in the stock 
> kernel, then I found this bug report that indicates that it has been 
> replaced by cifs. 
> 
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=116090
> 
> Fair enough.  I don't mind changing to a different command.  However, I 
> can't get cifs stuff to mount....

There are still some issues with cifs (crash and burn when connecting
with NT-4)

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=115604

> 
> Here is a mount command that works perfectly with smbfs:
> mount -t smbfs -o username=user/DOMAIN //windowsbox/share 
> /mnt/windows/windowsbox/share

> If I change smbfs to cifs, I get this result:
> mount: Connection refused

I've stumbled into this one. From 'man mount.cifs' the option is
'user' (instead of username)

> 
> What am I missing here?  Did I screw up the syntax for the mount, or is 
> cifs not actually a drop-in replacement for smbfs?

Well NT4 is still SMB - so cifs doesn't work with it.

BTW: I've successfully used the following (with a WinXP share)

mount.cifs //xp-machine/c$ /mnt/dir -o user=uid,domain=dmn

Satish





More information about the test mailing list