Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to enable ldap and sssd authentication for linux clients

2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

Linux client how to enable ldap and sssd authentication, I believe that many inexperienced people do not know what to do, so this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.

Environment: CentOS 6.x

1, first make sure that the ldap server has enabled tls/ssl authentication, and start the ldaps:// transport protocol

2. Install the necessary software

# yum-y install sssd-ldap nss-pam-ldapd openldap openldap-clients oddjob-mkhomedir sssd

3. Set sssd parameters

Authconfig\-- passalgo=sha512\-- enablesssd\-- enablesssdauth\-- enablelocauthorize\-- enableldap\-- enableldapauth\-- enableldaptls\-- ldapserver=ldaps://192.168.3.192\-- ldapbasedn= "dc=test,dc=com"\-enablerfc2307bis\-- enablemkhomedir\-enablesysnetauth\-enablecachecreds\-enableldaptls\-enablemkhomedir\-updateall

Modify the red message.

4, configure sssd.conf

Modify configuration file / etc/sssd/sssd.conf

Profile sssd.conf

Add the following line under ldap_uri = XXXXX:

Ldap_tls_reqcert = allow #

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report