test-env:
| server | 192.168.10.11 | rhel65m | 
| client | 192.168.10.12 | client | 
setenforce 0
/etc/init.d/NetworkManager stop
/etc/init.d/iptables stopserver-rhel6.5:
# 添加域名解析记录
yum install openldap-servers openldap-clients migrationtoolsslappasswd -s admin{SSHA}W+thx5t3BaoG8fcohM+edHSJb8MHDKxzvim /etc/openldap/slapd.d/cn\=config/olcDatabase\=\{2\}bdb.ldif5    olcSuffix: dc=example,dc=com10  olcRootDN: cn=admin,dc=example,dc=com11  olcRootPW: {SSHA}W+thx5t3BaoG8fcohM+edHSJb8MHDKxzvim /etc/openldap/slapd.d/cn\=config/olcDatabase\=\{1\}monitor.ldif4 olcAccess: {0}to *  by dn.base="gidNumber=0+uidNumber=0,cn=peercred,cn=externa5  l,cn=auth" read  by dn.base="cn=admin,dc=example,dc=com" read  by * noneclient:
systemctl stop NetworkManager
systemctl stop firewalld
setenforce 0# 添加域名解析记录
vi /etc/hosts