Microsoft steps on Samba's toes

NEWS
Microsoft has opened a new chapter in its long-running dispute with open-source software developers -- and it could have antitrust implications. In late March, Microsoft published a document that outlines how third-party developers can use Common Internet File Sharing (CIFS), a protocol developed by Microsoft that specifies how Windows PCs share files with servers. Though publishing the document should make it easier to write software that incorporates CIFS, it contains a crucial restriction that has instead handcuffed some developers. Specifically, Microsoft requires programmers to sign an agreement that prohibits using information in the document when building software governed by the General Public License (GPL). Among the products affected by the restriction is Samba, widely used software that competes with file sharing technology in Microsoft's Windows operating system. Samba uses CIFS to communicate with client systems. "In brief, it sucks," said Jeremy Allison, a leader of the Samba project. He called Microsoft's agreement "a direct attack" on Samba and the GPL. It is unclear whether Microsoft would take legal action against programmers who reviewed the document and used the information in GPL-governed code, though the implied threat is enough to cause concern. The dispute's ramifications also extend well beyond the group of self-appointed programming hobbyists who launched the open-source movement. Microsoft business partners IBM, Hewlett-Packard and others have embraced Samba and other open-source packages; Sun Microsystems is adding open-source efforts to its increasingly bitter struggle against Microsoft; and even Intel, a stalwart Microsoft ally, has invested in open-source Linux companies. The issue also plays a role in the Microsoft antitrust trial. Nine states and the District of Columbia are seeking stiffer sanctions against the software giant than those found in a November settlement reached by the US Justice Department and nine other states. In pursuing those harsher sanctions, lawyers for the non-settling states have raised the issue of CIFS and Samba. Microsoft notes that releasing CIFS documentation was required under the proposed settlement with the Justice Department and nine settling states. But critics counter that Microsoft's use of the licensing agreement could stifle one of Microsoft's "most effective competitors". The Free Software Foundation (FSF), creator and advocate of the GPL, said Microsoft transformed the antitrust settlement into an "attack" against GPL programmers. The FSF singled out two Microsoft patents to which the licence agreement grants programmers royalty-free access. "They've turned to their patent pool as their last resort to assail us," FSF executive director Bradley M. Kuhn said in a statement after Microsoft posted the technical reference. Samba software lets Linux and Unix-based servers look like Windows servers, allowing them to communicate effortlessly with Windows PCs. Because a federal judge has already determined that Microsoft has a monopoly on the desktop-computer operating system, the ability of competitors' server computers to work with Windows PCs is a central issue in whether the company is behaving anti-competitively to extend its monopoly into the server market and other areas. The desktop-server connection is also part of Sun Microsystems' private antitrust suit against Microsoft. Though the document published in March deals with older Microsoft software, the company is expected to publish additional information this summer that could further frustrate many developers. The March document describes CIFS in Windows NT 4.0 -- introduced in 1996. Microsoft plans to release details in August on CIFS in the more current Windows 2000 and Windows XP. Including the current CIFS restriction in the new document could prevent Samba developers and others from using the information in software that works with these newer products. My licence or yours?
Microsoft's CIFS licence is the company's latest effort to raise legal concerns about the GPL, which underlies Linux and many other open-source projects and has been a flashpoint in the open-source debate. Microsoft has raised the hackles of open-source advocates by calling the GPL "viral" and "Pac-man like" -- arguing that using GPL-covered code in a program means the entire program must then be governed by the GPL. "This licensing model has the effect of foreclosing a business's choice of what intellectual property to share with the community and on what terms," Microsoft has argued. Open-source fans don't always get along well with Microsoft, but they hold no delusions that they can ignore prevailing Microsoft technologies. Samba is just one of many pieces of open-source software that enable non-Microsoft products to exist in a Microsoft-dominated world. OpenOffice, for example, a Sun-backed effort to create an open-source competitor to Microsoft Office, boasts as a key feature the ability to read and write Microsoft Office files. And Ximian programmers are working with the assistance of HP and Intel to clone the underpinnings of Microsoft's .Net Internet software. Samba also enjoys the support of several large Microsoft competitors. IBM includes Samba in its marketing pitch that tries to persuade customers to consolidate multiple lower-end servers onto a single mainframe simultaneously running several instances of Linux. HP has also translated Samba and supports the software as a way to update its decades-old HP 3000 server line. SGI offers and supports Samba for its Origin line of Unix servers. And Quantum, which employs Samba founder Andrew Tridgell, uses Samba for its storage devices, including the new higher-end Guardian line. Samba is also key to one of the popular uses of Linux: powering inexpensive servers that store shared files, a task Microsoft would rather see Windows handling. Early history of CIFS
The relationship between Samba and Microsoft wasn't always so contentious. In 1996, when Microsoft was just introducing CIFS, it had to contend with competition such as the Sun-Novell alliance behind Sun's WebNFS software. Microsoft at that time pledged that it was "making sure that CIFS technology is open, published and widely available for all computer users," and it noted that Samba used CIFS. Microsoft submitted the first version of CIFS to the Internet Engineering Task Force at the time, a first step in the standardisation process. That process went nowhere, but a 1997 version of that submission is still available on the Internet. The submission made no mention of two related patents, which Microsoft received in 1993 and 1995. In addition, Microsoft shared information in a series of CIFS conferences that began in 1996. The patents, however, rose to prominence this year. In the technical document describing CIFS in Windows NT 4.0, Microsoft prohibits companies from using the information in software covered by the GPL, which includes Samba. Microsoft requires readers of the document who plan to implement its description to sign a licence agreement that raises the spectre of patent infringement. Specifically, the agreement grants a company a royalty-free licence to two Microsoft patents but prohibits the developer from using the CIFS information in software that would subject that company to "intellectual property rights-impairing licences," including the GPL. Microsoft, though, isn't opposed to some open-source licences that allow shared software to be made secret, including so-called BSD-style licences that cover FreeBSD and related versions of Unix. Alternative plans
Despite the legal threat, Samba has told developers not to panic and argues that the patents don't apply. Microsoft itself stopped using the techniques described in the patents, and CIFS information is available elsewhere. "Some people have incorrectly assumed that Samba must implement the methods described in these patents. In fact, the methods described in these patents are quite inappropriate for a Unix...CIFS implementation such as Samba," Samba said on its Web site last week, in conjunction with information about the first-ever SambaXP developers conference. The two Microsoft patents involve reading or writing files over a network using the "raw" method, which speeds data transfer by stripping out some information. The patents aren't relevant to Unix and Linux, Samba's Allison said, because the operating systems don't use the same networking methods. Samba suggests that developers avoid using the Microsoft document and instead rely on a document newly released by the Storage Networking Industry Association (SNIA). This document was produced with the assistance of Microsoft, among others. But patents aren't the only obstacle, and the SNIA document is only a partial solution. Allison said the specification in the SNIA document isn't sufficient for servers that must communicate with Windows "client" PCs. "The SNIA CIFS spec is an ideal description of how the clients should operate and isn't too bad as an initial guide," he said. "The problem comes when you have to talk to real Microsoft clients, (which) don't actually follow this spec -- whether by design or accidental bugs is not clear." Documents or not, Samba will continue to rely on programmers to use nothing more than careful observation to figure out how Windows servers and clients work, a process similar to reverse engineering, Allison said. The antitrust connection
Meanwhile, CIFS and Samba have emerged as an issue in Microsoft's antitrust trial. A part of the settlement requires Microsoft to disclose server-communication protocols to ensure that the company cannot make Windows desktop software work better with its own server software than with that of competitors. In the remedy hearings with Microsoft and the non-settling states last week, Microsoft's opponents raised CIFS questions with Rob Short, corporate vice president in charge of the innards of Windows, who said the technology is governed by the settlement. "Some of our competitors have been complaining that they are not able to fully interoperate with some of these protocols, and we've agreed to make the protocols completely available. So I thought that would solve the complaints," Short testified. But that's the rub: the protocols are available to those willing to sign Microsoft's licence agreement prohibiting their use in GPL projects. In a statement posted in March, Microsoft said it would license CIFS technology used in the older Windows NT 4.0. In August, the company will make a similar move with "proprietary enhancements" to Server Message Block (SMB) -- the foundation on which CIFS is built. Those enhancements are already used in the more modern Windows 2000 and Windows XP. Additionally, Microsoft disagrees that its patents are irrelevant and says they apply to more than just Windows. "Microsoft reviewed the two identified patents and believes that they are necessary for the implementation of the CIFS communication protocol as set forth in the technical reference," Michele Herman, director of intellectual property strategy at Microsoft, said in a statement. The company said a CIFS implementation based on different documentation wouldn't necessarily require the patents to be licensed, however. Microsoft's patent stance is complicated by its earlier submission of CIFS to the Internet Engineering Task Force, said Claude Stern, an intellectual property lawyer with Palo Alto, Calif., law firm Fenwick & West. "You shouldn't be able to sue somebody for patent infringement when you were trying to make what is the subject of the patent a standard," he said. Samba programmers are further protected if they ensure their implementation of CIFS isn't based on the Microsoft technical reference, Stern said. Indeed, that's a precaution Allison said he is taking.
ZDNet UK's Developer News Section delivers the latest headlines together with the best UK jobs, right to your browser. Have your say on all developer topics. From j2ee, to C++, from Visual Basic to Javascript plus much more. Share your experience with others on the Developers Forum. Let the editors know what you think in the Mailroom.

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

