This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
linux:centos_ad [2018/05/25 21:44] bmiddha created |
linux:centos_ad [2018/05/28 20:48] bmiddha |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== CentOS 7 AD Backend ====== | + | ====== CentOS 7 AD Client ====== |
- | ====== Install nslcd and kerbros ====== | + | ====== Install nslcd and kerberos ====== |
<code> | <code> | ||
Line 65: | Line 65: | ||
filter group (objectClass=group) | filter group (objectClass=group) | ||
</file> | </file> | ||
+ | nslcd.conf should not be world readable if bindpw is set | ||
- | ====== more ldap config ====== | + | <code> |
+ | chmod 600 /etc/nslcd.conf | ||
+ | </code> | ||
+ | |||
+ | ====== 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 74: | Line 79: | ||
</file> | </file> | ||
- | ====== Testing configuration ====== | + | ====== Start nslcd Service ====== |
+ | <code> | ||
+ | systemctl start nslcd | ||
+ | </code> | ||
+ | ====== Testing the configuration ====== | ||
<code> | <code> | ||
getent passwd | getent passwd | ||
Line 91: | Line 100: | ||
- | ====== Password auth with kerbros ====== | + | ====== Password auth with kerberos ====== |
<file|/etc/krb5.conf> | <file|/etc/krb5.conf> |