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

7 of 137 comments (clear)

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

  2. 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!!!!
  3. 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...

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

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

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

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