JCB33

How dare film makers, artists or anybody that invests in creativity stop us pirating their works for free. I want to be able to walk into my local...

5 hours ago by JCB33 on ACTA stumbles in Germany
Moley

@GrueMaster. I prefer horses for courses rather than one size fits all. I, and I suspect most other computer users, do not really wish to have...

7 hours ago by Moley on A tale of two distros: Ubuntu and Linux Mint
greycynic

The product that scares me every time I have to use it is the Office 2007 version of Excel. The first bug that I found was applying the median...

7 hours ago by greycynic on Ten flawed products that derail productivity
GrueMaster

Nice review and very informative. One thing I'd like to add (in reply to whs001's 1st question), the main reason to have the same interface from...

9 hours ago by GrueMaster on A tale of two distros: Ubuntu and Linux Mint
Frederick Wrigley

I'be been using Mint 12 since the RC came out, and I am far more happy with the Cinnamon, the Mate, and, yes (with extensions), theGnome 3...

10 hours ago by Frederick Wrigley via Facebook on A tale of two distros: Ubuntu and Linux Mint
bdantas

Excellent article. One small correction, though--although a fresh installation of Linux Mint 12 will, indeed, provide the user with a version of...

10 hours ago by bdantas on A tale of two distros: Ubuntu and Linux Mint
Alan Ralph

