Use LDAP authentication for Linux Logon

Source: Internet
Author: User
Tags ldap
  1. Use the management console in ldap.idealbiz.com.cn to add sub-nodes ou = Linux users, O = idealbiz.com.cn to the LDAP directory tree.
  2. Add the User Root under this subnode and configure the POSIX user attribute for it. set UID and GID to 0 and home directory to/root.
  3. On the client (Linux Server requiring LDAP authentication), modify the/etc/ldap. conf file.
    Host 132.159.175.159
    Base ou = Linux users, O = idealbiz.com.cn
    Port 389
    Pam_filter objectclass = posixaccount
    Pam_password crypt
    SSL No
  4. Log on to the client as root and run the authconfig command.
    Select use LDAP in the displayed window, and confirm that the server and base DN are 132.159.175.158/ou = Linux users, O = idealbiz.com.cn
    Click Next and select use LDAP authentication. The server and base DN are the same as above.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.