换个思路,为什么会这样
日志,开启debug模式
每一步的原理是什么,如果这一步没成功,那么就是整个配置的故障原因
直觉
举个例子
1.配置ldap client的时候
Why doesn't getent show OpenLdap users?
<a href="https://superuser.com/questions/292199/why-doesnt-getent-show-openldap-users">https://superuser.com/questions/292199/why-doesnt-getent-show-openldap-users</a>
I started nslcd in debug mode: nslcd -d and saw in the statements that it was looking for objectclass posixAccount. All the entries in my LDAP were of type inetOrgPerson. I had to include the nis.schema in the slapd.conf file, and then add posixAccount as an auxiliary objectclass to each entry. Then, I could finally use getent to see accounts inside LDAP.
本文转自 liqius 51CTO博客,原文链接:http://blog.51cto.com/szgb17/2052486,如需转载请自行联系原作者