In related news, the ISPs club together to get the members of the Home Affairs Select Committee (ya goofed on that part, ZDNet UK) copies of "The...

11 hours ago by Alan Ralph via Facebook on MPs urge ISPs to take down terrorist material
Alan Ralph

In related news, the ISPs club together to get the members of the Home Affairs Select Committee (ya goofed on that part, ZDNet UK) copies of "The...

11 hours ago by Alan Ralph via Facebook on MPs urge ISPs to take down terrorist material
Moley

For Gnome 2 die-hards, it is possible to add icons to the bottom panel (or top top panel, if you prefer) which provide the exact Gnome 2...

12 hours ago by Moley on A tale of two distros: Ubuntu and Linux Mint
ramwellian

Your comments would seem pretty naive and immature. Your 'solution' appears to be, "gee, let's all just give in to the hackers and give them...

12 hours ago by ramwellian on Cloud computing security: no more oxymoron?
BugStalker

"Interesting thought ... If you installed Win7 as a dual boot on a machine that previously only had Linux, and it wrecked your Linux installation,...

12 hours ago by BugStalker on Windows 7 Declares War on GRUB
whs001

This is an excellent summary of Ubuntu and Mint and the interface differences between them. Most such articles take a very partisan position for...

12 hours ago by whs001 on A tale of two distros: Ubuntu and Linux Mint
Moley

@ewallace. Not so clear. Anyone can obtain the text, for example from here http://www.ustr.gov/webfm_send/2379. I support ACTA so long as it and...

12 hours ago by Moley on ACTA: Facts, misconceptions and questions
45283

I think WinRT is fantastic. I just wish it was an option for people that didn't want to go through Microsoft's App Store with its attendant...

16 hours ago by 45283 on Why Windows 8 needs architectural hygiene for WOA
Burn-IT

Nine people? £30m? Who's back pocket is that lot going in? And IF they say it is for new buildings, what about all the ones the government has...

17 hours ago by Burn-IT on Police set to launch three £30m e-crime hubs
ewallace

Just to be clear, nobody knows what is in the text of ACTA, here is a photograph of the text of ACTA http://twitpic.com/8h9iju as submitted to the...

17 hours ago by ewallace on ACTA: Facts, misconceptions and questions
fgvrg56

Unfortunately main issue is that ASUS is refusing to accept that they make some mistake on this version of asus Transformer prime. 1 - GPS sensor...

18 hours ago by fgvrg56 on Asus Eee Pad Transformer Prime Wi-Fi & GPS problems?
Ben Woods

@Marcus A fair question. Just talked with Archos which said it was working on an announcement for next week....

19 hours ago by Ben Woods on Archos confirms G9 Ice Cream Sandwich update schedule
Marcus Karlsson

Any update on this, considering the claimed "first week of February"?

20 hours ago by Marcus Karlsson via Facebook on Archos confirms G9 Ice Cream Sandwich update schedule
apexwm

Bill Goodrich : Just as al_langevin pointed out, with Windows Server 2008 there is no Services for Macintosh anymore. It's gone, not available....

1 day ago by apexwm on Windows Server 2008 drops the ball for Mac compatibility

Latest in Application Development