Slashdot Mirror


New Features In Samba 2.2 And 3.0

chromatic writes "Dustin Puryear has written a nice article summarizing the new and upcoming features of Samba. He's included a nice overview of what will be available when version 3.0 escapes. Let's hear it for interoperability!"

21 comments

  1. proprietary extensions to a protocol? by Anonymous Coward · · Score: 0

    no thanks.

  2. Interoperability by Xner · · Score: 5, Insightful
    Let's hear it for being only one step behind Microsoft! Yay!

    This is one of the most commonly heard objections to interoperability software of any kind. It is usually formulated in terms of the specification being a "moving target" and that "MS can break it any time they want".
    This is rubbish.

    What gives Microsoft leverage over the desktop market is their present installed population. They can't go around breaking compatibility with existing products, as they cannot expect everyone to upgrade everything immidiately. The CIFS specification itself might be a "moving target", but the actual implementations in the field that it needs to be able to interoperate with are not.

    As amazing as it sounds, vendor lock-in works both ways.

    --
    Pathman, Free (as in GPL) 3D Pac Man
    1. Re:Interoperability by Atzanteol · · Score: 5, Insightful

      While MS may maintain backwards compatibility, it only goes so far. Try using Win98 on a Win2k network. Not gonna work.

      And remember: The spec is not only changing, it is also *hidden from sight*! The SAMBA team does *not* have access to it at all. I don't know about you, but packet sniffing for a few hours just to figure out how a simple login works doesn't sound like an easy task to me.

      There are many reasons why SAMBA should fail, the fact that it is kept as close to the current CIFS implementation (as dictated by MS) as it is, is nothing short of amazing.

      --
      "Ignorance more frequently begets confidence than does knowledge"

      - Charles Darwin
    2. Re:Interoperability by Anonymous Coward · · Score: 0

      Are you high? Win98 on a Win2K network?? Doesn't work?? What a dumbass thing to say. Dumbasses like you marginalize Linux in business environments. Thanks for nothing.

  3. Dustin Puryear by alatesystems · · Score: 1

    Yay Dustin!!! He is a member of our lug, SBLUG.

    www.sblug.org

    Join our mailing list and feel free to ask for help. Answers are provided in a short amount of time.

  4. NT SAM by REBloomfield · · Score: 2, Interesting

    When this can mimic my NT PDC in a stable manner, NT is gone... this feature was a long time coming, and will be nice to see it pushed, rather than the standard "samba makes a great file/print server".
    For *nix to succeed in the enterprise, it needs to do *all* the enterprise level things, without resorting to one vendor solutions such as Enterprise Server.

  5. So true by Alethes · · Score: 3, Interesting

    If I had mod points, I'd move this up, but the best I can do is agree.

    One of the things I've wondered, however, is what does Microsoft have to lose by opening up SMB? It seems strange to me that nobody can see that most open operating systems can do it the correct way and the Microsoft way (at least limitedly), while Microsoft has self-imposed limitations that prevent them from being part of a much larger machine. Another example of these self-imposed limitations is the extremely limited selection of filesystems available to Windows (NTFS, FAT, FAT32), yet, in Linux, I probably have close to, if not over, 100 options that I can choose from including the Windows offerings.

    1. Re:So true by dead_penguin · · Score: 4, Insightful

      Microsoft has no reason to open *anything* up. They're big enough that in most situations they can do whatever they want without worrying about interoperability with any third party.

      This (unfortunately) makes sense from a business perspective; they're much larger than the "critical mass" needed for them to set their own standards. Any extensive form of interoperability would make it much easier for people to install a mixed network instead of moving to all-Microsoft, or even moving away from MS technologies for certain machines.

      This doesn't imply a monopoly situation, but rather it's their way of trying to force us to build homogenous networks instead of making it easier to sneak in a few other machines.

      --

      It's only software!
  6. Windows Interoperability by MrWa · · Score: 4, Interesting
    What about the anti-trust decision? How did that affect the Samba team: will they have better access to interoperability specifications? What about security protocols and API - can they get these? Do they need them?

    As more and more of Microsoft's efforts start going towards Palladium, how will this affect Samba?

    Not trying to create FUD but I'm just curious where things are heading. As it is now, anyone could setup a Samba server - which is great - and anything that makes interoperability between these operating systems is good, good for users of both OS's.

    1. Re:Windows Interoperability by 680x0 · · Score: 4, Informative

      As I understand it, the Microsoft decision said they had to offer access to most protocols (and there was an exception for protocols which affected "security", as I recall). However, Microsoft attached a number of conditions on the agreement one must sign to have access to the documents (no GPL, etc.) made it worse than useless to the Samba team. And the judge did nothing about those conditions, so it seems like it didn't help Samba one bit. Somehow I wasn't suprised.

  7. Question: How is Samba TNG doing? by Anonymous Coward · · Score: 1, Interesting

    How is Samba TNG doing? This fork was announced with much fanfair a few years ago. It was supposed to add Active Directory to Samba. It seems to have disappeared. It's mailing list archives seem to stop around Jun 2002:
    http://www.samba-tng.org/mailinglists.html

    Has that work been merged into Samba? Has it been converted to Samba plugins? Is it still going on? If so, what's the progress?

    1. Re:Question: How is Samba TNG doing? by Vlad_the_Inhaler · · Score: 4, Informative

      I asked one of the Samba team that question at a Linux fair in late October. It seems that the TNG team is down to it's one original (and allegedly rather cantankerous) member.
      TNG has apparently ground to a halt and has been overtaken by the main Samba branch.

      --
      Mielipiteet omiani - Opinions personal, facts suspect.
  8. NFS and Samba by jericho4.0 · · Score: 2
    I share a drive on my network with NFS and Samba. Because I have few users the I didn't worry about the lack of shared locks. I should have.I guess it's time for an upgrade.

    Anyone know if this gets rid of the (dot) .files created by window clients? very annoying.

    --
    "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
    1. Re:NFS and Samba by Anonymous Coward · · Score: 0

      Reading the docs, it seems that samba uses Kernel file locks if they are available for use - so you shouldn't have to worry about NFS and Samba interop. Is this right, or does the previous poster have a point?

  9. Samba is at 2.2.7 now, not 2.2.4 by synq · · Score: 2, Interesting

    Hi, this article seems a bit 'stale' to me. It states that samba is at 2.2.4 at the time of writing and according to my latest Freshmeat notification:

    This email is to inform you of release '2.2.7' of 'Samba' through freshmeat.net.

    The changes in this release are as follows:
    A security hole has been discovered in versions 2.2.2 through 2.2.6 of Samba that could potentially allow an attacker to gain root access on the target machine. The word "potentially" is used because there is no known exploit of this bug, and the Samba Team itself has not been able to craft one. In addition to addressing this security issue, this release also includes thirteen unrelated improvements.

    --
    sig not found
  10. Ease of Use, How to do it? by synq · · Score: 4, Interesting

    I've been using samba for over 5 years now in a large company with a mixed flavour unix and windows network environment.

    When implementing samba I've always come across the same problems:

    • Unsufficient documentation available
    • E-mails for help to samba team members seem to get lost somewhere in /dev/null
    • Features that are reported to work don't and ones that are reported broken work perfectly
    • In the end it was always down to debug=999 in smb.conf and tcpdump. (But: I've implemented it on a solaris 2.6 sun cluster 2 machine supporting full failover capabilities and all.)
    • Once you find out what works and what doesn't you can use one version for years!

    The article says:
    It's very easy to use Samba as a PDC. Simply enable a few options in the Samba configuration file, add users to the local Samba password database, and build machine accounts for each Windows NT machine on the network.

    I find this at least peculiar.

    When you have 500 users you are not simply going to 'add users to the local samba password database', especially not when you need to run samba on more that 4 machines simultaniously. One of the things I had to do to get this working was sniff all the passwords from the network (wasn't too hard, since we use unencrypted NIS, so all passwords travel the LAN in plain text) and then add them to the smbpasswd file with a specially manufactured perl script.

    Also the 'simply enable a few options' isn't as simple as it seems, since even man smb.conf doesn't seem to have consequent answers for every switch you can set (and there are dozens of them).

    Most of the features that this article is about have been around for a few years now and still haven't improved much.

    I hope to see the day that installing and configuring samba for a medium to large corporation is really easy and clear. For now I'll just live with the kwirks.

    Just for the record: I'm not saying samba is a bad product, it just needs a lot of better documentation and ease of use and installation for larger userbases.

    --
    sig not found
    1. Re:Ease of Use, How to do it? by Anonymous Coward · · Score: 0
      it just needs a lot of better documentation and ease of use and installation for larger userbases.

      It's difficult to set up for small userbases too. Basically, I want Samba to run without authentication (similar to a Win9x box). In order to do this, I had to get it logging into the domain, validating users, etc. After going through the whole validation sequence, it switches to a guest account, since "guest only" is set to true. I'd expect it to work without logging into a domain when I set "security=share", "guest only=yes", and "guest ok=yes", but Win2k clients couldn't access it because of permission problems.

      It wasn't even possible to run Samba as a non-root user until a few months ago (because it checked that the user ID was 0 on startup, and exited if it wasn't). Now it can be done using inetd, but it would be nice if smbd and nmbd had built-in support (i.e. start as root, bind to a port, then setuid to a restricted user account).

    2. Re:Ease of Use, How to do it? by Anonymous Coward · · Score: 1, Informative

      Maybe you should open your wallet, and buy one of the at least seven (7) thats right SEVEN books available on samba - search for samba on amazon.

      There is no satisfying some people - you get great software like Samba for free, and then complain about the lack of documentation - when plenty of it exists.

      Even the samba project itself has a samba books page here :

      http://au1.samba.org/samba/books.html

      Here is a thought. Think about what your life would be like without samba. Then realise how your life is better because of samba, and then realise that you got it for free. Wow.

      Be thankful for what you've got.

      If you don't think good documentation exists, rather than complaining, give some value back by contributing better documentation.

    3. Re:Ease of Use, How to do it? by synq · · Score: 1

      I own 3 samba books, which all help really much to help understand how samba works, but are no real help when it comes to actually implementing it. It still needs a lot of testing.

      The 'for free' part is really great, but then again, I wouldn't have used it in the first place if it wasn't free. Oh and just for the record I am thankful.

      I have contributed (more then once) to better documentation by supplying bug reports for the samba man pages but up till now I've been quite disappointed in the speed at which these get into the distribution. But hey, that was two years ago, things might have changed.

      --
      sig not found
    4. Re:Ease of Use, How to do it? by Anonymous Coward · · Score: 0

      For online documentation (and configuration), I recommend SWAT (Samba Web Administration Tool). It has online help for each of the smb.conf settings and a good set of manuals as well..