Slashdot Mirror


Tridgell Taking Samba Beyond POSIX

dW writes "The Australian hacker has been working on pushing Samba beyond the POSIX world and figuring out what work needs to be done to get Samba to support new filesystems such as XFS, ext3, and Storage Tank. The answer is nothing less than a complete rewrite of Samba's smbd code, which has become his latest pet project. Here's an interview with Andrew Tridgell on his latest Samba rewrite."

137 comments

  1. Maybe this will kick MS.. by Angry+White+Guy · · Score: 2, Insightful

    Out of the datacenter market!

    --
    You think that I'm crazy, you should see this guy!
    1. Re:Maybe this will kick MS.. by xanadu-xtroot.com · · Score: 3, Insightful

      Where they ever really "in it"?

      --
      I'm not a prophet or a stone-age man,
      I'm just a mortal with potential of a super man.
    2. Re:Maybe this will kick MS.. by Angry+White+Guy · · Score: 1

      To hear them say it, yes.

      --
      You think that I'm crazy, you should see this guy!
  2. ext3? by xchino · · Score: 1

    There's no support for ext3? I'm sharing out several partitions with ext3 file systems via samba right now. Maybe they meant some other type of "support".

    --
    Everyone is entitled to their own opinion. It's just that yours is stupid.
    1. Re:ext3? by rf0 · · Score: 1

      As I mentioned elsewhere I think they are talking about thing that might be unique to the filesystem. Say ACL's or simialr

      Rus

    2. Re:ext3? by amcguinn · · Score: 5, Informative

      What he's talking about is taking advantage of "exotic" filesystems. Currently Samba just assumes it has a plain-old Posix filesystem like ext2 behind it, and does things less efficiently than might be possible

      I'm not sure ext3 is a good example, but let's imagine it has a concept of transactions. Samba might be able to take advantage of that to provide a better implementation of CIFS, but to do that it has to know about ext3, more than that it's compatible with Posix.

      Other examples: ACLs, case-sensitivity, multiple streams in files (like Macintosh resource forks), stuff like that.

    3. Re:ext3? by rf0 · · Score: 1

      Good summary :) One to make a note of I think

      Rus

    4. Re:ext3? by afidel · · Score: 1

      I was under the impression that at least TNG had ACL support for the various ACL'd filesystems under linux and their native unices. Am I incorrect?

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    5. Re:ext3? by MCZapf · · Score: 2, Informative

      Samba 2.2 has ACL support - for XFS, at least. I know because I use it now. It's not just a TNG feature.

    6. Re:ext3? by boots@work · · Score: 1

      How can the parent be +5 informative when the poster is clearly making it up?

      let's imagine it has a concept of transactions.

      1 - ext3 doesn't expose a transaction interface
      2 - CIFS doesn't need it
      3 - Let's imagine moderators are on crack

    7. Re:ext3? by amcguinn · · Score: 1

      There's more to information than facts you can use to answer multiple-choice questions.

      Brian: Look, there was this man, and he had two servants...

      Heckler3: What were they called?

      Brian: What?

      Heckler3: What were their names?

      Brian: I don't know. And he gave them some talents.

      Heckler2: You don't know?!?

      Brian: Well it doesn't matter.

      Heckler3: He doesn't know what they were called.

      Brian: Oh, they were called Noims, and Adrian, now...

      Heckler3: Oh! You said you didn't know!

      Brian: It really doesn't matter, the point is there were these two servants.

      Heckler3: He's making it up as he goes along!

  3. Extended Data Types by rf0 · · Score: 4, Interesting

    They way I'm reading this support for things like XFS/ext3 etc is that samba will implment things such as native ACL's and such like. However I can help but wonder how these will be preserved if say the server is XFS and the Client FAT. The only think I can think of is some sort of file which stores it as Metadata. Of course if it was XFS -> ext3 then you might be able to convert to the native setup but it might be buggy and subject to the filesystem formats changing

    Rus

    1. Re:Extended Data Types by oliverthered · · Score: 2, Informative

      Probably the same way that it isn't in windows.

      --
      thank God the internet isn't a human right.
    2. Re:Extended Data Types by rf0 · · Score: 1

      If the NT side is using NTFS then it might actually be possible to store in NTFS streams which I believe are simliar to the way Apple in HFS used to implement a data and text part of their files. TBH I'm not 100% sure about that

      Rus

    3. Re:Extended Data Types by Abcd1234 · · Score: 4, Informative

      However I can help but wonder how these will be preserved if say the server is XFS and the Client FAT.

      Hmm... it seems you didn't fully understand the article, and the problem currently being solved. First, let's create an example. We have a Win2k server serving files to a Win98 box. The Win2k server supports ACLs (in NTFS) and there's a bunch of access controls on the file. The user copies said file to their local box. Guess what, Windows must handle this somehow...

      My point? This isn't Samba's problem! In fact, it's not even the same problem domain. Samba runs on the server side. What you mention is a *client side issue*.

      The article is describing a method of emulating (or, more accurately, mapping) SMB (actually, probably NTFS) ACLs to ACLs in the native filesystem format. This is something Samba never did before because POSIX simply doesn't have the capabilities necessary to do this, and Samba was always targetted specifically at POSIX-compatible systems. BUT, filesystems like XFS, ext3, and others, have more advanced functionality in this area. So the work being done is to simply make the Samba backend more backing-store-agnostic, allowing it to take advantage of the advanced features in some of the more exotic filesystems out there.

    4. Re:Extended Data Types by Anonymous Coward · · Score: 0

      No, you're right. In fact the only application that I know of that uses NTFS Streams is MS's AppleShare server.

  4. I use Samba... by borgdows · · Score: 0, Redundant

    ...only because I am on a windows-based network!
    else I'll be using NFS which is a much better protocol in every area.

    1. Re:I use Samba... by Moderation+abuser · · Score: 1

      Don't like NFS, AFS is nicer, though a bit quirky to the uninitiated.

      --
      Government of the people, by corporate executives, for corporate profits.
    2. Re:I use Samba... by rf0 · · Score: 3, Interesting

      Yeah NFS is a better system. However in defense of MS they have document SMB (aka CIFS) so people can understand it. However virtually every other recent OS has support for NFS so it would be nice if MS included native support rather than just in their UNIX Tools which are cost extras

      Rus

    3. Re:I use Samba... by Anonymous Coward · · Score: 0

      Yeah, but the majority of OSes don't support it so what's the point....

    4. Re:I use Samba... by Anonymous Coward · · Score: 0

      However in defense of MS they have document SMB (aka CIFS) so people can understand it.

      From what I understand the Samba team has had to do TONS of reverse engineering due to the lack of documentation and correction documentation about SMB/CIFS.

    5. Re:I use Samba... by Anonymous Coward · · Score: 1, Insightful

      > Yeah NFS is a better system. However in defense of MS they have document SMB (aka CIFS) so people can understand it. However virtually every other recent OS has support for NFS so it would be nice if MS included native support rather than just in their UNIX Tools which are cost extras

      And NFS support helps Microsoft's business case how, exactly? I can't think of *any* reason for them to support a competing networked filesharing system, and plenty of reasons for them not to - including their historical distaste for all things Not Invented There, unless they've been suitably embraced and extended.

    6. Re:I use Samba... by caluml · · Score: 2, Insightful
      Yeah NFS is a better system

      Hmm, not so sure. All that portmap baggage is annoying. And there is no username level security.

    7. Re:I use Samba... by dasunt · · Score: 5, Interesting

      The parent poster writes:
      else I'll be using NFS which is a much better protocol in every area.

      Er, yes... like how NFS relies on the hostname for security, while SMB/CIFS relies on a password.

      NFS is as (in)secure as the r* commands (rlogin, rcp, rsh). It relies on the client to authenticate the user, and the server only trusts certain clients (or anything pretending to be certain clients).

      Now I'll admit, a good firewall should keep NFS safe. Under certain setups, even a good router should be enough. However, I prefer to think of a firewall as one layer of security - not my first, last, and only line of defense.

      Although I'm not currently using it, AFS/Code seems to be a cross platform (win, mac, unix) secure replacement to NFS.

      NFS might be a better protocol then SMB/CIFS in certain areas, but for security, SMB/CIFS wins (even the old versions of SMB that rely on plaintext passwords).

    8. Re:I use Samba... by afidel · · Score: 1

      exactly, it is much, much harder to get an NFS system properly secured then a CIFS system. Since CIFS is now an open standard I don't see much reason not to use it. I just wish there was a better way to map unix permissions and CIFS permissions onto a single filesystem, this is one of the most frustrating thing about admining our netapps.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    9. Re:I use Samba... by Anonymous Coward · · Score: 0

      Microsoft does support NFS -- "Services For UNIX" contains a server/client (not to mention a full native UNIX implementation).

      They obviously don't advertise this much except as a "legacy" connector.

    10. Re:I use Samba... by rmdyer · · Score: 2, Interesting

      ..."Although I'm not currently using it, AFS/Code seems to be a cross platform (win, mac, unix) secure replacement to NFS."

      AFS, or OpenAFS is not -only- a replacement for NFS it is way over NFS in terms of security and scalability. If you aren't using a global namespace filesystem, then you can't actually call yourself knowledgeable of system administration. The only replacement for AFS that is even close is Microsoft's "Win2k AD'd dfs", and even it is missing a large number of features that AFS has.

      I'm rather shocked that people don't use global namespace network filesystems for data storage and application servers. The redundancy is excellent.

      And, since AFS can be modularly seperated from the authentication system and client OS, it makes for an excellent tool for system upgrades.

      Just my 2 cents.

    11. Re:I use Samba... by nosferatu-man · · Score: 1

      The problems with AFS are that it's almighty bizarre to Joe Average Sysadmin, and that the clients aren't as widespread -- I was going to use "mature," but that's not really a word any rational person would use to describe NFS in /any/ respect -- as the clients for NFS. I love AFS, have proselytized for it in the past, but it's just hard to overcome sysadmin laziness, perceived difficulty of administration and installation, and the network effect of much crappier protocols.

      'jfb

      --
      To spur "enterprise Linux," Big Bang, the distributed two-phase commit.
    12. Re:I use Samba... by dublin · · Score: 1

      The only replacement for AFS that is even close is Microsoft's "Win2k AD'd dfs", and even it is missing a large number of features that AFS has.

      Most notably the ability to build a distributed filesystem that doesn't have a single point of failure, as was required by the MS DFS the last time I checked, since all the name re-mapping happens on a singel server. Ugh - what were they thinking? This has got to be one of the most egregious examples of Microsoft not thinking through the problem before writing the code.

      On the other hand, MS DFS was never intended to be a real solution, but just to keep W2K from being disqualified because it didn't have heirarchical mounts. I've seen MS draw it like a gun in several companies where this was an issue - a situation that really sets me up to earn my consulting fees. ;-)

      --
      "The future's good and the present is nothing to sneeze at." - Roblimo's last ./ post
    13. Re:I use Samba... by Anonymous Coward · · Score: 0

      How does NFS/TCP in SSH measure up?

  5. On the bright side, by Sevn · · Score: 1

    samba appears to support FFS with softupdates just
    fine so I'm cool. ;)

    --
    For every annoying gentoo user, are three even more annoying anti-gentoo crybabies. Take Yosh from #Gimp for example.
  6. I think he means in the other direction by DrSkwid · · Score: 3, Informative

    I think he means that instead of Samba presenting itself as a legacy CIFS file server it should serve files to a client expecting other file systems. So you could run Samba on AIX and tell your Linux box it's an ext3 connection.

    Or maybe it's because the user level file systems on plan9 have made too much of a mark on me.

    open, close, read, write & walk baby, s'all you need

    --
    There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    1. Re:I think he means in the other direction by stratjakt · · Score: 0, Troll

      Well that doesnt make any sense.

      SMB is chatty and slow compared to existing unix solutions like NFS. That sounds double plus redundant to me.

      Of course he can speed up his implementation of SMB, because as it is it's an order of magnitude slower than what Win2k does. (As in it takes 10x longer for me to copy the same file to a samba box than it does to a windows box, no matter how much I poke and prod and test different socket options, etc)

      Samba only exists for compatibilities sake (to talk to Windows, Apples, Novell, DOS, etc).

      --
      I don't need no instructions to know how to rock!!!!
    2. Re:I think he means in the other direction by Cirvam · · Score: 1

      Didn't some pc magzine do a test with samba on Irix and windows and the Irix box was hellishly fast compared to the windows box?

    3. Re:I think he means in the other direction by Anonymous Coward · · Score: 0

      hmm, sounds like you suck at the samba.

      *wait wait wait wait wait* (gotta fill up those 20 seconds somehow) *wait wait wait*

  7. license to change by drgroove · · Score: 5, Interesting

    Samba's existence is vastly important to the adoption by corporate management of perceived 'alternate' computing systems (i.e., Linux, Mac, sometimes Unix, as opposed to Windows) in the datacenter. The simple fact that there exists an easy-to-use, open source method of interconnecting disparate file systems, allowing multiple OS co-existance, is often the lynchpin in convincing managers to permit non-Windows systems to be deployed in a company. I have worked in several situations where employees have wanted to use Mac OSX desktops or Linux/Unix servers (etc.) in an all-Windows shop, and managers balked at the idea until they were convinced that data could still be exchanged, and that the 'alternative' OS'es could still 'talk' to the Windows machines.

    With this established managerial behavior in mind, isn't it interesting that IBM would have hired Samba's creator outright, to work on a project which furthers Samba's ability to communicate with additional operating systems? Samba in many ways is a 'license to change' computers in a datacenter for IT staff. IBM has positioned itself to pump funding directly into the Samba project, as well as to have a say in which file systems it supports; this gives IBM the ability to write its own ticket in terms of promoting its disparate filesystem architectures' usage in the datacenter, alongside their Windows brethren.

    1. Re:license to change by rf0 · · Score: 3, Interesting

      Its intresting to think that Sun developed NFS which is now a standard UNIX method of sharing files. Now we have them going for Samba as well to tap into the Microsoft Dominated areas, i.e. the desktop. It looks like a good move by sun to target new areas. Just the way I see it

      Rus

    2. Re:license to change by afidel · · Score: 1

      Windows in the datacenter, hahahahaha, maybe for the branch office datacenter to handle logins and dynamic dns but that's about it. Any real corporate datacenter will be mostly unix and Z series (nee S/390) machines with maybe some VMS or other legacy systems.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    3. Re:license to change by davecb · · Score: 1
      drgroove wrote:
      Samba's existence is vastly important to the adoption by corporate management of perceived 'alternate' computing systems

      Tridge is doing a good thing, but I really would like to see additional work on single-signon without converting my Unix datacenter to use NT servers as DCs (;-))

      --dave (unix bigot) c-b
      --
      davecb@spamcop.net
    4. Re:license to change by operagost · · Score: 1

      Hey you, call OpenVMS a legacy system again and I'll drop a VAX 6000 on you!

      --

      Gamingmuseum.com: Give your 3D accelerator a rest.
    5. Re:license to change by Anonymous Coward · · Score: 0

      Maceo Baby!

  8. Aaaaah by stratjakt · · Score: 5, Interesting

    Who's working on polishing up that ActiveDirectory and Kerberos stuff so I can continue to use my samba based PDC with WinXP.

    It's neat that he's extending the SMB protocol to support some more of the native features of the underlying filesystems.

    But I'd wager the lions share of it's user base want samba to replace/supplement Win2k Server, and soon Win2003.

    This always happens in open source. Projects get pulled in a new direction before they're completed. Developers always want to work on neat stuff and get bogged down in the academics, and it doesnt produce a truly functional result.

    There's nothing that can be done about it, it's his time, his decision. Still, it sure would be nice for samba to be a full member of a Windows 2000 domain.

    --
    I don't need no instructions to know how to rock!!!!
    1. Re:Aaaaah by Abcd1234 · · Score: 4, Informative

      But I'd wager the lions share of it's user base want samba to replace/supplement Win2k Server, and soon Win2003.

      Aren't people reading this article? The work this fellow is doing is exactly along the lines of what you describe. The problem is that Win2k, et al, have a variety of features (like filestreams) which Samba simply can't implement because the underlying filesystem isn't capable of supporting these features.

      So, this work involves modifying Samba (actually, re-architecting it) to allow it to take advantage of the advanced capabilities of some of the new filesystems out there. This will allow Samba to implement *more* of the SMB protocol, such as filestreams, advanced ACLs, etc. BUT, this is a lot of work because Samba is really inherently tied to POSIX, and all the limitations that implies. So, the work he's doing right now is to remove these dependencies and allow Samba to be more backing-store-agnostic.

    2. Re:Aaaaah by ToadSprocket · · Score: 1
      But I'd wager the lions share of it's user base want samba to replace/supplement Win2k Server, and soon

      We fit this bill at my company. We have an ldap instance that stores all pertinent employee info. It is our authoritative data source. We sync the data from ldap into our NT domain. We want to get rid of the middleman here and do straight ldap authentication to ldap, and then authorization to our file systems, w/out NT.

      There is nothing to do this at this point, thus NT lives on.

      --


      If this article confuses you, don't worry. It was posted yesterday in a much clearer fashion.
    3. Re:Aaaaah by lkaos · · Score: 2, Informative

      "Who's working on polishing up that ActiveDirectory and Kerberos stuff so I can continue to use my samba based PDC with WinXP."

      A goodly number of us actually (myself included).

      "There's nothing that can be done about it, it's his time, his decision. Still, it sure would be nice for samba to be a full member of a Windows 2000 domain."

      Tridge has already implemented AD member support (and yes, a samba server can be a full member of a Win2k domain). The things holding us up from Win2k DC support have nothing to do with Samba or SMB but with LDAP (mostly schema at this point but we had to wait for a new-plugin mechanism in OpenLDAP called SLAPI) and Kerberos (if you think staring at SMB packets is painful, Krb5 packets are a thousand times worse...).

      Right now, the rewrite is the best thing tridge could be working on.

      --
      int func(int a);
      func((b += 3, b));
  9. Make smore sense... by forau · · Score: 5, Funny

    When I first read the headline, I thought that it said "Trogdor Taking Samba Beyond POSIX." I thought "Why would the burninator bother with this? Doesn't he have villages to burninate?" Yeah. I'll go ahead and read the article now...

    1. Re:Make smore sense... by DarkOx · · Score: 1

      Homestarrunner rules. Yea Trogdor!

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    2. Re:Make smore sense... by Spunk · · Score: 2, Funny

      Burninating the Windows shares
      Burninating the network

      The Samba comes in the niiiiiight!

    3. Re:Make smore sense... by revery · · Score: 1

      The fact that a Trogdor reference with no explanation whatsoever can get a +5 Funny moderation, is one of the coolest things about being a geek.

      Most people wouldn't know majesty if it came up and bit them in the face...

      --

      Was it the sheep climbing onto the altar, or the cattle lowing to be slain,
      or the Son of God hanging dead and bloodied on a cross that told me this was a world condemned, but loved and bought with blood.

    4. Re:Make smore sense... by Bob+of+Dole · · Score: 1

      That happened once.

  10. linux.conf.au talk by lpontiac · · Score: 3, Informative

    The article was similar to Tridge's talk on the same subject at linux.conf.au in January - "towards full NTFS semantics in Samba."

    The talk (in Ogg Speex audio format) and accompanying paper are on the linux.conf.au CD. There's a list of mirrors on their web site, both to mounted copies of the CD so you can download individual talks, and ISO images of the whole thing.

  11. Some real information by Libor+Vanek · · Score: 4, Informative

    I was on Monday and Tuesday on SambaXP where Tridge had talk about Samba 4. Also we discussed possibility of having completely Windows-compatible (and NFS v4) compatible ACLs on standard fs like XFS and ext3. Result was that Samba team needs a kernel interface for this so I'm going to hire some summer students for this and I expect some working code on autumn.

    1. Re:Some real information by Abcd1234 · · Score: 1

      OOC, why would you need a kernel interface? I'd assume these filesystems have user-space libraries to provide access to their more advanced features. Isn't that all Samba needs?

    2. Re:Some real information by Libor+Vanek · · Score: 1

      If I wanna do it for both ext3 and XFS (and in future JFS - but I don't care about it) so I think it'd be good to have some standard layer. IIRC Samba now left using XFS specific ACL interface and if possible uses Posix ACL which should work genericly for any fs with ACL support

  12. How about by Anonymous Coward · · Score: 0, Funny

    I don't use SMB shares you insensitive clod!

    What's that you say? this isn't a poll? d'oh!

  13. Eh? No XFS + ACLS? by caluml · · Score: 3, Insightful

    I don't know what they're talking about, but if you compile XFS in, all the acls libs, and then compile Samba, you get something that you couldn't tell from Windows. Apart from the uptime, the speed, the security....

    1. Re:Eh? No XFS + ACLS? by Libor+Vanek · · Score: 3, Informative

      These are Posix ACL with clasical rwx attributes. Windows ACLs does have more ACL attributes.

    2. Re:Eh? No XFS + ACLS? by caluml · · Score: 1

      But they all boil down to can you read a file, or can you write to a file. That's all there is to it. You can execute a non executable file by . ./somefile or you could copy the file somewhere and change the permissions so the execute bit isn't mandatory.

    3. Re:Eh? No XFS + ACLS? by Libor+Vanek · · Score: 5, Informative

      No exactly. For example see NFS v4 ACLs:

      READ_DATA Permission to read the data of the file
      LIST_DIRECTORY Permission to list the contents of a
      directory
      WRITE_DATA Permission to modify the file's data
      ADD_FILE Permission to add a new file to a
      directory
      APPEND_DATA Permission to append data to a file
      ADD_SUBDIRECTORY Permission to create a subdirectory to a
      directory
      READ_NAMED_ATTRS Permission to read the named attributes
      of a file
      WRITE_NAMED_ATTRS Permission to write the named attributes
      of a file
      EXECUTE Permission to execute a file
      DELETE_CHILD Permission to delete a file or directory
      within a directory
      READ_ATTRIBUTES The ability to read basic attributes
      (non-acls) of a file
      WRITE_ATTRIBUTES Permission to change basic attributes
      (non-acls) of a file

      DELETE Permission to Delete the file
      READ_ACL Permission to Read the ACL
      WRITE_ACL Permission to Write the ACL
      WRITE_OWNER Permission to change the owner
      SYNCHRONIZE Permission to access file locally at the
      server with synchronous reads and writes

    4. Re:Eh? No XFS + ACLS? by Libor+Vanek · · Score: 2, Informative

      Some of them can help administrator a lot (especially when managing large system you can by "WRITE_ACL" delegate rights to sub-admins, by "ADD_FILE" you can restrict some BFUs doing mess on your system etc.

    5. Re:Eh? No XFS + ACLS? by SuiteSisterMary · · Score: 1

      For example, on a log file, Root should have the ability to read, but not write, append, take ownership, and so on. The daemon user, however, *should* have the ability to append, but not to write/modify, or read.

      --
      Vintage computer games and RPG books available. Email me if you're interested.
    6. Re:Eh? No XFS + ACLS? by Libor+Vanek · · Score: 1

      I think root won't take care of any ACLs ;)

    7. Re:Eh? No XFS + ACLS? by afidel · · Score: 1

      What they don't implement traverse folder, list contents, read/write attributes and extended attributes, delete subfolders, and delete permissions? These are all NTFS permissions that are part of CIFS from what I remember.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    8. Re:Eh? No XFS + ACLS? by jtrostel · · Score: 2, Informative

      XFS doesn't implement those permissions because they are not part of the POSIX permission set. There are ways (using extanded attributes) to add these types of permissions into XFS, but it isn't trivial and still does not match NTFS ACL semantics and behavior completely.

    9. Re:Eh? No XFS + ACLS? by nosferatu-man · · Score: 2, Insightful

      ... which is the great failure of the POSIX security metaphor.

      'jfb

      --
      To spur "enterprise Linux," Big Bang, the distributed two-phase commit.
  14. File Streams? by slim · · Score: 1

    I wasn't aware that Windows supported a view of files where they had multiple forks.

    I hated the concept of resource forks on Macs, and I hate this.

    1. Re:File Streams? by Anonymous Coward · · Score: 1, Informative

      This page has some information on Windows Alternative Data Streams:

      http://www.codeproject.com/csharp/NTFSStreams.as p

    2. Re:File Streams? by ToadSprocket · · Score: 1

      The streams are there, just not that apparent. This is one reason why NTFS is case aware, but not necessarily case sensitive. I think there is a resource kit utility called "streams" that you can use to show the alternate data streams.

      --


      If this article confuses you, don't worry. It was posted yesterday in a much clearer fashion.
    3. Re:File Streams? by extra88 · · Score: 1

      NTFS supports streams but pretty much the only use it gets is preserving Mac resource forks on Mac shares. NTFS actually goes beyond the Mac resource fork by supporting not just 2 streams but many (either 255 or "unlimited," I don't remember which).

      The concept of supporting at the filesystem level data and metadata together is awesome. It's much cleaner than trying to stash metadata at the beginning or end of the data stream using a myriad of formats. It's only a problem when dealing with other filesystems which don't have such support.

    4. Re:File Streams? by Guy+Harris · · Score: 1
      This is one reason why NTFS is case aware, but not necessarily case sensitive.

      Eh? What does case-sensitivity (NTFS is case-preserving, in that if an application makes a call to create a file named "FooBar", it'll be named "FooBar", not "foobar" or "FOOBAR", but not case-sensitive, as an application could try to open "foobar" or "FooBar" or "FoOBaR" or "FOOBAR" and all of those would match "FooBar") have to do with multiple data streams (the pathname syntax for which, in Win32 APIs, is "{filename}:{streamname}")?

    5. Re:File Streams? by David_W · · Score: 1
      It's only a problem when dealing with other filesystems which don't have such support.

      ...and when using a network transfter protocol that doesn't understand the metadata in question (which is virtually all of them).

    6. Re:File Streams? by extra88 · · Score: 1

      ...and when using a network transfter protocol that doesn't understand the metadata in question

      I think that's more the fault of the transfer servers and clients rather than the protocols (the protocols shouldn't have to care) but it's still another important case. I guess my point was that while the environment or implementation makes file streams problematic, the concept of file streams, at least for use by metadata, is a good one. For multiple data streams I think something like OS X's bundling (which is pretty much just a directory with a special bit set) is more appropriate. I could believe there are instances where multiple data streams in a single file is a good idea, I just can't think of any.

  15. Just one? by MrMickS · · Score: 2, Insightful
    The Australian Hacker

    There can be only one perhaps?

    --
    You may think me a tired, old, cynic. I'd have to disagree about the tired bit.
    1. Re:Just one? by trentfoley · · Score: 1

      Yup. And, he's immortal and wields a sword.

    2. Re:Just one? by hachete · · Score: 1

      The Australian Hacker, Australias Hackersaurus, is a *breed* of Hacker: fearless, wiley, strong, *big* on pain and scaling mountains.

      But did anyone else notice in the article that MS are involed in *yet another* Standards Committee - NFSv4. Whoops, there goes another neighbourhood.

      Hachete

      trolling since 2001.

      --
      Patriotism is a virtue of the vicious
    3. Re:Just one? by Anonymous Coward · · Score: 0

      Yup, the rest are conservative bush loving war mongers.

  16. Really? Which OSs don't support AFS? by Moderation+abuser · · Score: 2, Funny

    Cos AIX, Darwin, Linux, Digital Unix, HP-UX, Irix, MacOS X 10, Solaris, *BSD and Windows all have free client software...

    So, by "majority of OSes"... Did you mean DOS?

    --
    Government of the people, by corporate executives, for corporate profits.
    1. Re:Really? Which OSs don't support AFS? by ipjohnson · · Score: 1

      Not that I disagree but have you used the Free clients compared to the transarc/IBM clients ... they aren't there yet. And don't even talk about the servers ... there is a real reason IBM charges what they do for an AFS instillation. Are there any free DFS clients?

    2. Re:Really? Which OSs don't support AFS? by pHDNgell · · Score: 1

      I've been using both Arla and/or OpenAFS for quite a while now on NetBSD, Solaris, FreeBSD, OS X and Linux. I've run into a *couple* issues with arla in the past, but it's pretty much been working for me.

      The only problem I've ever had with OpenAFS was upgrading from OS X 10.0 to 10.1 with it running (which caused me a kernel panic).

      At my last job, we relied on an AFS installation that was a combination of transarc and OpenAFS systems. At home, I've still only got one server (IRIX 6.5 with transarc AFS), but I'm thinking seriously about upgrading to a recent release of OpenAFS which has native Kerberos 5 support (too many kerbs at home).

      I've got the source to FreeDCS somewhere (including DFS), but have never bothered actually getting it running anywhere. AFS does everything I need.

      --
      -- The world is watching America, and America is watching TV.
  17. Interesting article by vesamies · · Score: 0

    This is an interesting article.

  18. I wonder about the samba team... by thogard · · Score: 5, Funny

    I don't think the Samba team is well. At least not in the head anyways.

    These guys look at some of the uglyest packets in the world. And they keep doing it. And they keep coming back for more. Ever hear Tridge talk about whats going on inside the SMB packets? Hes not too hard on MS in the large public forums but see what happens when you hand him a VB or 5 before a talk... then he will give it to you without the sugar coating... Were talking odd sized data structures that may or may not be little endian. Most of the time the structures are hiding inside other structures and the inner and outer structures will have different bitness and different world alignments. Nest a few levels for even more pain. And then repeat. This is what these guys do for FUN! This is why I'm concerned about them.

    Now they want to tackle other stuff as well? Maybe they could just throw in Novell's stuff for grins. Once they have done that, they will win the all time award for being the most saito masicistic coders ever. No one will ever be able to beat them. Ever. Its not even worth attempting to compete with them.

    1. Re:I wonder about the samba team... by edbarrett · · Score: 1
      most saito masicistic

      So's your spelling teacher, apparently.

      :)

    2. Re:I wonder about the samba team... by 4of12 · · Score: 1

      No one will ever be able to beat them. Ever. Its not even worth attempting to compete with them.

      Quick, somebody tell the Wine developers!

      --
      "Provided by the management for your protection."
  19. Rewrites suck by Cthefuture · · Score: 4, Insightful

    A complete rewrite? WTF? I thought smart developers learned a long time ago that rewrites are almost always a waste of time.

    There are many issues to be overcome when doing a complete rewrite. As a developer, I understand the desire to rewrite something from scratch to make it feel better. You feel like you are doing something to improve the system. However, this hardly ever happens. Most developers face serious burn-out issues when they rewrite something. It's fun at first but as you realize the magnitude of what you're trying to do, you quickly start to burn out before you are even close to finishing.

    The thing is, even if you do manage to rewrite everything, there will STILL be issues. Hacks, special conditions, etc. All the same types of issues that made you feel bad about the original version will be present in the new version. They may take a different form, but they will still be there.

    Successful systems tend to just continue off the old code. Rewrite the problem areas, add things that are needed, etc. That's how you make forward progress. In the end, the only thing that matters is that it works. It doesn't matter how crappy you feel about the code, if it works then people can and will use it.

    It's not an impossible task, I just think it's not the smartest thing to do.

    --
    The ratio of people to cake is too big
    1. Re:Rewrites suck by Anonymous Coward · · Score: 0

      Rewrites are a pain. But there comes a time in the life of software when you realize that you are at a dead end, that the architecture has no room for growth without a rewrite. Sometimes the only way to understand a software problem is to write a solution, albeit a flawed solution. Once you have gained the understanding, then you can proceed to write the "correct" solution.

    2. Re:Rewrites suck by DarkBlack · · Score: 2, Insightful

      Obviously, you did not read the article. You just read the posters comments. Tridge is only working on 30% or so of the code. User and group mappings for example will not be touched. Just the things that interact with the posix layer of the system in question. It is still a significant portion of the code, but not a complete rewrite.

    3. Re:Rewrites suck by jeffmurphy · · Score: 1

      and there will be many new bugs introduced. all that effort in spent in eliminating bugs in the existing code based - wasted. throwing away mature code is a big mistake. refactor and refine. dont re-write.

    4. Re:Rewrites suck by Cthefuture · · Score: 1

      That is only true if you are rewriting a program to have the exact same functionality as the original, which is hardly ever the case.

      You may very well write a more correct version of the original functionality, but any new functionality is just as likely to be correct as the original code. This means some or all your new stuff may be incorrect when you're done rewriting. So then do you rewrite again to fix that? And then rewrite to fix the new stuff in that rewrite? Rinse, repeat... Not a good cycle.

      --
      The ratio of people to cake is too big
    5. Re:Rewrites suck by Cthefuture · · Score: 1

      Well, I read half the article. I didn't read any of the /. comments :) But yes, I missed any partial rewrite remarks. The article I saw seemed to suggest a full rewrite. But I guess they meant full rewrite of only part of the code.

      --
      The ratio of people to cake is too big
    6. Re:Rewrites suck by Anonymous Coward · · Score: 0

      [sarcasm]You mean like the failed complete rewrite of Netscape?[/sarcasm]

      Frankly SAMBA is such a complete piece of trash, rewriting it's core is the only sensible thing to to. Sometimes it's the only way.

    7. Re:Rewrites suck by Webmonger · · Score: 2, Insightful

      It's not usually about "correct". It's generally about being maintainable and extensible.

      And the more experience you have with a problem domain, the better-prepared you are to create an architecture that solves the right set of problems.

      Yes, each army prepares to fight the last war, and there is the "second system" effect. Myself, I try to avoid rewrites-- usually you can evolve existing code towards the right architecture, but first you need an idea of what the right architecture is. Looks like Tridge is starting with some exploration.

    8. Re:Rewrites suck by duggy_92127 · · Score: 1

      Read the article.

      He speaks at length about the reasons for the rewrite, and how extensive it is.

      "So it is only affecting what has always been the core piece of Samba, but it is perhaps now, I'd guess off the top of my head, maybe 30 percent of the code in Samba."
      "So we need to be able to break the tight link to POSIX and be able to support, directly in Samba, the more advanced filesystems that are now available on Linux, such as JFS and XFS. There are a whole bunch of interesting filesystems that are being developed for Linux, and those have capabilities well beyond what is defined in the core filesystem POSIX specification. We'd like to be able to take advantage of those within Samba."

      This is not to "feel like you are doing something to improve the system", it's to address very specific shotcomings inherant in the current design.

      Doug

    9. Re:Rewrites suck by cpeterso · · Score: 1


      Don't forget the part in the article where Andrew Tridgell says:

      "I've spent probably a month or so on the core rewrite so far. It doesn't compile yet. It's a long way from compiling. I'm hoping that by the time the Samba XP conference comes around in Germany, that these core changes will, in fact, be compiling and I'll be able to start getting other developers to look at them."

      How can he go a month without compiling? Either his code will be perfect or very buggy. How is he verifying that he has not already introduced TONS of regression bugs? He cannot test his own code. Have you even spent entire month coding and not introduced a single bug?

      Most open-source and XP adovates suggest "release early and often."

    10. Re:Rewrites suck by Anonymous Coward · · Score: 0

      If all previous bugs had a test case, why would those fixes regress in a new version, rewrite or not ?

      Ah, you _don't_ create regression tests ? Mmm, who is in a good place to give lessons in software engineering ?

  20. File locking by SuperBanana · · Score: 4, Interesting
    But I'd wager the lions share of it's user base want samba to replace/supplement Win2k Server, and soon Win2003.

    Actually, no- I'd rather have cross-platform file locking. Correct me if things have changed since 2000 when samba and netatalk developers were "thinking" about this problem, but...

    It is a HUGE problem that netatalk, Samba, NFS, and the system itself don't share common file-locking, and some file-based applications like Visual Source Safe(still used by many shops) -require- file locks be across all the shares; if you don't have it, you run a serious chance of screwing things up.

    WinNT/Win2k with Services for Macintosh is the only server I know of capable of cross-platform locking, and that is pathetic...

  21. going in the wrong direction? by Anonymous Coward · · Score: 2, Insightful

    Instead of trying to simply take advantage of extended attributes of various filesystems, what about taking Samba the same route as NFS and implement some kernel-level support? Replace the existing kerne smb code with samba-based client/server bits, similar to NFS; a mix of knfsd and usreland bits like portmap. This could eliminate the many layers that could crop up simply by trying to make the daemon-only version use various filesystem bits.

    Don't convert the ENTIRE samba to kernelspace; that would be pointless for samba on other platforms. But development of a 'kernel plugin' allowing Samba lower-level access to filesystem bits might be beneficial.

    (yes, I'm ignoring the potential security foo at the moment and realize it's another portal of potential exploit.. but instead of adding more abstraction layers to the system it might be nice to simply access those wanted features directly).

    'fester

    1. Re:going in the wrong direction? by LenE · · Score: 1

      Because, as you noted, Linux isn't the only place where Samba is used.

      Samba is found in many different commercial products on many unix-like and non-unix-like OS's. My first exposure to it was on HP-UX, followed by IRIX (on XFS, the best damn NT server I ever ran). Later, I had Samba running on OpenVMS, then Linux, and finally Mac OS X.

      Your solution would be great for Linux, but would leave a large portion of commercial users out in the cold. How much benefit would this give Linux, and how much extra code would be required to set-up this Linux specific interface? Would it only cover file sharing, or would it include LDAP/AD, RPC, or print serving? What file systems would be required for full functionality?

      In the article, Tridge alluded to a future where the file system backend (possibly in the kernel) would take the load off of what Samba now handles rather inefficiently. Maybe your kernel extension could fit in here. It would probably not be a trivial piece of code as you would have to redouble the effort that he is putting in to map to many different file systems' capabilities.

      His new system may require kernel extensions for best performance of the full functionality. I would wager that if it did, most actively developed non-Linux systems would add the code to gain this functionality.

      -- Len

    2. Re:going in the wrong direction? by lkaos · · Score: 1

      We've talked about doing this a lot. The work tridge's doing is actually quite complimentary to this.

      The biggest gain Samba could get from kernel-level stuff would be by an NT-like filesystem that supported proper NT ACLs, was case insensitive, and support unicode natively. Unfortunately, the samba right now only likes to be on top of Posix like filesystems. We need a bit of an overhaul before we can begin to take advantage of kernel-level improvements.

      --
      int func(int a);
      func((b += 3, b));
  22. From followers to leaders by mnmn · · Score: 3, Interesting


    Many opensource projects started out trying to emulate some other protocol, then overtook it and grabbed the lead.. then the proprietary protocol had to follow.

    Samba is in a similar position. I think there are improvements to be made, efficiency, authentication, virutualhosts?(multiple domains/workgroups/subnets with the same daemon), better filesystem support, changes in the protocol making it faster, more efficient and unbreakable etc.

    If Andrew can release improvements to samba for say win9x, 2000 and xp, replacing some networking DLLS,or just replacing microsoft network client, samba can be in a real leader position. MS SMB code is deinitely buggy or just inefficient, even on one subnet with 8 hosts. Improve that, release the improvement as GPL, and people will flock to it. Best form of marketing of Linux I can think of. OSSphobics will have no way out.

    --
    "Give orange me give eat orange me eat orange give me eat orange give me you." -Nim Chimpsky
    1. Re:From followers to leaders by Error27 · · Score: 1

      I wouldn't be surprised if samba + linux was more reliable than Windows + SMB.

      It is interesting that more people are paid to work full time on SAMBA than work on the windows implementation. But obviously Microsoft has an easier job because they don't have to worry about reverse engineering all the new changes to the protocol.

    2. Re:From followers to leaders by mnmn · · Score: 1

      I wouldn't be surprised if samba + linux was more reliable than Windows + SMB.

      Dont be, it IS more reliable and I can attest to it. I'm using FreeBSD + Samba in three different office networks for various reasons including stability, security and features not available in MS SMB. This has been a proven fact for a few years now... whats needed is improvements to speed and efficiency, and Microsoft obviously hasnt led the way there, from Win95 to Win2003. Andrew and the team are going forward there, hope they contribute bits and pieces to Windows too.

      --
      "Give orange me give eat orange me eat orange give me eat orange give me you." -Nim Chimpsky
  23. why is re-writing software so often glorified? by jeffmurphy · · Score: 0, Redundant

    it's always spoken of in awe, but it's actually one of the big mistakes a software developer can make

    1. Re:why is re-writing software so often glorified? by amcguinn · · Score: 1

      "Rewrite" is rhetoric here. He is making large changes to the existing codebase, which he says will involve modifying about 30% of the code. He's not throwing it all away and starting again. Calm down, or RTFA.

    2. Re:why is re-writing software so often glorified? by jeffmurphy · · Score: 1

      ah. it's just standard /. sensationalistic reporting. i should've realized that.

    3. Re:why is re-writing software so often glorified? by Narchie+Troll · · Score: 1

      You also should have read the article before commenting on it.

  24. Can they PLEASE ditch the use of C at this point? by emil · · Score: 1, Insightful

    I am so tired of applying security patches for system software... the latest double-double vulnerability of samba and sendmail were quite trying.

    We keep hearing that the use of a language with bounds checking and a GC would solve a great many security problems. Is there any push towards such a platform?

    I don't know much about Objective C, but it seems to be tight with gcc, g++, and g77. Does it have the needed security features?

    At this point, I'd almost prefer that Samba was written in Java.

  25. Re:Can they PLEASE ditch the use of C at this poin by ipjohnson · · Score: 1

    Smoke crack for baby jesus? ... I want my files now not next week when the JVM decides its done cleaning up after itself!

  26. Re:Can they PLEASE ditch the use of C at this poin by Narchie+Troll · · Score: 1

    Objective-C isn't garbage-collected nor does it have built-in bounds checking. It wouldn't help in this situation. What we really need is to start developing everything in Ada!

  27. Let The Specification Pick The Technology by EXTomar · · Score: 1

    I'm so tired of people pooh-poohing C because it can leak. C, when it is the right technology can outshine other platforms. The trick is to make sure you are choosing the right technology for the task. For Samba, C is pretty damn close to perfect.

    Samba is supposed to be a cross platform networking technology. C is perfect for that because it is supported on nearly every system out there. Writing a program in C conforming to POSIX standards means that it will work 99.99997% of the platforms out there now.

    Another reason why C is a good choice for Samba is because it can directly access memory. A lot of Samba is reading bytes off of this buffer and writing these bytes to that buffer. In a memory managed system you need to fight against the GC to make this work. It is also harder to write kernel parts in a language other than C.

    As for Object C, it does not contain garbage collecting or stack protection. As for writing Samba in Java, you would have just as much success porting it to Perl instead and you will probably hit more platforms.

    C isn't perfect. You can hang yourself easily with the language. However to say "C Sucks!" is a gross characterization. It definately has its place and it looks like Samba is one of them.

  28. can we fix it first??? by alanshot · · Score: 1

    I'm still waiting for samba to fully support my windoze users and fully emulate a windows box 100%. a good example is printing support. I still cant deploy it to a network of windows boxes due to the lack of print queue management from windows workstation. They can print no problem, but god help them if they need to cancel that 200 page document. So far it cant seem to be done from the workstation. The workstation print queue shows the print jobs, but gives errors about not being able to connect to the server queue.

  29. Re:Can they PLEASE ditch the use of C at this poin by OneEyedApe · · Score: 1

    C is for programmers who do not need someone to hold their hands. Garbage collection is nice, garbage collection can be useful. But when you are programming low level things, it just gets in the way. C is designed for low level things.

    --
    Life sucks, but death doesn't put out at all....
    --Thomas J. Kopp
  30. Having root is not the great failure by Jimithing+DMB · · Score: 1

    No, having a root account is not a great failure of POSIX. The great failure is in irresponsibly using the root account like most Linux systems do.

    There are far too many things on a Linux system that require root access. Adding ACLs is only have the battle, the other battle is using them responsibly.

    However, even without ACLs you can use tools like sudo to avoid passing out the one true root password, or even avoid having a usable root account at all, except through sudo.

    Basically, there's a number of things that your typical Linux system does not do that could be done to improve security and accountability.

    1. Re:Having root is not the great failure by nosferatu-man · · Score: 1

      I could not disagree more. Having a superuser AT ALL is a security mistake. How many exploits would Unix have suffered if there was no possiblity of universal privilege escalation? The issue isn't so much with interactive users as it is with the kernel just stepping aside when presented with uid 0.

      Blaming the sysadmin for Unix security holes when the entire security infrastructure is what's b0rken is blaming the victim. Shamingly, this is a situation where NT is radically more advanced than most (all?) Unixes.

      'jfb

      --
      To spur "enterprise Linux," Big Bang, the distributed two-phase commit.
    2. Re:Having root is not the great failure by Jimithing+DMB · · Score: 1

      Right, 'cause you know how NT doesn't have an all powerful superuser account. Oh wait, it does. And you know how UNIX systems simply must require the root account to be used. Oh wait, they don't.

      NT is more advanced in the sense that it is more complex. If you know UNIX there is hardly anything you can do with Windows NT that is any more secure than UNIX.

      UNIX merely exposes the truth about security. Windows NT exposes a model that makes things appear secure when often times there is at least a back door or two that nobody has thought about simply because the security model is so complex.

      In other words, Windows NT is more about "feel good" security whereas UNIX is more about real security. Besides, ACLs are possible on UNIX if you really want the added complexity.

    3. Re:Having root is not the great failure by nosferatu-man · · Score: 1

      If you know UNIX there is hardly anything you can do with Windows NT that is any more secure than UNIX.

      Oh, really? Tell me, then, how do I revoke root's ability to even open a file? How about allowing root to read only, and allowing all members of a given set of users the ability to do nothing but append? I'd get into file records, but according to Unix dogma, nobody ever needs those.

      Security is complicated because computers are complicated. Sweeping issues under a "not our problem" carpet doesn't address them. This isn't by the way an argument from the position that NT is great -- it's clearly not. But it's security system derives from VMS, and VMS was pretty great.

      The idea that security is adequately managed by three bytes and two ints is plainly wrong -- I would think that Unix advocates would want to improve upon the system's woeful history.

      'jfb

      --
      To spur "enterprise Linux," Big Bang, the distributed two-phase commit.
  31. nfs isnt responsible for authentication by Paul+Jakma · · Score: 1

    ok... you're completely wrong about NFS and security.

    It does not rely on hostnames for security, it does not rely on trusting the client to authenticate the user. NFS in fact relies solely on /RPC/ to provide the security. The mechanics of authentication or securing the RPC transport just are plain not in the remit of NFS.

    Sun RPC in fact can be quite secure. There are various security mechanisms it can employ, and the problems you're just describing are all with one specific mechanism: auth_unix. It just happens to be the most commonly used one, and the only one supported on linux. However, if you use Solaris or OpenBSD there are other mechanisms available, eg auth_dh (public key based i think), auth_kerb (kerberosv4 - was secure, but flaws are known) or auth_gss (Most recent mechanism: Generic Security API / Kerberos V5 typically - which can be quite secure.).

    The problem is that auth_unix is the easy option, and the only one that is guaranteed to be implemented by RPC. However, thankfully, with NFSv4 this will change as it makes support for AUTH_GSS and /mandatory/, which linux 2.5 has support for (not sure though whether all the userspace support is there yet). So 2.6 will hopefully at last support high-strength secure authentication for RPC (and hence for NFS v2,3 and 4) via the AUTH_GSS rpc_sec auth mechanism.

    See:

    http://www.cse.unsw.edu.au/~neilb/conf/lca2002/lca -nfsd-auth/paper/node2.html

    and the rpc and rpc_secure (if your system supports it) man pages for more info on RPC security.

    Anyway, stop blaming NFS for things that are /not/ its fault.

    --
    I use Friend/Foe + mod-point modifiers as a karma/reputation system.
    1. Re:nfs isnt responsible for authentication by LordMyren · · Score: 1

      If its mandatory, whats all this about the kernel nfs v4 modules in 2.4? Why are they there?

      Hard to imagine there'd be no userspace tools if theres kernel options like this...

      Myren

    2. Re:nfs isnt responsible for authentication by Paul+Jakma · · Score: 1

      Its not NFSs job to handle the mechanics of authentication. The NFSv4 etc code is in the kernel, but something else needs to handle the authentication and that shouldnt be in kernel (in-kernel kerberos'd be a bit silly). So there's needs to be some daemon that the kernel can communicate with and which can handle all the neccessary security stuff and pass the result back to kernel, as far as i know that work isnt fully complete.

      --
      I use Friend/Foe + mod-point modifiers as a karma/reputation system.
  32. *BSD is dying by Anonymous Coward · · Score: 0
    It is official. Netcraft now confirms: *BSD is dying

    One more crippling bombshell hit the already beleaguered *BSD community when IDC confirmed that *BSD market share has dropped yet again, now down to less than a fraction of 1 percent of all servers. Coming on the heels of a recent Netcraft survey which plainly states that *BSD has lost more market share, this news serves to reinforce what we've known all along. *BSD is collapsing in complete disarray, as fittingly exemplified by failing dead last in the recent Sys Admin comprehensive networking test.

    You don't need to be a Kreskin to predict *BSD's future. The hand writing is on the wall: *BSD faces a bleak future. In fact there won't be any future at all for *BSD because *BSD is dying. Things are looking very bad for *BSD. As many of us are already aware, *BSD continues to lose market share. Red ink flows like a river of blood.

    FreeBSD is the most endangered of them all, having lost 93% of its core developers. The sudden and unpleasant departures of long time FreeBSD developers Jordan Hubbard and Mike Smith only serve to underscore the point more clearly. There can no longer be any doubt: FreeBSD is dying.

    Let's keep to the facts and look at the numbers.

    OpenBSD leader Theo states that there are 7000 users of OpenBSD. How many users of NetBSD are there? Let's see. The number of OpenBSD versus NetBSD posts on Usenet is roughly in ratio of 5 to 1. Therefore there are about 7000/5 = 1400 NetBSD users. BSD/OS posts on Usenet are about half of the volume of NetBSD posts. Therefore there are about 700 users of BSD/OS. A recent article put FreeBSD at about 80 percent of the *BSD market. Therefore there are (7000+1400+700)*4 = 36400 FreeBSD users. This is consistent with the number of FreeBSD Usenet posts.

    Due to the troubles of Walnut Creek, abysmal sales and so on, FreeBSD went out of business and was taken over by BSDI who sell another troubled OS. Now BSDI is also dead, its corpse turned over to yet another charnel house.

    All major surveys show that *BSD has steadily declined in market share. *BSD is very sick and its long term survival prospects are very dim. If *BSD is to survive at all it will be among OS dilettante dabblers. *BSD continues to decay. Nothing short of a miracle could save it at this point in time. For all practical purposes, *BSD is dead.

    Fact: *BSD is dying

  33. tell it to DJB and TdR! by Xtifr · · Score: 1

    Much of the most secure software around is written in C. Look at OpenBSD or qmail or djbdns. The problem is not the language, the problem is the skill of the programmer. C makes good programmers better, and bad programmers worse.

    And yes, bounds-checking and GC are nice for a lot of things. And they do make it much easier for a mediocre or average (or even a good) programmer to write safe, reasonably secure code. The problem is the overhead. For a lot of things, that doesn't matter, and for a lot of things, I firmly advocate the use of higher level languages (don't care if it's lisp or python or whatever). But for some things, like basic kernel and networking features, where performance can be critical, it very much does matter. So our only hope is to get stuff from programmers who have proven themselves to be able to write solid, secure, fast code. That means, e.g. dump the damn sendmail and install postfix or qmail. And as for samba, well, just get rid of windows from your site, and it'll cease to be an issue. And in the mean time, remind yourself that it's still a lot more secure than anything you've seen from MS so far... :)

  34. Can AFS? by LordMyren · · Score: 1

    Yeah, but can i diskless netboot it?

  35. It's not broken by buchanmilne · · Score: 1

    If your desktops are XP, disable the firewall (which by default blocks ports 137-139). This affects you even with WinNT4.0 on the server-side

    If this problem is not specific to XP machines, then either
    1)Your authentication is stuffed
    2)Your print commands in your smb.conf file are wrong.

    samba+cups rock for serving printers!

  36. Farewell, Yank Arseholes by Anonymous Coward · · Score: 0

    The soomer the yanks fuck off out of Europe the better. They're getting more unpopular by the day. Some yank was crossing the railway bridge on yapping on his mobile phone and I shouted "Oi! Yank" and he turned round and he walked to wards me. I punched him in the face and kicked him on the deck, then I threw his bag and phone onto the railway line. Yank cunts.