[Samba] smbclient using smb2 protocol linux-2-linux share

Jeff Layton jlayton at samba.org
Sat Mar 16 14:49:42 MDT 2013


On Sat, 16 Mar 2013 09:21:53 -0700
Jeremy Allison <jra at samba.org> wrote:

> On Wed, Feb 06, 2013 at 01:41:56PM -0800, rmarquez wrote:
> > Trying to get a linux samba file server using samba 4.0.3 (compiled on the
> > machine) running on ubuntu 3.8rc6 kernel to share out and negotiate with a
> > linux client running the same kernel and smbd compiled from 4.0.3 samba
> > source. 
> > Using wireshark to view the negotiations, I only see NT LM 0.12 (SMB v. 1).
> > 
> > Tried forcing the file server via "min protocol = SMB2" in the
> > /usr/local/samba/etc/smb.conf and keep getting this error:
> > "mount error(95): Operation not supported"
> > I try to mount that share in Windows 7 and it works, even negotiates at
> > SMB2.1.
> > 
> > How can I get a linux client to mount a linux samba share using protocol
> > SMB2.1?
> 
> This is not yet supported in CIFSFS although the Team is working
> on it.
> 
> It's also not supported in smbclient either, again it's something
> we're working on (we have all the underlying plumbing for this).
> 

Mounting with cifs.ko should work in current mainline kernels (3.8 and
up?), but it's still pretty new and some things may not work exactly
right. Try mounting with "-o vers=2.1".

-- 
Jeff Layton <jlayton at samba.org>


More information about the samba mailing list