RHCE7.0 answer using LDAP as a local user authentication method

Source: Internet
Author: User
Tags gtk ldap openldap

Use LDAP as the local user authentication mode configuration:

User information and authentication information are provided by different programs.

  1. Yum-y Install SSSD auth config-gtk krb5-workstation (do not install if Kerberos authentication is not necessary)

  2. AUTHCONFIG-GTK graphical interface

    Ldapuser0:password provided by LDAP

    Ldapuser0=kerberos Authentication with Kerberos

    Kerberos authentication will provide Kerberos address and realm.example.com

  3. grep ldapuser0/etc/passwd

    ID LDAPUSER0 See if there are no accounts

    Getent passwd Ldapuser0 This indicates a successful connection to the LDAP server, there are two possible problems, one is the time is out of sync, and the other is the certificate is wrong.

    Vim/etc/openldap/ldap.conf is the CA storage address where the configuration file was modified

    ls/etc/openldap/cacerts/

  4. LDAP authentication: AUTHCONFIG-GTK changed to LDAP auth

RHCE7.0 answer using LDAP as a local user authentication method

Related Article

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.