On Fri, Sep 3, 2010 at 5:21 PM, Steve French <smfrench@xxxxxxxxx> wrote: > > Good point - I need to update the smb2 howto ... > > If you have Windows 2008, Windows Vista or Windows 7 - smb2 just works (it is the default for current Windows) but for Samba (version 3.5 or later, but current Samba 3.6 server is better and passes Microsoft's (and our) functional tests as a server - the client side in the kernel is farther behind) there is an smb.conf entry to add. A recent blog entry summarized the server side for Samba: > > With Windows 7 Microsoft have introduce a new variant of the CIFS protocol, SMB2. Samba is keeping pace, with a sample implementation of SMB2 which will be released for early adopters to test in Samba 3.5.0. A fully finished production version is expected to be available in Samba 3.6.0. Testing SMB2 in Samba 3.5.0 is as simple as setting : > > max protocol = SMB2 > > in the [global] section of your smb.conf > > On the client side, you need smb2.ko from my smb2.git tree (which currently has some changes I need to put in to address some sideeffects of the Google Summer of Code smb2 async write performance improvements) - and if you don't want to use ip addresses (mount -t smb2 //127.0.0.1/someshare /mnt .... etc) then you need to recompile mount.cifs.c as mount.smb2 and put mount.smb2 in /sbin > The smb2 development tree for the kernel client is at: > http://git.kernel.org/?p=linux/kernel/git/sfrench/smb2.git;a=summary > I have 3 patches from Pavel to integrate still and a few other fixes (one for unmount in particular) that need to be posted. I expect it to be more stable usable by next week (I have been out much of this week) > On Fri, Sep 3, 2010 at 5:10 PM, Ben Greear <greearb@xxxxxxxxxxxxxxx> wrote: > > >> since SMB2 is more common with newer systems, and in particular > >> systems more likely to be running IPv6 and thus seem to export more > >> interfaces...am also interested in an SMB2 version of this (we will be > >> testing SMB2 extensively in three weeks at the annual Storage > >> Developer Conference) - smb2.git on kernel.org > > > > Is there a howto for configuring an smb2 server and client? > > > > I'm very slowly bisecting an O_DIRECT bug for NFS, but might > > can start working on smb2 while waiting for compiles. > > > -- > Thanks, > > Steve > -- Thanks, Steve -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html