authenticate Linux against active directory with pw policy

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shenno
    New Member
    • Sep 2010
    • 59

    authenticate Linux against active directory with pw policy

    i just need yes or no, can i authenticate Linux boxes from windows active directory DC with password aging, complexity policy applied from active directory ?

    thanks in advance .
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    Yes, the easiest way to do this is to through OpenLDAP and Kerberos. There are several other methods through which to do this, however, including proxying OpenLDAP, or other similar utilities.

    OpenLDAP+Kerber os is probably the one that has the most guides out there.

    Comment

    • Shenno
      New Member
      • Sep 2010
      • 59

      #3
      actually i meant MS active directory , not openldap..

      also i have tested MS AD password policy, and i was shocked it's working on linux boxes !

      thanks anyways.

      Comment

      • sicarie
        Recognized Expert Specialist
        • Nov 2006
        • 4677

        #4
        When working with AD and Linux I personally have found the easiest method is to duplicate the AD domain in OpenLDAP, and have that work with the Linux hosts. Then the OpenLDAP can sync with AD, that doesn't mean it's the best or only way - just what I've found to be easiest and most documented when I run into issues.

        There are several other ways to do this, and it's great to hear you were able to figure it out! Can you post what method you used to help anyone else who runs into this and doesn't want to use OpenLDAP? (And Windows server version, etc...?)

        Comment

        • Shenno
          New Member
          • Sep 2010
          • 59

          #5
          consider the following

          AD FQDN : master.dc.alone , domain is : dc.alone

          1st configure linux box to use AD as NTP server (must)

          2nd use system-config-authentication cmd and configure it exactly as following image (case sensitive)


          3rd click join domain and provide domain admin credential.

          then you are done :)

          GL.

          Comment

          Working...