在CentOS 6.5上安装OpenLDAP并配置LDAP方式用户登录(3)

# To use db, put the "db" in front of "files" for entries you want to be
# looked up first in the databases
#
# Example:
#passwd:    db files nisplus nis
#shadow:    db files nisplus nis
#group:    db files nisplus nis

passwd:    files ldap
shadow:    files ldap
group:      files ldap

#hosts:    db files nisplus nis dns
hosts:      files dns

# Example - obey only what nisplus tells us...
#services:  nisplus [NOTFOUND=return] files
#networks:  nisplus [NOTFOUND=return] files
#protocols:  nisplus [NOTFOUND=return] files
#rpc:        nisplus [NOTFOUND=return] files
#ethers:    nisplus [NOTFOUND=return] files
#netmasks:  nisplus [NOTFOUND=return] files   

bootparams: nisplus [NOTFOUND=return] files

ethers:    files
netmasks:  files
networks:  files
protocols:  files
rpc:        files
services:  files

netgroup:  nisplus

publickey:  nisplus

automount:  files nisplus
aliases:    files nisplus

--------------------------------------------------------------------------------
开启名称缓存服务
service nscd restart

Liferay Portal 配置使用Oracle和OpenLDAP

Axigen+OpenLDAP+BerkeleyDB+ejabberd多域+JWchat详细配置

CentOS部署OpenLDAP认证

CentOS Linux安装OpenLDAP服务器 

OpenLDAP 的详细介绍请点这里
OpenLDAP 的下载地址请点这里

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/d3d516d4131e9d07d0260ca4be45fa08.html