Re: [cifs srcaddr-v4] cifs: Allow binding to local IP address.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/03/2010 03:21 PM, Steve French wrote:
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:

Ok.  Fedora 13 has smbd version 3.5.4, so maybe that will do the trick.
If not, I should be able to dig up a vista system.

I should be able to get hacking on this next week.

Thanks,
Ben

--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com

--
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


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux