Samba 4 now due in 2011; SMB2 and SMB/CIFS protocol docs done

Samba 4 now due in 2011; SMB2 and SMB/CIFS protocol docs done

Summary: The Samba team isn't expecting to release Samba 4 until the first half of 2011 (optimistically) but work on support for Microsoft's SMB2 -- and older SMB/CIFS -- has moved ahead quite nicely.Samba leader Jeremy Allison said support for SMB2 -- which was introduced in the Windows Vista client -- is finished and will be made available for testing in the next significant Samba release.

SHARE:

The Samba team isn't expecting to release Samba 4 until the first half of 2011 (optimistically) but work on support for Microsoft's SMB2 -- and older SMB/CIFS -- has moved ahead quite nicely.

Samba leader Jeremy Allison said support for SMB2 -- which was introduced in the Windows Vista client -- is finished and will be made available for testing in the next significant Samba release.

"It's already complete. OEM's are testing [and it] will be officially released in [Samba] 3.6.0 but not as the default protocol as the Linux distros are conservative," wrote Allison, noting that default support for the latest SMB2 protocol won't come until Linux distributors are satisfied with field testing.

Why is SMB2 support important for Samba?

"Well,  Microsoft now no longer ship or support an OS that doesn't implement SMB2 by default out of the box, so it's needed for continued Samba support," Allison wrote, adding that SMB2 has some advantages for Linux/Unix user, "but the main one is that the Windows developers finally did what we did to our SMB1 client code a long time ago, which is to finally allow the client to have more than one outstanding read/write request against the server. With a high latency TCP pipe this allows much more efficient use of the bandwidth as it means you can fill it with reads or writes without having to wait for a reply for each one."

Meanwhile, another Samba contributor reports that his company has completed a year long SMB/CIFS protocol documentation project with Microsoft that will enable far great Windows client support for Linux/Unix servers running Samba.

ubiqx  developed the two new documents -- MS-CIFS and Microsoft SMB -- with Microsoft's help  over the last year or so.  Microsoft renamed its Simple Message Block (SMB) protocol to Common Internet File System (CIFS) but both protocols document Windows client internals.

The two documents total roughly 1000 pages. They were both completed last  year.

[Editor's note: ubiqx only recently alerted ZDNet to the completion of those docs but they were both finished in 2009]

The project went better than expected, reports Christopher Hertel, Founder, CTO, and CIFS Geek at ubiqx Consulting in St Paul, Minnesota. Hertel took a leave from the Samba project because of the close working relationship with Microsoft.

" We (the SMB/CIFS development community) have not had anything that even  approaches a complete, comprehensive, and accurate specification since 1992,  and even the 1992 documents were out of date within a year,"  said Hertel.

He said Microsoft extended its contract twice to bolster the protocol documentation for better interoperability and ensure it is properly maintained going forward.

Microsoft "added a whole pile of additional information to the two documents we already completed," he wrote. "My company met [the initial goals] and the documents were accepted but a request was made to add a large number of behavior notes to explain how the protocol interacted with Windows internals, which is useful for third party implementers to know since it provides in depth semantics."

"There is quite a serious effort within Microsoft to make sure these documents (the entire set) are complete and correct, so the document enhancement requests result in improvements and updates that everyone sees," Hertel added.  "My work with Microsoft to develop the two new documents ([MS-CIFS] and [MS-SMB]) helps the NAS development community as a whole. "

Smart move for Samba and smart move for Microsoft, which should do all it can to protect and extend its Windows client business -- even if it benefits Linux server developers a well.

Ubiqx is now working with Microsoft to develop extensions to the SMB2 protocol to support Unix/Linux clients and servers.

Topics: Operating Systems, Linux, Microsoft, Open Source, Software, Windows

Kick off your day with ZDNet's daily email newsletter. It's the freshest tech news and opinion, served hot. Get it.

Talkback

4 comments
Log in or register to join the discussion
  • And here was me wondering about this earlier

    Thanks ZDNet for the update.

    No surprise it took a third party and a year to get MS documentation up to scratch. A company that size with no accurate documentation for a core protocol for 2 decades, amazing. (thanks EC for acknowledging what the DoJ was instructed not to see).
    Richard Flude
  • Lot of interesting things are going on.

    Samba 4 and openchange look like they are both going to land at about the same time. Linux Distributions with ADS and exchange support will be interesting.

    By the way testing of SMB2 with samba is already underway in samba 3.5.

    Samba 4 is mostly ADS. Reduction in need of windows servers.
    oiaohm
    • RE: Samba 4 now due in 2011; SMB2 and SMB/CIFS protocol docs done

      The SMB2 server in 3.5.x is "experimental", with quite a few bugs. 3.6.0 will have the "production" SMB2 code (which is already in git master, and is what is being tested by the OEM's).

      Jeremy.
      JeremyAllison
  • Documentation process

    Just a couple of clarifications...

    The CIFS/SMB documentation project started in May 2008 with the first publication in September/October 2009. That's a year and a half. Add another half year to rewrite the second doc ([MS-SMB]) and provide a clean hand-off to the people who now maintain these documents. All-in-all, it was a two-year effort.

    The rewritten [MS-SMB] doc did not arrive until early 2010. There was an earlier version that was based upon the 1996/97 IETF draft specifications for CIFS (also from Microsoft but, alas, only drafts). The rewrite was substantial.

    We presented our work at Connectathon 2010, the SambaXP conference, and to an audience at Microsoft HQ in Redmond, and will also be presenting these docs at the SNIA SDC in September.

    Chris -)-----
    crh-ubiqx