SUMMARY: using Active Directory with Solaris

From: Corbett Waddingham (cwaddingham_at_nationalclearing.com)
Date: 04/07/04

  • Next message: Adrian Phipps (AC): "Port errors - solaris 6"
    Date: Tue, 6 Apr 2004 15:44:12 -0700
    To: "Sunmanagers (E-mail)" <Sunmanagers@sunmanagers.org>
    
    

    Hello all,

    Sometime ago, I posed a question about how to get Solaris to work with Active
    Directory. After several false starts, I finally found the answer: Microsoft's
    Services for UNIX (SFU). SFU is a software suite which extends the Active
    Directory schema, allowing various services to run out of AD for UNIX servers,
    including (wait for it....) NIS. So far, it's working fairly well, with some
    limitations. Here's a list of the gotchas I've encountered so far:

    1) If you have an existing AD tree, you have to modify each individual user to
    use SFU by opening their properties, choosing the "UNIX Attributes" tag, and
    adding their UNIX account information (UID, GID, home, shell, and NIS domain).
    Needless to say, this is tedious in large organizations. I'm lucky, I only
    have about 100 users, I can't imagine someone with 10,000 going through this
    willingly.
    2) Once the UNIX attributes have been set, you have to reset the password of
    the user before you can sync their account up in NIS. Presumably because AD
    stores passwords in a one way encryption, which is neither crypt nor MD5.
    3) If you have/want multiple NIS domains, you'll have to have multiple NT
    domains. Each NT domain gets mapped to a single NIS domain, which must be the
    same name, which requires one PDC for each domain. You can, however, control
    multiple domains through one AD forest, so the administration isn't too bad,
    as long as you have extra machines for this purpose.
    4) Not all of the common features of NIS are easily supported, but they are
    all there. The passwd map is controlled through the user management GUI,
    however all other maps (netgroup, hosts, ethers, etc.) must be edited on the
    command line. Potentially a problem for organizations which want to
    standardize on one management tool. It should be possible to extend the AD
    schema to include these other maps, however I have not yet gotten to that.
    5) The master NIS server *must* be the AD server. There is a tool for
    migrating an existing master db into the AD server, but so far as I can tell,
    this is only useful if you have an existing NIS network, with no existing AD
    servers.
    6) I encountered some problems getting the master to talk to the slaves
    properly. I found you have to make sure, when you list the slave servers in
    the SFU console, to supply their FQDN. Just using the hostname by itself lead
    to inconsistent communication.

    It was surprisingly easy to install and configure SFU, and since it was using
    NIS it was trivial to set up on the Solaris servers. Unfortunately, SFU
    doesn't support NIS+, so for those organizations requiring that, this isn't
    the answer. But for a smallish shop like mine with a need to standardize
    usernames and passwords on both the NT and UNIX sides of the house, it was the
    answer.

    r/

    Corbett Waddingham
    Senior Systems Administrator
    National Clearing Corp.
    310-385-2257 phone
    310-385-2225 fax
    cwaddingham@nationalclearing.com

    E-MAIL DISCLAIMER
    Notice Regarding Entry of Orders: Please do not transmit orders regarding your
    account(s) by e-mail. National Clearing Corp. will not accept orders
    transmitted by e-mail, and National Clearing Corp. will not be responsible for
    carrying out such orders.
    Notice Regarding Privacy and Confidentiality: National Clearing Corp. reserves
    the right to monitor and review the content of all e-mail communications sent
    and/or received by its employees.
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: Adrian Phipps (AC): "Port errors - solaris 6"

    Relevant Pages

    • Hybrid user authentication?
      ... Each portal uses the same LDAP service for ACLs via user/passwd ... servers map the LDAP user to a UNIX user with consistency. ... Outside of some UNIX ... We are using NIS+ -- a migration to LDAP is in the works. ...
      (SunManagers)
    • Re: Best Practise to implenet NIS if we have all solaris,linux,aix
      ... would not be better to have three different nis servers. ... Don't use LINUX for any of the server functions. ...  In many kernels, NFS ...
      (comp.unix.solaris)
    • Re: Installing NIS
      ... Copy the sfusch.exe and AmIDcAdmin.exe from the SFU 3.0 CD or SFU 3.5 ... Now you are able to extend the schema successfully. ... Instal SFU NIS. ... > My test domain consists of a single Windows 2000 SP4 AD Domain Controller. ...
      (microsoft.public.win2000.active_directory)
    • Re: Slow DNS Lookup - Debian
      ... >> hosts: files nisplus nis dns ... >> and if you don't run NIS or NIS+, you can speed things up slightly by ... use tcpdump to see that you are using responsive name servers. ...
      (comp.os.linux.networking)
    • Using Microsoft Active Directory as the primary Naming Service
      ... I know I am talking sacrilege, but working at one of my companies remote ... require us to replace these aging servers with W2K3 ... am considered switching from a Sun centric NIS solution, ... That way I we can comply with corporate, support our Windows ...
      (SunManagers)