Slashdot Mirror


Samba 3.0.0 Released

Matt writes "As posted on Samba.org the fine folks at Samba.org released their newest version of the popular free Windows File- and Print Server. Most famous additions are Active Directory integration and possibilities to form NT4 trust relationships. Release notes are online." See also their press release.

22 of 252 comments (clear)

  1. Get the doc! by Karamchand · · Score: 4, Informative

    ..at O'Reilly's Safari Bookshelf!

    Congrats to the Samba Team!

  2. I did not have relations with that server by Anonymous Coward · · Score: 5, Funny

    now my linux box has to deny having a relationship the that windows server next door.

  3. Re:Becareful about using this by Brahmastra · · Score: 4, Insightful

    There are exploits in every product, opensource or not. It's just a matter of you taking necessary precautions like using a decent firewall and patching regularly.

  4. wonderful! by borgdows · · Score: 5, Funny

    ...and possibilities to form NT4 trust relationships.

    but is it wise to trust a NT4 server?

  5. That's nothing !! by Anonymous Coward · · Score: 5, Funny

    We've had Samba in Brazil for centuries...

    Amazing how the USA thinks they are ahead of everyone else... ;)

  6. Does this ver. solve the WinXP security "features" by HiroProtagonist · · Score: 5, Interesting

    I was recently banging my head against the wall when attempting to use a Samba share on an XP box that had worked fine on all my Win2K boxes.

    Days & days of hacking the config and attempting to get it to work to no avail. Finally I find that it appears that WinXP has some security "features" added into it that break the use of samaba shares.

    This frustration I felt has actually pushed me one more step towards switching all of our machines over to Linux. It may not happen tomorrow, but it will happen.

    --
    --Remove chicken to e-mail
  7. Best new features by linuxkrn · · Score: 5, Interesting

    The author missed one of the bigger points that they have working now. BDC! You can finally, if it works - I haven't tried it, have automated fail over without hacking some scripts and running a few PDCs. Very COOL!

    That and it says it will work "out of the box" with Windows Server 2003. I wonder if that means they fixed the "trust" issue with Windows XP trying to auth with it for login without reg hacks....

    1. Re:Best new features by XSforMe · · Score: 5, Informative

      Actually, I think the most important feature is this:
      10) Support for migrating from a Windows NT 4.0 domain to a Samba domain and maintaining user, group and domain SIDs.
      Why? NT Server is coming to the end of support period (Dec 2003). There are still LOTS of NT4 server out there. Last time I checked, you had to recreate ALL of the groups and users whenever you migrated them from NT4 to any other PDC (there is a little support for automating this activity, but it just saves you from retyping the users and groups names).

      --
      My other OS is the MCP!
  8. Vulnerable? by gregarican · · Score: 5, Interesting
    Serious question here, not flamebait. Does Samba use similar RPC methods to thje Windoze NT family? If so are there potential exploits? I'm not sure. I've used Samba and Mars_NWE (a Linux emulator of a Novell Netware server) for years now but never thought of potential parallel security holes. I doubt that the code could be that similar, but am curious. I recall back in the day where anonymous RPC sessions on Windoze NT could totally give admin access through that simple sechole.exe exploit.

    Aside from that concern I can personally say that Samba rules. I have benchmarked it as being a faster file/print server compared to Windoze on identical hardware. A Linux box that can act as a domain controller, and now participate in cross-domain trust relationships and use AD is a helpful tool for weaning folks away from Micro$loth.

    1. Re:Vulnerable? by gregarican · · Score: 5, Interesting
      Here is a footnote of the other side of the coin. I recall back around 1999 working with Samba 2.0.something-or-other. Our company had many sites but centralized Windoze NT domain administration at CHQ. I was interested in trying to sneak a Samba server onto the domain.

      Typically in the Windoze NT model in order to add a server to the domain you have to have admin rights. I recall the Samba box added itself to the domain without any authentication necessary. It was funny when an NT admin from CHQ called me to ask me why our site had this new server showing up. He couldn't browse any of the shares (only local Linux accounts were defined in the Samba user file and /etc/passwd file) and was pissed.

      I apologized and proceeded to take the box off the network, but found it funny that no authentication was necessary. With all of the inherent flaws in Microsoft's security models I would bet that a Samba box could potentially wreak havok on a pre-Windows 2003 network!

    2. Re:Vulnerable? by davecb · · Score: 5, Informative
      Yes, the SMB protocol does use all the NT RPCs, and the Samba team usually find and fix numerous security holes in it with each new release. And report them to MS, and code Samba so it doesn't accidentally trigger NT security problems.

      They're really very professional, and a pleasure to work with.

      --dave (the Using Samba 3rd author) c-b

      --
      davecb@spamcop.net
    3. Re:Vulnerable? by requim · · Score: 4, Interesting

      Sounds to me like what you are describing is just the SAMBA server showing up in the browse list either via a WINS or NETBIOS name resolution. You cannot in fact join an NT domain without administrative rights to grant the machine an account in the domain, whether it be created on the server prior to joining the machine, or in the process of joing the machine to the domain from the joining machine.

      This isn't to say that there are not other ways in which a unix box can wreak havoc on an NT/200x network...

    4. Re:Vulnerable? by requim · · Score: 5, Interesting

      I would like to test the scenario for the answer I am about to give just to validate my thinking, but I will give it to you anyway. My understanding of how the Server Manager lists the machines is by how the machine is configured, not necessarily as a member of any particular domain/workgroup/etc. It would appear that it lists the machines that are configured to set their domain/workgroup name via netbios in the same groupings (ie if you have a workgroup named SERVERS and and a domain named SERVERS) machines from both the workgroup and domain will appear in the same listing (if using Explorer or some other tree listing. The NETBIOS protocol uses/stores the machine type used for Domain Master Browser functions for election purposes in specific packets. These packets use a code to determine what type of function/server the machine is setup, so in the Browser elections that take place in each subnet, the machine with the highest setting wins (ie PDC > BDC > Member Server > Workstation (it's really a little bit more complicated, but this should suffice.)).

      This being the case, I would have to interpret the samba server appearing in the Server Manager as a result of the code passed in the netbios protocol and it being used to determine machine times when listing the (PDC, BDC, Member Server, etc) I would also imagine that if you were to setup a second NT/200x server as a PDC using the same Domain Name, that that machine would also appear in the Browse List and have a similar effect, though in reality the two domains would not be related except by name (the SID's would be different which would cause many problems that I would rather not go into.).

  9. Re:Does this ver. solve the WinXP security "featur by Jellybob · · Score: 4, Informative

    I'm not entirely sure what you're talking about. I'm running Samba at home, and my XP boxes can pick up the shares on it just fine.

    You may need to add smbpasswd entries for the machines users, but other than that, it should be ok.

  10. Re:Becareful about using this by davejenkins · · Score: 5, Insightful

    opensource != secure

    Thanks Egan, good safety tip.

    by any stretch of the imagination, in fact there are probably numerous untold exploits available for this software. Its just a matter of time, as with any opensource product.

    And let`s also remember that _because_ it is open source, we now have thousands of developers who can view the code, find potential exploits, and then propose patches, QUICKLY and WITHOUT BIAS. Unfortunately, for patches to the same styled exploits that would exist in a closed source networking protocol, we would need to depend on a small team of developers under a common management structure (one pointy haired boss = single point of failure).

    Open Source != secure
    Open Source == better method toward security

  11. quite impressive by Dreadlord · · Score: 5, Informative

    I quite happy with this new release, what I like the most about it is the new Active Directory support, I have been waiting for it since I started to use it in my homenetwork. Another impressive feature is UNICODE support (isn't mentioned in the post), one of my family members needed it badly to deal with non-latin charsets.
    And the new "get" command which is similar to windows "net" is useful too.
    Keep up the great work SAMBA team!

    --
    The IT section color scheme sucks.
  12. Re:Does this ver. solve the WinXP security "featur by Large+Green+Mallard · · Score: 5, Informative

    Samba 2.2.x + XP + SP1 requires some tweaking to do domain logons for XP clients.

    Basic file sharing is fine, but if you're using Samba as a domain controller, you need to set a SignOrSeal reg value off to allow domain logons and also unset a "check profile ownership acls" setting which was introduced by SP1.

    -- Someone who uses Samba 2.2.x as domain controller for several hundred XP boxes :)

  13. rh9 samba lockup by Anonymous Coward · · Score: 5, Informative

    I've experienced numerous random lockups using samba v3. The mount point would just hang requiring a samba restart.

    After searching for a while, I found that there's a bug in Redhat 9's new thread library which samba somehow triggers. There's a workaround on the net, look for it and avoid hassling the samba team - they're not at fault here!

  14. Samba 3, Squid and NTLM Authentication - a change! by OneNonly · · Score: 5, Informative

    One thing that does change with Samba 3 is the way that you need to configure Squid to use NTLM authentication...

    If you upgrade and try using the old authenticators built with squid, you'll be stuck. Samba 3 comes with it's own helper utility (ntlm_auth) to work with other applications such as Squid.

    I have written a Samba 3 / Squid Walkthrough that takes users step by step through getting this going.

    Find out about it here:
    http://itmanagers.net/article-4--0-0.html

  15. Re:Does this ver. solve the WinXP security "featur by TheMayor · · Score: 5, Informative

    There is an easy fix to this for XP:

    Settings -> Control Panel -> Admin Tools -> Local Security Policy

    Look under Local Policies, then Security Options.

    Look for "Domain Member: Digitally encrypt or sign secured channel (always)" and set it to DISABLED.

    That should solve some of your problems.

    XP only wants to trust other Windows machines when working in a domain environment.

  16. Re:Do you mean 'oplocks'? by Jeremy+Allison+-+Sam · · Score: 5, Insightful

    No, they never did this. Oplocks are problematic in that
    Windows boxes tend not to respond to oplock break requests
    if there are *any* network problems. Most people have cheap
    switches/hubs etc. For instance on my home network I can
    only reliably ssh transfer a 100mb file over one of my
    switches (the gigabit one), the 100Mbit switch will
    consistantly corrupt the tcp stream causing ssh to abort.

    oplocks need *reliable* networking hardware.

    Jeremy Allison,
    Samba Team.

  17. Re:So Am I Nuts by Jeremy+Allison+-+Sam · · Score: 5, Informative

    I wouldn't do it. And I write lots of the Samba code :-).
    The protocol is just too complex to be sure any implementation
    is safe.

    Hopefully that should tell you something. It should also
    tell you why we don't want it in the Linux kernel. Microsoft
    put it in their kernel - I think that's a mistake.

    Jeremy Allison,
    Samba Team.