User Tools

Site Tools


linux:centos_ad

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:centos_ad [2018/05/28 20:47]
bmiddha [start service]
linux:centos_ad [2021/05/02 21:36] (current)
Line 1: Line 1:
-====== CentOS 7 AD Backend ​======+====== CentOS 7 AD Client ​======
  
  
Line 23: Line 23:
 select "Use LDAP" and "Use LDAP Authentication"​ select "Use LDAP" and "Use LDAP Authentication"​
 select "Use TLS" select "Use TLS"
-Server: ad1.acm.cs+<​code>​ 
 +Server: ​ldaps://ad1.acm.cs
 Base DN: dc=acm,​dc=cs Base DN: dc=acm,​dc=cs
 +</​code>​
  
 ====== Update nslcd config ====== ====== Update nslcd config ======
Line 71: Line 73:
 </​code>​ </​code>​
  
-====== ​more ldap config ​======+====== ​More LDAP Config ​======
 make sure that passwd, group and shadow have files and then ldap make sure that passwd, group and shadow have files and then ldap
 <​file|/​etc/​nsswitch.conf>​ <​file|/​etc/​nsswitch.conf>​
Line 83: Line 85:
 systemctl start nslcd systemctl start nslcd
 </​code>​ </​code>​
-====== Testing configuration ======+====== Testing ​the configuration ======
 <​code>​ <​code>​
 getent passwd getent passwd
Line 128: Line 130:
  
 ====== Auto create home directories ====== ====== Auto create home directories ======
 +Run this
 +<​code>​
 +authconfig --enablemkhomedir --updateall
 +</​code>​
 Append File Append File
 <​file|/​etc/​pam.d/​sshd>​ <​file|/​etc/​pam.d/​sshd>​
linux/centos_ad.1527540442.txt.gz · Last modified: 2021/05/02 21:36 (external edit)