Slashdot Mirror


Samba 3.0.0RC1 Released

dook43 writes "Samba 3.0.0 RC1 has been released as of 8/16. Probably the most important new feature is its Active Directory support, but the rest of the new features can be found at the website."

76 of 261 comments (clear)

  1. Active Directory by isam_b · · Score: 5, Insightful

    Having the Active Directory support is really a bug feature, as I had real big problems with authenticating a Linux Client in an AD server .. I hope that this issue will be solved in Samba 3 ..
    Way to Go Samba!

    1. Re:Active Directory by Anonymous Coward · · Score: 5, Funny

      Having the Active Directory support is really a bug feature

      Now, was this a Freudian slip or what...

      Anonymous Cowards Unite

    2. Re:Active Directory by isam_b · · Score: 2, Informative

      opps :)

      Bug= Big

  2. Changes to Auth system by notque · · Score: 3, Interesting

    3) New authentication system. The internal authentication system has
    been almost completely rewritten. Most of the changes are internal,
    but the new auth system is also very configurable.


    Does this mean I won't have to authenticate for every directory I access?

    (Or are we misconfigured from the get go, and I should know and fixed such an issue :)

    --
    http://use.perl.org
    1. Re:Changes to Auth system by aled · · Score: 4, Insightful

      My brain doesn't have the neural paths to understand some unix documentation, including samba, many man pages, etc. They seem to be produced from the old IBM school that says that the documentation should be for people that already is expert on the topic.
      And don't forget all those switchs that are platform dependent, remember the source code is the documentation.

      --

      "I think this line is mostly filler"
    2. Re:Changes to Auth system by Anonymous Coward · · Score: 2, Funny

      My brain doesn't have the neural paths to understand some unix documentation, including samba, many man pages, etc. They seem to be produced from the old IBM school that says that the documentation should be for people that already is expert on the topic.

      Yes. The term for these people is "Professionals". That's why we make money doing it.

    3. Re:Changes to Auth system by aled · · Score: 3, Interesting

      To be fair I just checked the samba site and the new documentation seems to be much better and more detailed.

      --

      "I think this line is mostly filler"
    4. Re:Changes to Auth system by silas_moeckel · · Score: 4, Interesting

      Yes documentation should be the expert on the topic written for somebody with a background in real engineering (your average MSCE dosent count) let the howto's and the for dummys books deal with spoon feeding cookbooks to end users if your having the authoritive person on the subject write documentation aka the programming team write the most technical documentation you should ever need without having to do redo code yourself.

      I say this because there are to many porly documented applications out there. Documentation to often is looked at by the marketing department and dumbed down so nobody might get scared of it. If you have ever looked at the home service manual for a Saturn (the $500 one thats an option) that nearly would allow you to machine replacment parts thats documentation. Want something easy to read with pretty pictures get a for dummy's book aka the dumbed down book from somebody that read and understood most of the documentation.

      --
      No sir I dont like it.
    5. Re:Changes to Auth system by BigBadBri · · Score: 2, Funny
      You intellectual snob.

      How dare you discriminate against those poor people that can earn obscene amounts of money by learning how to pass MCSE exams without the slightest bit of computer expertise?

      You, sir, are a cad, and a Unix elitist bastard. Anyone knows that true enterprise solutions only require a few mouse clicks to configure, and that manuals are for those who have overstayed their contracts.

      Have to say I agree with you 100% though ; /.

      --
      oh brave new world, that has such people in it!
  3. Damn it! by Anonymous Coward · · Score: 5, Funny

    Just when I perfected the old samba, they release a new version. Now I have to learn all those dance steps again.

    Shit.

    1. Re:Damn it! by mod_critical · · Score: 2, Funny

      Isn't that the truth. Don't get me wrong I love the software but (to play off that delightful "crash different" video) I feel as thought I'm not operating Samba, rather just sharing in the Samba experience. Should I happen to get XP to actually open one of my remote directories while the system is willing, all the better. This is based off an experience I've had two time where after configuring Samba I got errors from XP when connecting to that server. I play around for about 2 hours to no avail, then all of a sudden things start working after I don't make any changes for a little bit...

  4. Lucky Linux users by Rosco+P.+Coltrane · · Score: 4, Funny

    always the first to get the nice stuff. I can't wait till the Windows port comes out ...

    --
    "A door is what a dog is perpetually on the wrong side of" - Ogden Nash
    1. Re:Lucky Linux users by sonicattack · · Score: 5, Insightful

      Since some versions of Windows acting as an SMB server actually limit the number of allowed connections (that's Microsoft's Licensing for you), a Windows port of Samba actually wouldn't be that crazy of an idea for certain configurations.

    2. Re:Lucky Linux users by AstroDrabb · · Score: 4, Interesting

      Are you suggesting that AD is a good LDAP server? If so you are very wrong. AD really blows is and is very slow. I remember a statement from MS about them getting 2.x million entries into their AD server, at about the same time Novell announced 1 billion! The only reason any effort is made within the Linux community to work with AD is because it is needed to work in many MS networks. Also, AD is an LDAP server with proprietary crap tacked on that MS does not share. I think the Samba team have made some great gains with SMB and now AD all from reverse engineering.

      --
      If Tyranny and Oppression come to this land,
      it will be in the guise of fighting a foreign enemy. -James Madison
    3. Re:Lucky Linux users by curious.corn · · Score: 2, Interesting

      Right, I'm no coder actually: some php and odd C walkthrough thingie to check out exploits. Anyway, excusatio non petita but here it goes: why is the community chasing M$ in it's hide&seek strategy? Isn't the M$ auth GINA (what a lousy name...) whatever replaceable? M$ does kerberos proprietay? M$ AD is a vbasic LDAP server and some undoc binary protocol? Screw them! Let's interface windows auth methods to unix rather than run after their stuff. Wouldn't it be cool if the samba tree included some .dll to log a M$ box into an ldap ssha or cert , standards kerberos environment? Why screw unix philosophy for M$isms? Ok, it's a flaming comment but really, is there a reason for not taking this road?

      --
      Mi domando chi à il mandante di tutte le cazzate che faccio - Altan
    4. Re:Lucky Linux users by cheezit · · Score: 3, Interesting

      Proprietary crap? Please elaborate.

      The standard stuff is fairly standard. inetOrgPerson is available as an add-on (which I think is lame, but you can get there from here). Many of the other "compliant" directories have their own blind spots too.

      The nonstandard stuff is sometimes doc'd, sometimes not; for instance, if you are expecting full docs on how GPOs are represented in the database, you will be disappointed. Then again, why would you code to their goofy extension?

      One thing I think is *lame* is the 5k size limit on number of users in static groups. We are using dynamic groups/roles for some stuff, but static groups are a useful adjunct to that. 5k is just pathetic.

      --
      Premature optimization is the root of all evil
    5. Re:Lucky Linux users by cleverhandle · · Score: 5, Insightful

      pGina does essentially what you describe. It replace GINA and allows MS boxes to authenticate directly against an LDAPv3 server. But people who understand this stuff much better than myself tell me that this is not really a great solution. GINA is a fairly superficial authentication component, and replacing it doesn't make some of the more subtle bits fit together. Modifying the LSA (Local Security Authority) would be necessary to do the job properly. But, not surprisingly, documentation for it is not forthcoming.

    6. Re:Lucky Linux users by styrotech · · Score: 4, Informative

      why is the community chasing M$ in it's hide&seek strategy? Isn't the M$ auth GINA (what a lousy name...) whatever replaceable? Screw them! Let's interface windows auth methods to unix rather than run after their stuff. Wouldn't it be cool if the samba tree included some .dll to log a M$ box into an ldap ssha or cert , standards kerberos environment?

      There is an open source GINA implementation to auth against other services.


      http://pgina.xpasystems.com/

      I think it comes in two parts, one a general backend and there are a bunch of different auth systems.

    7. Re:Lucky Linux users by marko123 · · Score: 5, Funny

      In the spirit of GNU/Linux, I think GINA should be prefixed with the initials of the state where the lead developer originated... Virginia.
      (For non-US, that would be VA)

      --
      http://pcblues.com - Digits and Wood
    8. Re:Lucky Linux users by ThePeeWeeMan · · Score: 4, Funny

      Score: -1, Not enough M$-references.

      But seriously. If you think AD is written in VB, I've got a GNU/Bridge to sell you.

    9. Re:Lucky Linux users by Alioth · · Score: 2, Informative

      I wrote a replacement GINA for $BIG_PROJECT that I was on. What a nightmare.

      Unfortunately, GINA doesn't do everything, and it is (or at least was when I had the misfortune to write a replacement GINA) very badly documented. We had a $40K support contract with MS to provide us development support for this, but it was a complete waste of money - they couldn't answer our questions. We ended up essentially reverse engineering msgina.dll to find out exactly what needed to be set for everything to work correctly (we were writing a complete replacement, rather than a stub GINA).

    10. Re:Lucky Linux users by cheezit · · Score: 2, Interesting

      First off, the point of elaborating was to get past "AD sucks."

      Export of passwords? Hmmm, given that the big metadirectory solutions have a problem doing this with non-AD servers, why should AD be different? They're called "salted hashes", by the way, and everyone does them a little differently. Exporting the clear password would be a horrible security problem.

      How to push authentication credentials? If you mean importing accounts, then the above answer applies. You can always go over SSL as well. Do you mean implementing cross-domain trust?

      And the reason you can authenticate Windows logins against OpenLDAP is that AD supports LDAP protocols, but Windows clients don't use it exclusively. AD may or may not be a great LDAP server, but I don't know that anyone has ever claimed that Windows boxes are vanilla LDAP clients.

      AD is a MS product that has reasonable support for LDAP, not a great general-purpose LDAP server (then again I don't think openLDAP fits the bill either). My point was that some of the general-purpose LDAP servers have interoperability issues as well.

      --
      Premature optimization is the root of all evil
  5. Another bonus by cleverhandle · · Score: 5, Interesting

    ...besides the features is some absolutely outstanding documentation. The old 2.x docs were basically a really long HOWTO. The new docs are broken into self-contained chapters that start by laying out how a certain task or protocol work in general, and then how to configure Samba to take part in it. Considering that Samba can perform so many different roles, the mix-and-match method is a lot more sensible. Even if you don't use Samba, consider their docs as a reference for troubleshooting Windows problems - I've found they offer a far more complete and focussed discussion of Windows technologies for the sysadmin than any MS book or webpage.

    Great job, Samba team!

  6. Re:additional new feature by yvesbe · · Score: 5, Insightful

    I've been checking out a win2003 AD install for a client lately. A fairly fast workstation(2.4ghz) The creating of SID's thingy is soooo slow. My feeling is that the whole Active Directory is not mature yet.

    --
    my social life is pretty much in /dev/null
  7. Re:additional new feature by Anonymous Coward · · Score: 2, Informative

    Just because you can't configure it right, don't call it 'broken'. Learn to read, and you'll figure it out.

  8. Under debian by MC68040 · · Score: 5, Insightful

    I've installed the "unstable" samba 3.0RC1 packages under my Debian 2.4.20 system and I have to say, it works pretty well.

    I've only experienced a few cases of "lock outs" of all clients, the first time because the init script didden't sucessfully kill all smbd's before starting new ones and the second time... Who knows, a restart of it helped fine anyway.

    Other than that it seems pretty good for me with W98/W2K/XP Pro clients using different laguages, except for some random slowdowns in access to it but nothing major.

    Also, that build is compiled with GCC-3.3 if anyone's interested in that.

  9. AD Controller Not Yet Suported by Anonymous Coward · · Score: 5, Informative
    Just as an FYI,

    From the 3.0 FAQ

    The following functionalities are NOT provided by Samba-3:

    *

    SAM replication with Windows NT4 Domain Controllers (i.e. a Samba PDC and a Windows NT BDC or vice versa)
    *

    Acting as a Windows 2000 Domain Controller (i.e. Kerberos and Active Directory) - In point of fact, Samba-3 DOES have some Active Directory Domain Control ability that is at this time purely experimental AND that is certain to change as it becomes a fully supported feature some time during the Samba-3 (or later) life cycle.


    The samba team is doing a great job moving forward. What I would hope to also see in the near future is support for creating a (Linux) directory heirachy based network using samba that will allow both MS and non MS clients. It would be nice to be able to create an LDAP directory trust relationship to your friends/family/etc.. network to allow logins between them...
    1. Re:AD Controller Not Yet Suported by cleverhandle · · Score: 5, Informative

      "What I would hope to also see in the near future is support for creating a (Linux) directory heirachy based network using samba that will allow both MS and non MS clients."

      Once they have AD controller support, that part is easy - and also not exactly Samba's job. Just create appropriate schemas for your LDAP server and have a Samba AD controller authenticate client requests via LDAP. What's not there yet is the ability to handle MS Kerberos properly - creating the Kerberos tokens in the proper format and passing them off to the client is more of a barrier than any LDAP protocol issue.

    2. Re:AD Controller Not Yet Suported by penguin_bear · · Score: 2, Insightful

      Dude, you're full of crap. Kerberos is the easiest part. LDAP is actually the hardest part so far. We just got support for GSS-SPNEGO (Window's preferred SASL authentication mechanism) this week (thanks to some awesome work by Volker). Then there's a bunch of AD-only controls and syntaxes that we're just begining to understand. True is, we can currently support an AD domain controller but it's buggy as all hell (mostly due to LDAP problems). That's not even getting into connectionless LDAP (see my latest presentation at last week's CIFS conference). - Anthony Liguori

    3. Re:AD Controller Not Yet Suported by lkaos · · Score: 3, Informative

      Ok, this is my real nick, before I was responding from my girlfriend's account.

      So here's the deal. AD domain controller support is really a nebulus phrase because it involves a lot of different things. Before the end of last week, an OpenLDAP server could not fool most AD clients into thinking it was a Windows LDAP server. This is no longer true though since we know have proper GSS-SPNEGO support.

      I got Windows client authenticating without modification to a Heimdal KDC quite a while ago (with fully signed PAC etc.).

      What's really missing at this point is actually a number of RPCs in Samba. Problem is these RPCs are coming directly over TCP (normally they're part of a named pipe over SMB) and they are encrypted. We should be able to figure these out soon enough though.

      What's most interesting though is that of all CIFS vendors, Samba is by far furtherest along in AD compatibility (well... sort of).

      --
      int func(int a);
      func((b += 3, b));
  10. Re:additional new feature by AstroDrabb · · Score: 3, Informative

    AD is indeed VERY slow. I have to work with it at work and it blows. I wish they (the admins) would use a plain ole LDAP server. OpenLDAP is much better IMO.

    --
    If Tyranny and Oppression come to this land,
    it will be in the guise of fighting a foreign enemy. -James Madison
  11. Re:just an RC by cduffy · · Score: 4, Insightful

    Depends on the team. What some people release as "just an RC" others release as final and still others hold back as alpha or beta. Saying "release candidates are always garbage" takes nothing into account wrt the release management style of the programming team in question.

    Now, if you had something to say about the quality of the Samba team's RC releases in particular, that'd be worthwhile -- but given how long the Samba 3 *betas* (not RCs, mind you, betas) have been stable, I doubt you'd be saying much the same thing.

  12. Cool feature that is easy to miss by Gerdts · · Score: 5, Informative
    As I was reading the announcement, I missed item 42 (Added win2k3 shadow copy operations to VFS interface). Taking a look at the discussion on the samba-technical list, this seems like it is a very cool feature. It paves the way for being able to look at snapshot file systems (Veritas, UFS, LVM, etc.) and even creating a VFS interface that will allow you to browse the last 64 revisions of file a CVS repository. Very cool.

    Now, I would just love to see this in smbfs.

    1. Re:Cool feature that is easy to miss by afidel · · Score: 3, Interesting

      The problem is none of the Unix filesystems do snapshots the right way for a client facing system. They all do a whole filesystem at a time snapshotting, not just change vectors. MS and Netapp on the other hand do it correctly and simply store the changes. This makes snapshots of infrequently changing data take up significantly less room. Veritas style snapshots are really aimed at datacenters that want to be able to backup their database to a certain point in time while not effecting the live system. The one thing MS does wrong is place the revisions in a FIFO buffer where the 64th oldest backup is always the one that gets pushed off, I would like to be able to do things like you can on the netapp and make hourly, daily, weekly, and monthly backups, with the MS solution you can only keep a couple days back if you want to do hourly backup points.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  13. Watch the free coders out code MS when... by Anonymous Coward · · Score: 4, Insightful

    ...MS agrees with agrees with everyone else in a public forum on a standard before implementation. Until then, we're reverse engineering and always behind the curve - by design.

    1. Re:Watch the free coders out code MS when... by afidel · · Score: 5, Interesting

      Actually it's funny but the guys on the SAMBA team know more about the SMB protocol than anyone currently working for MS. I remember reading a tech conference note from one of the team members back before 2.0 went final and he had talked to one of the senior design guys from MS and the guy couldn't answer some questions about the reasoning behind the design of certain parts of SMB, he had simply inherited the codebase and designed extensions to it to do the new things for windows 2000, he knew very little about the history or design behind the overall protocol framework. Don't attribute to mallice what can be more easily explained by ignorance =)

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  14. Re:Samba wha?.... by pirodude · · Score: 4, Insightful

    Except there are many situations where it is impossible for everyone to just go ahead and install linux. I'm all for running linux, but in the "real world" people still run windows. If I can install a linux server running headless in the corner of a small office handling all of the file sharing/printing needs of that office, I'm happy. Programs like samba are important to show people that linux is a good operating system to use, even if it is just serving files.

  15. Re:Samba wha?.... by 1010011010 · · Score: 4, Informative

    Isn't NFS good enough?

    No. How much security does NFS have built-in? Exactly none.

    --
    Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
  16. Re:Samba wha?.... by sg_oneill · · Score: 5, Insightful

    Doesn't the creation of Linux tools for interfacing with Windows just further validate a needlessly Microsoftian System?

    You don't have to install it Richard. For those of us with jobs to do however, this is a big step forward.
    NFS is fine and all, but its limited to really unixy networking.

    That said Active directory actively puzzles me (as does LDAP). I guess its back to the books again. I guess my windoze knowledge never did advance much beyond NT4.

    --
    Excuse the Unicode crap in my posts. That's an apostrophe, and slashdot is busted.
  17. Re:Samba wha?.... by geogeek6_7 · · Score: 4, Insightful

    On a small scale, it seems that such crossover projects hurt Linux. On a large scale, however, the picture is quite different.

    Anyone who has administered large numbers of computers knows that sweeping changes are nearly impossible to execute. This is not due to technological restrictions, but rather those of the social variety: people don't like change, and require help in adapting. They need a period of migration.

    If there is no way to migrate, large scale deployments of Linux will be avoided-- it simply costs too much to change things without a smooth transition.

    For this reason, Samba does not hurt Linux. It should certainly be noted also that Samba actually does alot of Windows networking things faster than Windows it self-- there are benchmarks kicking around to this effect.

    So not only does Samba allow easy migration, but it allows interoperability between platforms and a superior solution to existing applications.

    ~geogeek

  18. Re:I'd like to be enthusiastic by Anonymous Coward · · Score: 5, Insightful

    I think you're trolling, but I'll answer anyway. First of all, Active Directory is a Microsoft-specific directory services protocol, it's not an open specification that the Samba folks can go and download and implement. If it weren't for the Samba people, your only option would have been to purchase Windows 2000/03 Server for Active Directory support.

    Furthermore, you've clearly never reverse-engineered a protocol before. Since Microsoft doesn't release specifications for Active Directory interactions, the Samba team has to pretty much capture thousands of packets as a workstation logs in, then logs out, then logs in, then logs out, etc. and stare at the data for weeks or months to figure out how to emulate the AD logon. And then they have to do this for domain discovery, resource sharing, and all the other operations that AD supports. To do this for an entire suite of functionality can take years.

    Frankly, I'm surprised and pleased that they've managed to build the excellent support they have for MS' network protocols, and I think the Samba team deserves some congratulations. Thanks and keep up the good work!

  19. You have to crawl before you walk by gregmac · · Score: 4, Insightful
    Doesn't the creation of Linux tools for interfacing with Windows just further validate a needlessly Microsoftian System?

    One of the steps towards linux-only is getting the servers on linux. Linux servers are becoming very popular, but that doesn't mean that every place has them yet, let alone linux workstations.

    Many IT departments have already replaced some (or all) windows servers with linux servers, running Samba to provide the same services to their workstations. If Samba didn't exist, they wouldn't be switching their servers to it, since it would be incompatible with their existing windows servers. Nobody is going to upgrade if it means they lose features (namely, all the features samba provides).

    There is just beginning to be a move towards linux on the desktop, and there have been a few articles on /. about it recently. My personal view is that it's not quite there yet, but close. I just work at a small company, but likely within a year I will have linux on the desktops. Some companies are beginning to roll out linux workstations, but not that many. And certainly not many enterprises.

    You even say it yourself:

    I've already gone 100% Linux on any networks I can.

    Why not all of them? Without samba, it would basically be either 100% linux networks, or 0% linux networks. At the most, linux would be limited to being a router, NAS, webserver, etc.. which isn't bad, but it's leaving a monopoly on a fairly critical service (authentication) to one platform.

    --
    Speak before you think
  20. Re:Samba wha?.... by Large+Green+Mallard · · Score: 2, Insightful

    I personally don't think it's flamebait, it's a valid comment. But just misinformed and poorly approached. The fact he has his signature in the comment and not as a specific signature (which I have turned off) does increase his newbie rating, but whatever.

    Samba isn't just Linux, I run Samba on a Solaris box. Unfortunately, at this point in time, you still need Samba and Microsoft, but as Tridge has said, in 20 years time, people will still be using Rsync, but Samba will have been forgotten.

  21. Re:additional new feature by cheezit · · Score: 4, Interesting

    Vanilla LDAP != inherently better than AD. There are some crappy LDAP servers out there. Whatever you can say about openLDAP, the management and administration side of it is primitive.

    I consider AD to be a viable general-purpose LDAP server for certain applications. I'm using it for a 20K user directory right now...but I wouldn't go over 250K with it, especially one that required any kind of master-hub-replica architecture to scale.

    --
    Premature optimization is the root of all evil
  22. Re:q from a newbie by Anonymous Coward · · Score: 3, Informative

    Samba runs on a Linux/unix server, and lets Windows clients think they're talking to a Windows server.

    So, you can share files and printers just like you would if you were running a Microsoft-based server, but without paying for an MS licence.

    This is possible because originally MS' file sharing standards were published as an (incomplete) open standard, and many patient developers have figured out how to make it work.

    A pure Linux network can also be configured with shared files and printers from a central server. There are a few standards that let you do that; most commonly the standard that's been around for a long time is called NFS.

  23. Mac OS X integration? by PrimeWaveZ · · Score: 3, Insightful

    I know that GimpPrint will make it into Panther, but I think it would be great if some version of Samba 3.0 could make its way into Mac OS X 10.3. The best reason being that Samba 3.0 is supposed to support the signed transmission security that Windows Server 2003 implements. Rock on!

    1. Re:Mac OS X integration? by davebo · · Score: 4, Informative
      I think it would be great if some version of Samba 3.0 could make its way into Mac OS X 10.3.


      Some version did.
    2. Re:Mac OS X integration? by squiggleslash · · Score: 2, Informative
      Only Panther Server. Apple does routinely vary the versions of open source packages between the server/desktop versions of its OSes. For example, Jaguar ships with Apache 1.3, whereas the version shipped with OS X 1.2 Server is Apache 2.0.

      Apple may stick with an older version of SAMBA for the client if they judge it to be more stable: including it with the server is likely to be because it has compelling new features.

      --
      You are not alone. This is not normal. None of this is normal.
  24. Ben Franklin? by SuperBanana · · Score: 3, Funny
    --Ben Franklin
    Programmer Analyst
    Davenport, FL

    Man, couldn't he find a better place to live?

  25. Wins support by archen · · Score: 3, Interesting

    Anyone know how the wins support is? It looks like samba 3 will finally be able to replicate. Currently Samba can't replicate with NT servers, or as far as I know, even with other Samba servers. That sort of limits Samba in terms of redundancy. Is adding static entries to WINS new as well? I don't recall ever seeing that in the samba 2 documentation - that's been an unfortunate hang up where I work.

    1. Re:Wins support by An+Onerous+Coward · · Score: 4, Funny
      What the hell are you talking about? Do you really want your Windows computers and your Unix computers replicating with each other? Right in the server room? When your boss walks in and sees two Intel boxes replicating right there on the server room floor, just what are you going to tell him?

      And just what will the offspring of this Windows/Unix replication be like? Will its NT kernel be able to handle Unix-style system calls? Or will the offspring be a penguin with Bill Gates' face?

      No matter how I look at this, I just cannot see that this "replication" can be a good thing. You're going to create an abomination that will bring only misery to the world. Keep your computers on opposite sides of the room, with very short power cables, or you will doom us all.

      /me goes off to look up "replication."

      --

      You want the truthiness? You can't handle the truthiness!

  26. Re:this bugs me by styrotech · · Score: 4, Insightful

    Samba isn't about creating a new 'innovative' network file system - it's about a tool for interoperating with the widest spread legacy protocol out there. And if you have noticed, MS isn't exactly keen on adopting any of the innovative open source ones like OpenAFS or CODA etc.

    There are plenty of innovative open source protcols out there, but how do you expect them to be adopted when just about everybody else (ie MS) won't use them? And in the meantime you'd deny the usefulness of Samba?

    It's a chicken and egg situation, and Samba breaks that. Samba allows Unix/Linux/*BSD to interoperate with Windows networks. Then once open source stuff is installed widely, then you can start using other open standards.

  27. Re:additional new feature by bogie · · Score: 5, Funny

    Gee and this is from and AC with no proof or benchmarks. Well that settles it, Samba RC3 is officially "broken and horribly slow."

    Glad this was modded up to +5 Informative so we all know to never use Samba 3.x. :rolleyes:

    --
    If you wanna get rich, you know that payback is a bitch
  28. Re:this bugs me by shis-ka-bob · · Score: 3, Interesting
    I don't understand your issues. CIFS/SMB is a protocol controlled by Microsoft. The Samba team has no ability to 'do anything' about the protocols. The EC may have the ability to force Microsoft to release full documents of the protocol, but the Samba team can only ready what they can and reverse engineer the rest.

    There are plenty of of more elegant solutions for filesharing that have been developed and implemented in an open manner. AFS was designed at CMU and OpenAFS is largely the result of U of Michigan. This is certainly inovative and it is also open source. Painting 'open source' as a monolithic entity is silly, you may as well say that "I knew an MIT grad and he was a git, so all MIT grads are gits."

    I have no reason to make Linux 'act like' Windows at home, where I can run a LInux network. However, at work I don't have that luxury. Networking with Windows is a reality. For this, Samba is an amazingly good piece of kit.

    --
    Think global, act loco
  29. Re:additional new feature by AstroDrabb · · Score: 2, Interesting

    You should. OpenLDAP is very good. However, you can also look at commercial versions put out by Novell and Sun. Present them with choice over the MS dictate method.

    --
    If Tyranny and Oppression come to this land,
    it will be in the guise of fighting a foreign enemy. -James Madison
  30. Re:additional new feature by AstroDrabb · · Score: 2, Informative

    The problem is, is that AD is not a general purpose LDAP server. They diverged too much from regular ole LDAP which makes coding against it a pain. The company I am at have 110,000 employees in it plus other junk. It just get a little too slow for me with that much stuff in it. OpenLDAP and Novell can handle it with no problems. I also had more of a pain coding a java app and a php site to use it over a standard LDAP server.

    --
    If Tyranny and Oppression come to this land,
    it will be in the guise of fighting a foreign enemy. -James Madison
  31. Re:additional new feature by whereiswaldo · · Score: 4, Insightful
    This one grabbed my attention:

    A new "net" command has been added. It is somewhat similar to
    the "net" command in windows. Eventually we plan to replace
    numerous other utilities (such as smbpasswd) with subcommands
    in "net".


    Why, oh why chunk everything into one huge and fumbly command? I find "net ???" on Windows to be a pain in the arse to use and usually end up going through several 'net help blah' sessions when looking for how to do something.

    Keep smbpasswd separate. You can still chunk it by prefixing smb-related commands with "smb" (hit [tab] to see the list of commands and start with smb). Not good, or what? I think it's fine.
  32. Re:Which is why... by pantherace · · Score: 3, Interesting
    I'm working on it :) (and need testers...)

    I just got back from a weekend retreat, but I have written a script/gui for doing this, and it works fine in production (where the people know what they are doing) but the setup is pretty automatic, and the gui (based on kommander (part of quanta atm)) allows a simple gui interface to the setup, which should all work, but as I said I need people to play with it and break things!

    It should work for gentoo and redhat, atm.

    sloppyadm.sourceforge.net if you are interested in helping.

  33. Re:Samba wha?.... by Kunta+Kinte · · Score: 5, Informative
    No. How much security does NFS have built-in? Exactly none

    Care to back that up?

    NFS protocol has built in encryption/authentication using GSS-API since version 3. That was quite a few years ago. NFS version 4 is out.

    I maintained a lab running on an encrypted NFS FS about 3 years ago, on Solaris 7.

    Linux didn't have support for encrypted NFS because the kernel hackers couldn't get encryption into the kernel at the time. Now that 2.6 has kernel encryption services Linux will support the full NFSv4 spec. Or at least support the security features.

    But you can't blame the engineers that developed NFS, they've had encryption/authentication built into the protocol for years now.

    --
    Based on upvotes, Ageism is the only "-ism" Slashdotters care about and think isn't SJW
  34. Re:I'd like to be enthusiastic by Durandal64 · · Score: 2, Informative

    Samba 3.0 has been in development and beta for quite some time. Those builds have all had functioning AD support. So they're not "just adding" it. They had to reverse-engineer it because Microsoft don't companies to have a choice outside of their shitty products. So yeah, go out and buy Windows 2000 Server. The rest of us will just download Samba 3.0 for free.

    Idiot.

  35. Samba is the greatest by codepunk · · Score: 4, Interesting

    Samba makes it very easy to get a linux box on a customers network. It also allows me to undercut the hell out of competitive bids in our area. All we are competing against it a bunch of vendors in the area and all they know how to do is windows and MS products. This allows us to completely smear any and all bids we run against them. We are doing it as much as we can right now because as linux spreads it is going to get a whole lot harder to do this and still make the profits we are making.

    --


    Got Code?
  36. Stupid question... by CyberSnyder · · Score: 2, Funny

    Has samba ever been such a good implementation of M$ that it's fallen victim to viruses that are targeted at one of the M$ variants?

  37. Re:q from a newbie by afidel · · Score: 4, Informative

    In fact SAMBA makes a BETTER print server than windows, at least if you add a little glue. Cisco systems has only two print admins for thousands of printers at hundreds of sites around the world, including many in manufacturing facilities that are absolutly mission critical (no labels or packing slips means nothing goes out the door). The man behind Cisco printing added a database and distributed printing system to SAMBA and made CEPS or Cisco Enterprise Printing System. We lost our local linux print server one day but other than a little longer queue time for large docs no one noticed because a remote print server took over the queue and handled all the functions from the failed unit. For more info see the Ceps project at sourceforge.

    --
    There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  38. Re:Samba wha?.... by Kenshiro70 · · Score: 2, Insightful

    Doesn't the creation of Linux tools for interfacing with Windows just further validate a needlessly Microsoftian System?

    No, this is exactly what is needed to displace Mictosoft. Other than email, the second biggest use by client computers of a server is for file-serving. No matter how good Linux is, Microsoft has an iron-clad hold on that area for Windows clients, because users can browse and print through the interface they know so well. If that can be subbed out in a way invisible to the user, the reason for having Windows servers gets a great deal weaker. Breaking Microsoft's server hold is critical - if they can't control the protocols that they talk to the client in, then they cannot create propietary standards on the client, which eventually allows real competition.

  39. Re:I wonder.... by wolrahnaes · · Score: 3, Insightful

    think about it...what is the primary reason to run samba?

    give up? it's integration in to a Windows network. there are other network share protocols that work on basically every other OS, and would be the first choice for networks containing only those OSes (i.e. NFS for *nix nets, Appleshare for Mac nets)

    Most people who run samba will simply be wanting to access the data the same way they would on their windows box. using the same commands will make it simpler on them.

    Usually when the subject of windows imitation is brought up, I don't like it, but this is one situation where it is very useful.

    Lets say you have a WinXP box that you need to get a PDF off of and on to a few of your systems. Which is easier:

    1.
    Go to Win2k box, run "net use * \\WinXPBox\C$"
    Go to Linux box, run "smbmount blah blah..." (sorry i havent used smbmount in forever)
    Go to OS X box, mount it however that does it

    or

    2.
    On all boxen, run "net use [chosen mount point] \\WinXPBox\C$"

    obviously using the same command everywhere simplifies things.

    Windows did SMB first, and the point of SAMBA is to duplicate the SMB services that Windows offers, so logically unless Microsoft did something so horribly wrong that most users would prefer doing things a different way, make the command identical.

    --
    I used to get high on life, but I developed a tolerance. Now I need something stronger.
  40. Looking for some info. by trippinonbsd · · Score: 2, Interesting

    Where would one look for some good solid infomation on what all these buzzwords such as "shadow copy" and "active directy" accually mean? Ive seen those horrid 2003 server ads, but what do these features accually do?

    1. Re:Looking for some info. by ctr2sprt · · Score: 4, Informative
      Active Directory is basically an LDAP directory server with Kerberos 5 authentication. In case you don't know what those are either...

      LDAP servers are pretty much quasi-object-oriented databases (LDAP is the protocol used to talk to the server). On a Unix-like system, you could store all the user information (/etc/passwd, /etc/shadow, /etc/group, everything) in an LDAP directory. But you can really store anything in an LDAP directory, such as the complete DNS database for a server. This can be handy because LDAP has replication and such built right in, so you no longer need to worry about DNS replication. These are the two big things stored in the Active Directory in Windows (user information and DNS records).

      As for Kerberos, it's a secure authentication mechanism. The whole process is kind of complicated, but here are the basics. When you log in to a Kerberos domain (this is just a normal domain login for Windows) what you are doing is requesting a Ticket-Granting Ticket (TGT) from the Key Distribution Center (KDC). The TGT is returned, encrypted. If your password decrypts the TGT properly, you're logged in. Note that your password never goes over the network! Now you want to access a service on another machine in the same domain. You give your TGT to the KDC, asking it for a ticket to the specified machine. You get the ticket back, then provide it to the server. The server verifies the ticket similar to how the TGT is verified at login, and if it passes, then you've identified yourself securely. This means you don't need your password at all once you get your TGT, unless for some reason you need to get a new TGT. So Kerberos is both a secure authentication mechanism and a single sign-on mechanism.

      Believe me, all this is a huge leap forward for Microsoft. Even though they keep adding proprietary bits to both LDAP and Kerberos, they are at least getting on the open standards bandwagon. And technologically, this is all far superior to the way Windows NT did things.

  41. Re:Which is why... by jonadab · · Score: 2, Insightful

    > when a Windows server can be had that can do it out of the
    > box with very little administration

    That would represent a very radical change in Microsoft policy.

    Don't get me wrong, NT has some things going for it, but "doing
    it all out of the box" isn't one of them. All that stuff is
    *available*, of course, and once you install it you have a
    pretty decent system, but it's not included OOTB. The reason
    for this goes directly back to Microsoft policy: the OOTB system
    is a base platform with basic functionality, suitable for the
    majority of users who have simple expectations. The minority
    who need features can obtain them separately. (Time was when
    they obtained them separately from third-party software vendors.
    These days with a few exceptions it's mostly either direct from
    MS or ports of OSS stuff free from the net. But the principle
    is the same.)

    Out of the box, Windows systems are junk. You have to download
    and install a couple of gigabytes of software to make a Windows
    system useful. They don't ship with Apache, or a decent Java
    vm, no python, no decent command shell, no decent text editor,
    no secure shell server (critical for most servers, especially
    headless servers), ... They don't even ship with Perl, for crying
    out loud. *Every* OS ships with Perl -- well, pretty much every
    non-handheld OS that matters, except Windows and VMS.

    After you download and install a couple of gigs of software,
    then your Windows system starts to become useful.

    Most Linux distros have the reverse problem -- three or four
    competing implementations of almost everything, with notable
    singleton exceptions like (oooh, back to topic) Samba, and
    ten or twelve competing implementations of some things, even
    more of certain key things (shells, window managers, ...).

    Samba IMO could use a competitor (that runs on something besides
    Windows). Just one competitor, though, not four or five or six.
    Preferably one written in a VHLL, and written in a more modular
    and flexible fashion so it can do things like support for multiple
    network/transport layers for compatibility with systems that are
    configured not to route NetBIOS over TCP/IP.

    --
    Cut that out, or I will ship you to Norilsk in a box.
  42. The Samba Docs by Kris+Magnusson · · Score: 5, Funny

    My friend, John Terpstra, wrote those docs. Way to go, John! Your long hours paid off with a compliment on Slashdot! Your life is redeemed! ................ kris

    --
    "I thought I could organize freedom. How Scandinavian of me."
  43. Run Samba-only network by whitmer · · Score: 2, Informative

    There was a quite good article on EnterpriseITPlanet about upcoming Samba 3 and they discuss the possibility to run Samba 3-only network. Which is very feasible IMHO because you don't have to manage headaches such as AD. Of course, this works with Linux/Unix fellas only, not you, my dear MCSEs. Samba is way too complex software package for you GUI people to comprehend. ;)

  44. Features galour. by Zaffle · · Score: 3, Insightful

    Samba 3.0 is the first real samba (excluding samba-tng), imho, that can replace a WinNT4 PDC (Primary Domain Controller) *fully*.

    (eg: with samba3, the windows usrmgr.exe works for adding/deleting users & groups. (usrmgr.exe communicates over RPC, so I consider it something that should work for a windows primary domain controller). I have just recently setup for a company:

    A samba PDC, with usrmgr.exe working.

    With an LDAP backend for authenciation.

    With posix ACLs on the file system (to allow *real* permission settings. The perms are still a bit wierd, and I feel better setting them in Linux rather than through the windows gui, but they do work).

    With cups printer backend, so printing works great.

    Basically, this machine fully replaces their windows NT4 server, and does it pretty damn well.

    The move from NT4 to PDC was pretty good. Once everything is setup on the samba side, you can "net vampire" all of the user and group accounts over to the samba server, and the users can login with no problems.

    The only missing feature was I needed some way to copy the file system on the NT box to the linux box and keep the ACLs.

    Anyway, the samba team does a great job

    --

    I use to have a funny sig, but slash cut it off, and I forgot what the punchline was.
  45. Windows port not needed by scsirob · · Score: 3, Funny

    Just replace C:\WINDOWS\SYSTEM32\KERNEL32.DLL with /boot/vmlinuz-2.6.0 and you're all set.

    --
    To Terminate, or not to Terminate, that's the question - SCSIROB
  46. AD Support & ACL's coming.. WhooHoo! by 1stflight · · Score: 2, Interesting

    Have to say Linux is coming right along!! With AD support, and soon to be ACL's in the filesystem (some already have it), all I'm wanting is a pretty GUI admin tool...

    Okay, sorry I'm spoiled :)

    Good job Samba Team!!!!

  47. Re:Samba wha?.... by MarcQuadra · · Score: 2, Funny

    Linux is going to start the march on the server end. Only after you build confidence using Linux for things like internal DNS and DHCP will management let you roll it out to things like file serving and domain control. After it's clear that Linux is reliable and secure you can push for Linux on the desktop within a small test group.

    Right now (here on the east coast, at least) most managers and IT people will laugh you out of the room if you mention Linux seriously. Hell, most places I won' even mention that I 'do' Linux because people automatically think you're a neer-do-well or a commie, not to mention that those in IT who DO know are scared SHITLESS that their days are numbered.

    A huge portion of the IT department where I work (a big bank) don't know ANYTHING about linux other than what they've read in 'Information Week'. I had a server admin ask me last week if she can 'run version 8 of Linux on Windows XP', this lady earns three times what I do as a server admin and all she knows is how to 'end task' and reboot, there's no chance an army of that kind of person is going to want to accept a new player on the network, she'd smell her job evaporating.

    --
    "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
  48. Re:Lucky Linux userssimple registry change by thegoldenear · · Score: 3, Informative

    batch file:

    echo Allow a maximum of 255 concurrent connections to this machine
    reg add "HKLM\System\CurrentControlSet\Services\LanmanServ er\Parameters" /v "Users" /t REG_DWORD /d "0x000000FF" /f

    see http://thegoldenear.org/tweak/ for more

  49. that's not true .. by Macka · · Score: 4, Informative

    The problem is none of the Unix filesystems do snapshots the right way for a client facing system. They all do a whole filesystem at a time snapshotting, not just change vectors

    AdvFS, currently on HP's Tru64 Unix and also (already) ported to the up and coming combined Tru64 + HP-UX offering, called Enterprise Unix, has a snapshot feature called 'cloning'. A cloned filesystem is mountable, and only contains pointers to the blocks of data on the original. Further write operations on the original first copy the data block to be changed to the clone before allowing the block to be replaced. It takes seconds to create a clone of a terrabyte filesytem and then you're back in business. This feature has been around for years!

    You shouldn't make statements like that without doing your homework.