This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
linux:centos_ad [2018/05/25 21:52] dhelle2 |
linux:centos_ad [2018/05/28 20:47] bmiddha [more ldap config] |
||
---|---|---|---|
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> | ||
+ | ====== Start nslcd Service ====== | ||
+ | <code> | ||
+ | systemctl start nslcd | ||
+ | </code> | ||
====== Testing configuration ====== | ====== Testing configuration ====== | ||
<code> | <code> | ||
Line 91: | Line 100: | ||
- | ====== Password auth with kerbros ====== | + | ====== Password auth with kerberos ====== |
<file|/etc/krb5.conf> | <file|/etc/krb5.conf> |