Re: Solaris 9 authentication and access control into Active Directory

From: Reg Quinton (reggers_at_ist.uwaterloo.ca)
Date: 09/15/04

  • Next message: Myers, Mike: "RE: Solaris 9 authentication and access control into Active Directory"
    To: <focus-sun@securityfocus.com>
    Date: Wed, 15 Sep 2004 09:22:25 -0400
    
    

    From: "Ron Ogle" <ogler@tce.com>
    > 1. Use Kerberos on Solaris 9 via PAM to authenticate to AD using the
    > Windows username/password.

    I've done that with vendor's implementation -- no code imported to system.
    There's a good Microsoft paper at

    http://www.microsoft.com/windows2000/techinfo/planning/security/kerbsteps.asp

    It's an awkward configuration and not much fun to set up. The trick is to
    implement a user within your Active Directory for the machine, set his
    password, then import that information to Unix. It works but I never got
    the password change figured out. I have some very rough notes here that I
    can share:

    http://ist.uwaterloo.ca/security/howto/drafts/2002-08-23/

    As others have mentioned there's PAM samba SMB integration. They work but
    the samba SMB authentication is case insensitive, requires that your DC's
    be configured to support legacy methods and I'm not convinced that it does
    any encryption of passwords. We've used this a lot but I am not at all
    happy with it.

    Recently I've been using LDAP authentication. An active directory will let
    you bind to the UserPrincipalName (eg. reggers@ads.uwaterloo.ca) -- you
    don't need to use the distinguished name. I've been written a version of
    pam/ldap for Active directory that builds on that ... I never found a PAM
    LDAP that did what I needed. In any case, while LDAP is case sensitive it's
    not encrypted. I nevertheless see it as a step forward from SMB.

    I can share my work if anyone is interested. I rely on vendor libraries for
    the LDAP implemention. They work for me.

    In all of the above I'm relying on a traditional password/group file and
    just using PAM for authentication.

    > 2. Use LDAP through NSS to get /etc/passwd and /etc/group type data from
    > AD.

    That would require schema changes to the active directory and I'd not
    recommend that path. At the end of the day the uid/gid you're grabbing for
    Unix will have nothing to do with the Windows sids assigned to users and
    groups.

    > 3. Use Solaris RBAC to group the Windows userids into roles that will
    > manage the systems.
    > 4. Have a very difficult root password (hopefully using MD5) on the local
    > machine in case AD is not available. I will use this authentication only
    > as a last resort.

    We have a user "root" in our Active Directory. The userid is disabled so
    that noone can login using that id.

    I'm not aware of a pam module that says "fail now" if userid root (to stop
    the stacking of PAM methods) but there's probably one around somewhere.
    It's not hard to write one.

    > From what I've read the MIT version of Kerberos works better with AD, but
    > the Solaris SEAM version of Kerberos works better with Solaris. From
    > someone who's been there done that, MIT or SEAM?

    The vendor provided stuff worked fine for me.

    > I've read the Microsoft document on integrating Unix into Windows 2003.
    > They either have SFU or recommend purchasing VAS. I know that there is
    > also PAM SMB authentication, but I don't believe that I want to do that.
    >
    > Thanks
    > Ron Ogle
    >


  • Next message: Myers, Mike: "RE: Solaris 9 authentication and access control into Active Directory"

    Relevant Pages

    • Re: [opensuse] LDAP served network
      ... One LDAP server and one LDAP client. ... I use pam to configure the various services to perform ... an ldap authentication. ...
      (SuSE)
    • LDAP problems moving from 2.0.11-13 to 2.0.21-1
      ... I collected various documents regarding PAM and LDAP, ... about user not being known to the underlying authentication system. ... upgrading from 2.0.11-13 to 2.0.21-1 disables ldap ...
      (comp.os.linux.security)
    • Re: Understanding LDAP or MS Active Directory authenticationand Informix
      ... Hopefully we can upgrade to IDS 10 once Orrible certs PeopleSoft Tools ... Understanding LDAP or MS Active ... I know the LDAP support is through PAM. ... when you make the authentication call to the OS, ...
      (comp.databases.informix)
    • Re: [opensuse] LDAP served network
      ... One LDAP server and one LDAP client. ... Server_1 is file a group file server with several shares with common ... I think so, I've all my server performing an ssh ldap authentication, ... I use pam to configure the various services to perform ...
      (SuSE)
    • Re: Authenticaion Choices
      ... the use of LDAP or/and Active Directory for authentication ... Active Directory is a Captive Directory. ... stuff from Redmond.Go for any other LDAP server, ... Server or OpenLDAP, and you can abide by open standards. ...
      (RedHat)