Slashdot Mirror


Linux Workstations in a Windows Domain?

gsperling asks: "As Windows licensing costs are gradually increasing, and options for those licenses are decreasing, I am forced to investigate Windows alternatives. I am trying to begin rolling out Linux as an alternative desktop solution to my enterprise. I am an IT Manager for a company of approximately 65 users. We are incorporating a second company into ours in the next six months, and that 65 number will grow to well over 150. This is a solution that I need to start working on TODAY. We currently have a Windows 2000 Server. It is primarily used as a file and printer sharing server, along with maintaining all of the user accounts domain-wide. I would like to know how it is possible to get a Linux Workstation to authenticate against the user database in our Windows 2000 Server. I have exhaustively Google'd, read thousands of mailing list archives, and have still come up short. After I receive my results, I plan on publishing a whitepaper on how this is done, of course giving credit where credit is due." For those of you using Linux in the Enterprise, how have you managed to get Windows to play nice with any Linux boxen in your domain?

13 of 78 comments (clear)

  1. Sad to say by Apreche · · Score: 2, Informative

    It's sad to say, but what you're looking for is actually a Microsoft product.

    http://www.microsoft.com/windows/sfu/default.asp

    That will most likely take care of your problem. I highly reccomend you wait for others to reply to see if there is a free alternative, but that's the easy way out.

    --
    The GeekNights podcast is going strong. Listen!
  2. Not too hard ... by dougmc · · Score: 3, Informative
    I would like to know how it is possible to get a Linux Workstation to authenticate against the user database in our Windows 2000 Server.
    When you say `user database', are you referring to the Windows domain, or something like LDAP? I suspect it's the former ...

    The Windows database doesn't contain all the information that a *nix system needs -- it doesn't know about shells or home directories, for example. (Well, it does know home directories, but they're different.) Even if there was a PAM module that would talk to it, I'm not sure where it would get this information from.

    In your case, most people will set up a seperate server for the *nix network, using NIS to share password information. Using PAM you can even set up the *nix box to change the password on the Windows network when it's changed locally.

    Alas, it's easier to set up a Linux box as a domain server for a bunch of Windows boxes than it is to make the Windows box act as a NIS server for a Linux network ...

    Waitaminute. That's it -- you just need a NIS server for the Windows box. Looks like our old friends Microsoft sells something that may do what you need. (Disclaimer: I've never used it, and probably never will.)

    I suspect it (the software) will cost more than a dedicated Linux box NIS server (the hardware), but it may be easier to maintain and sell to management. Personally, I'd prefer the Linux NIS server, but then again, I'm not a Microsoft guy.

  3. part of samba can do this for you, by Alex · · Score: 4, Informative

    http://www.samba.org/samba/docs/man/winbindd.8.htm l

    Alex

  4. Google Is Your Friend by Anonymous Coward · · Score: 5, Informative

    Detailed instructions at the following: http://www.securityfocus.com/infocus/1563

  5. Re:not just against a windows domain by noselasd · · Score: 2, Informative

    Well, there is a somewhat hole in bringing various things together, there are however may such things on linux. NIS is one. LDAP another common one, often used together with kerberos. Its perfectly doable, as I have a small network here using ldap for storing user information and kerberos for authentication and single signo on of services. Works amazingly well.http://www.bayour.com/LDAPv3-HOWTO.html provides a rather extensive howto. It's for debian, using RedHat/Fedora I found the patching and building from source unneeded.

  6. Re:not just against a windows domain by sdirector · · Score: 2, Informative

    You can use mysql or ldap as a user information source and log people in against that without 'actual' account on each machine. If you really want to get exciting, you can do the same with Kerberos and Hesiod. You can also use NFS or (my preference) AFS to hold the user directories so they actually have home dirs. MIT has been doing it since the 80's with their Athena Project... I keep wondering why Windows has such an issue with single sign on.

  7. Samba by barcodez · · Score: 2, Informative

    Redhat 9 is configured to allow authentication agains a Windows Domain Controller right out the box. It uses Samba to do this and I expect it's not to hard to configure samba on other Linux distros to do the same. I would question why you want to keep Windows on the servers. Just use Linux with CUPS for printing, NFS for file share, NIS for user management.

    --

    ----
  8. pam_smb by hab136 · · Score: 3, Informative
    pam_smb is a PAM module/server which allows authentication of UNIX users using an NT server.

    pam_smb:
    pamsmb.sourceforge.net

    pam_smb FAQ:
    http://pamsmb.sourceforge.net/faq/pam_smb_faq.html

    Features (v1 and v2):

    • Authenticates Linux users against SMB servers in user mode(95, NT, samba etc). Will not authenticate against share level systems.
    • Supported OSes: Linux (any PAM supporting distro), Solaris 2.6 or greater.
    • Supports NT/Lanman encrypted passwords.
    • Any service which uses PAM can authenticate against NT.
    • Can setup to ignore lack of a local password entry when something else provides the users information such as RADIUS.

    Features (v2 only)
    • HP/UX 11 and FreeBSD 4.8 or 5.1 support.
    • Caching support.
    • Username mapping of Unix usernames to NT usernames.
  9. This should get you started. by Ayanami+Rei · · Score: 2, Informative

    Samba 3.0 can talk to an Active Directory PDC and using winbindd (for the NSS) along with pam_smb and kerberos (for authentication) and smbmount (for home directories) we can provide a full windows users on linux solution.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  10. Samba - Winbind by jtosburn · · Score: 3, Informative

    When it comes to interoperability between Windows and *nix, the answer is usually Samba. For you, you need Winbind, which will authenticate against a Windows Domain's PDC, and can be hooked into PAM.

    Browsing the docs is a very good idea. And, you can read The Official Samba-3 HOWTO and Reference Guide online. In particular, see Chapter 21. Winbind: Use of Domain Accounts.

    Good luck.

  11. [OT] boxen by Cpyder · · Score: 0, Informative
    not to troll, but it's box, boxes, not boxen

    And no, it's not cool to type it that way. What's next?

    Wind00z licensing c0$ts are increasing. I wanna ch4ng3 to da Linuxx-side widout virii. W00t!

    Grrr...

    1. Re:[OT] boxen by Just+Some+Guy · · Score: 3, Informative
      From Jargon File (4.3.0, 30 APR 2001) [jargon]:

      boxen /bok'sn/ pl.n. [very common; by analogy with {VAXen}] Fanciful plural of {box} often encountered in the phrase `Unix boxen', used to describe commodity {{Unix}} hardware. The connotation is that any two Unix boxen are interchangeable.

      Choose to use it or not, but it's an accepted jargon term and has been for a long time.

      --
      Dewey, what part of this looks like authorities should be involved?
  12. Re:Interesting.... by Phillup · · Score: 2, Informative

    If I were to try and implement the Windows solution... it would take me a long time. Possibly even days.

    I don't do Windows... so, I'd have to fight a learning curve... and a trust curve, to implement it.

    I do Linux.

    I can implement a Samba domain in less than 30 minutes (including OS install). It is easy for me... because that is what I do.

    I *used* to do Windows, but I got tired of having to *redo* Windows. It just quit working a lot... for reasons unknown.

    Anyway... TCO can't be determined properly without looking at the skills of the people implementing the solutions.

    And... the reason people around here push linux solutions may have something to do whith their skills. You push what you know.

    --

    --Phillip

    Can you say BIRTH TAX