Samba Turns 10
abartlet writes: "Samba is celebrating its 10th birthday - initally released as Andrew Tridgell's humble 'Server 0.5' 10 long years ago. Tridge has made some notes on the past 10 years. And Samba is still going strong, becoming a cornerstone of the Linux community. Samba 3.0 is on its way and promises many new features, including for the first time support as a server in an Active Directory domain!
But the biggest thanks goes to all those who have contributed code, bugs, testing, docs and feedback in general. We could not have come the last 10 years without you!
-- Andrew Bartlett, Samba Team."
Story submitters: Try to do this every time. It's provides context, and you know we all want just click and not hunt it down.
Get your Unix fortune now!
Mad, mad props to these guys for 10 years of work on a protocol that you know Microsoft has worked long and hard to obfuscate through a lack of literature and, to some extent, probably in the arrangement of information in each payload.
I also get the same feeling of awe when I see emulators for proprietary game systems released a very short time after the hardware is. For example, I spent some time writing a little game for the PlayStation to get my hands dirty, which I couldn't have done without the talents of the people who take the time to disassemble the ROMs, write the docs, produce the tools, and analyze the source code.
If there were some way I could contribute monetarily to the Samba project or even some of my time (I have done some rev-eng stuff myself, mostly on undocumented Palm libraries), I would gladly do it. These guys deserve major kudos.
Karma: Excellent Birds (mostly as a result of listening to Laurie Anderson)
I personnally use !SmbServer under RiscOS in order to efficiently share some files and printers with Linux and Windows machines.
I just find it amazing and it IMHO has become a true protocol, much beyond its original Linux/Windows filesharing scope.
Thanks !
Trolling using another account since 2005.
Kudos to the programmers.
I used Samba 2 as the basis of my CS senior project. It was maervelous technology then, and it's only gotten better since.
BTW, my senior project led to the use of Linux in our labs, as SMB was the only thing they really needed and had been looking at going to a *nix. My project deomnsrated that Linux with Samaba was the platform they needed to be on.
.. and the team really does great work. But, the SMB protocol is a moving target, we had to see that several times in the past. The Samba team has always managed to readapt to new protocol versions. Everyone who has worked with Windows' network Neighborhood knows that SMB is also a really really broken protocol which only works with much patience.
Wouldn't it be just better to invent a very new protocol, and provide clean clients for all major operating systems (Linux, BSD, windows 9x/NT, etc.). For Linux/Unix/BSD, something better than NFS is really required - NFS sucks (security? etc.)
I'm a bit thinking about efforts like Coda which is in the Linux kernel for years now, and there also exists a Windows client. Last time I checked there was no NT client which makes Coda practically useless at this stage.
But I think a clean, well designed, secure and stable protocol would be a benefit for big company's networks and for home networks. I work as developer, but I often help our admins. It's a network of w2k, NT4, Linux and FreeBSD machines (about 60 computers). The Windows machines always suck... in many cases because SMB doesn't work as it should.
And since then, I've networked by freakin' house - all because of samba and netatalk.
Nope, not me, I must be someone else...
Sounds good. May have to check it out as a cheap file server. I wonder how it will compare to EMC though.
By the end of it, you can actually do something (gasp!) useful in some circumstances.
Here's the text
...For best product enabling some semblance of competition in an office workplace environment, and for all their efforts going up against a very well funded vendor lock-in conspiracy. A great example of real software technology competition on it's own merits w/o the heavy reliance on marketing and legal manouvering.
try { do() || do_not(); } catch (JediException err) { yoda(err); }
I've integrated numerous NetWare/NT networks. It just requires a skill set a lot of people just don't have these days. What app are you talking about? Why do you blame the NetWare for the app's misbehavior? ZenWorks, simply, kicks ASS. People mock what they don't (or won't) understand.
It is actually possible as it stands to get Samba to at least authenticate to an AD server (I'm guessing due to backward-compatible features making the AD DC act more like an NT4.0 DC); we're doing it here. However, there's probably a load of other AD features that aren't supported in 2.2, so best of luck on improving what is already a very good product!
"Every mistake made with computers has been made three times: on mainframes, minis, and micros. Now we are building networks..."
sPh
First off, kudos to the samba team for developing a product that works well and raises Microsoft's ire.
Does anyone know if future versions of Samba will be able to function as a backup domain controller in an NT4 domain? That right there would be a huge boon for companies that don't want to spend MS License costs, but need failover protection.
Unfortunately, I'm still a novice programmer, and that sort of thing is well above my abilities. Oh well, maybe one day.
Samba works faster than Microsoft networking (there are tests showing this). I'll admit, Microsoft keeps pushing the envelope - releasing new stuff that barely works, and giving great new ideas to Samba's developers.
And as far as making standards, a lot of the new ideas for a browser come from MS. Are they bad ideas? I think not. MS does a lot of things very badly, but their internet browser is top notch - it works better, and encorporates a lot of interesting features not found in other browsers. If they'd release it under Linux, I'd have no good reason to dual boot.
Mod me down and I will become more powerful than you can possibly imagine!
Unfortunately, the SAMBA team has a much bigger challenge on the horizon.
Microsoft is just biding thier time and waiting for the ultimate outcome of the Napster and other laws that forbid fair use, reverse engineering, etc.
My personal prediction for 2002-2003 year is that SAMBA will end up in the fryin pan with a letter from Microsoft's cronies/lawyers telling them they are in violation of and that they must cease operations immediately.
Same goes for a lot of other open source projects.
I think the Open Source community should preempt the money establishment and prepare for the day when projects and servers can distribute free software without being so centralized as they are today. (i.e. SourceForge).
I won't get into what I think the rammifications are should SourceForge ever becomes seriously compromised. (i.e. a new project Opens up and voila', the source code to Windows 2000 is downloadable....)
The past year has been the worst year of patents, MULA, EULA, RIAA and DMCA crap I have ever seen.
More shananigans no doubt will be the rule of thumb for 2003, but only this time, there won't be so much confusion, as recent ignorant courts have made some very very dangerous precedents.
Microsoft is just waiting for enough of them to accumulate before they hit the Open Source community with 2 Billion dollars funding a horde of lawyers that will forever do away with critical key software the OpenSource community relies on. (i.e. SAMBA, Linux Kernel, X-Windows, etc.)
It very well maybe that Europe will see the rebirth of Open Source as such crap doesn't go over very easily in Europe. (i.e. the ludicrous idea of software patents.)
Got Geometrodynamics? Awe, too hard to figure out? Too bad.
I couldn't agree more, however NetWare 6 doesn't require a Novell Client to be installed any more. So that argument goes away. My gripe is with the Novell kernel. It kinda sucks compared to Linux and NT. There are still way to many times a process abends and it locks the console.
However, I think that Linux kinda blows for a file and print server in a med-large environment. Linux needs "access control list" built in to a typical Red Hat or other major distro. The idea of only having ONE owner, group or "other", for file permissions kinda sucks for most businesses. It would be nice if Linux also supported inherited rights mask, like NetWare also.
The more I learn about science, the more my faith in God increases.
Samba is one of the best examples of systems integration I ever seen. They tried to bring together two opposite sides that didn't seem to be interested to be together and did a terrific job.
Samba should be at the next Carnival in Rio, guys!!
------I can please only one person per day. Today is not your day. Tomorrow isn't looking good either.------
I think Samba exists not for the validation of Microsoft but for the encouragement of interaction among heterogeneous systems.
Here are a couple of points to consider:
I think overriding effect of Samba and other free software projects that implement proprietary protocols is to make operating sytems that incorporate these implementations (originally GNU/Linux and FreeBSD, but now also several other UNIX variants) more attractive as newcomers to many previously entirely DEC or Microsoft shops, since they can interoperate seamlessly with legacy equipment. I would rather implement GNU/Linux with Samba in my datacenter than some proprietary OS that doesn't use Samba because I know Samba will be perpetually maintained and will always interoperate with any particular legacy system I am forced to use.
Having worked for a major life sciences company in a biochemistry research facility, I know the need for interoperability with legacy systems. For example, we had a number of instruments called BetaRams which we the biochemistry IT team had to support because they would be expensive to replace, yet the company that manufactured these no longer existed. The only software available for these systems was only certified to work on particular versions of IBM PC-DOS and MS-DOS. We had to be able to allow the software to write data to network drives, and all we could run was LAN Manager or Novell. We needed to store the data on fault-tolerant, near-perfect-availability systems. So, we used VMS with PathWorks (SMB) - this decision was made long before Samba.
Actually, for a home network with a broadband Internet pipe, I would probably use NetBEUI for the SMB services, precisely because it is non-routable. It works fine on small nets, and the non-routability makes it much harder for unauthorized external users (i.e. crackers) to mount shares.
Save Maine's economy: write stuff down. All comments are exclusively my own, not my employer.
>> No bashing here , but Samba validates Microsoft.
No it doesn't! There seems to be two groups of people here - those that embrace every attempt to get Linux to work with the rest of the world, and those that see anything like that as some sort of "betrayal" to the Linux community (to be fair, you haven't worded it that strongly, but I've seen it many times here).
As an end user, and not a hacker, I cannot tell you how important it is to be able to have sharing of resources with others, regardless of their OS. It goes without saying that the majority of computing resources in the world are attached to MS-run machines. Anything that promotes access is a winner in my books. That the Samba team has accomplished this, to the degree they have, with a protocol as "crappy" as that, with MS doing everything they can to obfuscate matters, well, hats off to you people. Thank you very, very much.
Would you prefer that they dismantle Samba and wait until enough Open Source resource sharing protocols are embraced by windows users? Don't hold your breath!
Sincerely
DT
Microsoft actually profiting from this move - sure, they'll loosing a bit on server selling if you use Linux as a PDC, but you still need NT/2K for BDC stuff, you're also using Exchange server which needs licenses (and connected to PDC/BDC), and the biggest part - those servers service the Windows workstations - which is the big revenue to MS...
Once Samba becomes a full-fledged server/client piece, with PDC/BDC et all, you would be able to have a full network with Linux stations and servers running Samba.
Why use Samba for Linux, if most are Linux anyway? For those couple of MS workstations/servers you still have. It would be great for migrating from MS to Linux. First, slowly replace the servers with Samba stations, then slowly replace the workstations. MS wouldn't like it if Samba was widely being used as a Windows-to-Linux migration tool.
Zodiac Survey
This counts as sort of amusing as Samba was originally written for Trigells' DEC system, and I doubt he even expected to ever get off his DEC, let along be ported to a dozen other systems and become one of the highest profile Free Software projects in use.
Hilary Rosen's speech was about her love of money and her desire to roll around naked in a pile of money.
Uh, what? What sort of "protection"? The question is kind of vague.
Linux and NT (and all modern OSes) support memory protection, so one process can't access the memory of another process or of the kernel except by explicit arrangement. They also have crash protection, so an unprivileged user process can't (in theory) cause serious harm to the running of the system.
These have been considered standard features for a serious OS for fifteen years at least. The fact that Windows 95/98/Me and Mac OS 9 didn't have them only means that they should not be considered serious OSes. The fact that Netware 4 didn't have them means it was designed for a niche, not general-purpose.
"How can you claim that you are anti-crack, while still writing a window manager?" — Metacity README
Indeed, thanks to the design of NetBIOS and the MSRPC protocols for NT domains, it is quite easy to be a very disruptive influence on a network. And thanks to bugs in the NT implementation, misconfiguring Samba can actually take down NT machines! (Yes, that's a denial-of-service security hole. No, Microsoft doesn't care.) Of course, misconfiguring NT machines can take down NT machines as well - but NT's configuration isn't even close to as easy / flexible as Samba's....
"How can you claim that you are anti-crack, while still writing a window manager?" — Metacity README
Not necessarily. I've loaded apache and tomcat into protected memory space and still had them f*ck up the server. Although, Netscape Enterprise server was a lot worse at crashing (all the time!) we had to use it for Groupwise integration. A lot of times it locked up so bad I had to escape into the console debugger to exit Netware (still dropped me to an oh-so-familiar DOS prompt though!) and restart the server. Not nice, as it never cleanly unmounted the FS that way. OTOH, my IIS 4 server, which ran side by side with the NetWare server on a measley P-150 while the NetWare server was a PII-550, still outperformed it and never once BSOD'd or crashed. Only time I had to reboot it was when I had to apply hotfixes. Meanwhile, it seemed like I was rebooting the NW server every other day. The moral of the story: Netware as a web server sucks!
I have said this many times before and many people agree with me on this. All Samba (and Linux) needs is a simple way of graphically browsing and right-clicking, then choosing a menu option of share. It also needs to become more incorporated into the operating system to allow one single listing of user accounts, instead of one list for Samba, one list for the OS.
This will do wonders for opening up Linux to places that it currently is unable to get into. I am not saying that those other lists need to go away, because there are plenty of times when having those additional, seperate, user lists can be beneficial to security.
Will having a powerful feature like that seriously hinder the stability and security of Linux? I personally believe that that wouldn't be an issue, if implemented properly.
Until that day, unfortunately, Linux will remain a backroom OS only usable by those that enjoy learning and battling with dificult to follow configuration files. I happen to enjoy that, but I cannot count the number of times that a Samba config gave me minor issues with a single config line.
The news that I really want to hear is someone proclaiming that they have built a Linux distro that allows you to easily setup the system with one single user listing and the ability to configure network shares very similiar to how you can do so under Windows.
I know, it is a blasphemous thing to say. However, it is the truth. It will help Linux grow in market share, usability and seriously help Linux gain more ground over Windows.
If I had the time, I would work on it myself. I just don't have the time and energy for such an ambitous project. Please,take this idea and run with it.
--
.sig seperator
--
If you ignore the other uses of a tool, does that make the tool less useful, or you less useful?
doesn't LMHOSTS get around this?
"We apologize for the inconvenience."
IE is not a browser. IE is not "software".
IE is a criminal tool of an anticompetitive monopoly.
Believe it or not, Troll, it is possible for IE to be all three of the above.
It also happens to be the best browser for Windows.
Dinivin
Trademarks are different. There, you _have_ to sue, or lose it. You can ignore copyright violations and still retain the copyright.
On my 2K box I find that I use Opera 6 more than IE. There are places I have to use IE to get to (The MCP secure site at M$ to give an example) but Opera 6 is faster, handles multiple windows better and is free as in beer if you don't mind a little ad banner in your taskbar.
On Linux I like Konqueror. It's IE the way IE should be. I suspect there are people sniffing around at Konqui's code up in Redmond now.
This reminds me...I should download Opera for MacOS PPC right away. Netscape 4.08 and its quirks are getting old, and IE 4 for Mac committed seppuku a few weeks ago...it freezes when you try to open it.
Yeah, I'm typing this from work on IE. But folks... http://www.opera.com/ . Just do it. Actually supporting these guys by buying the browser is a Very Good Thing (tm) and it's really not that expensive.
Knowledge is power. Knowledge shared is power multiplied.
One of the more interesting applications of the SMB protocol has, in my experience, been the smbfs part of FreeBSD. It's not very well known, but it's incredible easy to use - nowadays it's even part of the base system; no port needed.
/etc/fstab that mounted all my SMB shares at bootup. Then I was able to share JPilot information, .vimrc's and so forth.
One of my machines boots into both BSD and windows; the other one serves as a Samba server so that I can share media and data. Using smbfs, I was able to put a line into
Although few people here know it, Novell's file sharing protocol, NCP, kicks serious butt. It is probably by far the best file-sharing protocol on the planet for serious production use. (there's some interesting stuff in the works, but at present development rates, it'll be years before its as robust and fast as NCP.
The architecture of NCP is vastly superior to SMB or even NFS - NFSv4 will finally have some of the killer WAN features that NCP had in 1993. The protocol, is lean, elegant, performance-optimized, and engineered to work in the real world in ways others haven't ever bothered to think through. It pretty much had to be that way, considering it was designed to run on '286s.
Case in point: NetWare won a shootout I conducted in 1994 to pick the best file-sharing system on which to deploy an emergency oil spill response system (be in full communication with Houston from anywhere in the world within 15 minutes of hitting the ground, with no computer guys for hundreds of miles!) The data link was over an Inmarsat satellite telephone - horrible latency with the bird in geosynchronous orbit. Everything was on PCs, and file sharing was mandatory to support Microsoft Mail and I included NetWare just for political reasons, expecting it to get creamed by one of the NFSes from NetManage, FTP Software, or Sun.
Readers' Digest Version: NetWare smoked everyone so bad, I thought it must just be that all PC NFSs were bad - but the same thing happened with a Unix box over such a high latency link. I dug into it, talking with some of the Novel protocol jocks, and we identified several things that made it even faster, which they added in the next release. NetWare flat flew, NFS was unusable. I was sold on the superiority of NCP, and I think that's still true today.
Good engineering still wins. As a longtime Unix bigot, I even developed a respect for NetWare, and how little server resources it needed to support a serious number of clients. NetWare is arguably not a real OS, but there's nothing faster for serving up files and printing, and sometimes, that's all the job is. (Sadly, I haven't worked with NetWare in several years. Its only problem back then was that it was an order of magnitude more difficult to manage than it had any right to be. Much like Linux in that regard...)
"The future's good and the present is nothing to sneeze at." - Roblimo's last
although it has used DOS as a poor man's boot loader
A friend of mine used to say, "DOS isn't really an operating system, but it's a damn fine program loader!" Pretty accurate, really.
(Program loaders were common back in the early minicomputer days before many computers had the resources to afford luxuries like an OS.)
"The future's good and the present is nothing to sneeze at." - Roblimo's last
Why didn't Novell recognize Microsoft's Maoist strategy by 1990 (enemy advances, we retreat...)? Many of us in the networking world did. Why didn't (and doesn't) Novell try to find some way to counterattack other than a head-on assult? Why not seriously open source some NDS code? Why not a real Netware client for Linux? Why not try to find some ground, any ground, to fight where Microsoft doesn't hold the heights? Why didn't Novell buy Netscape in 1995 when they had the cash (although given what they did to WordPerfect and SoftSolutions, maybe not!)?
At this point I am afraid it is too late for the "Big Red N".
sPh
Yes, Novell had (and has) pricing and maketing problems - probably fatal. And yes, if your only experience with Netware is a 3.11 network set up by someone whose brother once took the Intro class, it can be horrendeous (sound familar? Linux set up by someone who has never used Unix before?).
But the reflexive hatred to things Netware seen on Slasdot is pretty counterproductive.
sPh
At this point I am afraid it is too late for the "Big Red N".
I'm afraid so, even Eric Schmidt couldn't turn the place around - he recently left as CEO of Netscape to be CEO of Google. For those that don't know, Eric is the brilliant former CTO of Sun who was the internal champion behind Java and many other cool things we now enjoy...
"The future's good and the present is nothing to sneeze at." - Roblimo's last