ldappasswd -x -D "cn=Manager,dc=clouderachina,dc=com" -W "uid=mis,ou=Group,dc=clouderachina,dc=com" -S
{SSHA}uOnjzR+gknb0ATtVwK9bRsiV2fbOvlTy
ldapadd -x -D "cn=Manager,dc=clouderachina,dc=com" -W -f user.ldif
ldapdelete -x -D "cn=Manager,dc=clouderachina,dc=com" -W "cn=mis,ou=Group,dc=clouderachina,dc=com"
ldapadd -x -D "cn=Manager,dc=clouderachina,dc=com" -W -f group.ldif
authconfig --enablesssd --enablesssdauth --enablelocauthorize --enablemkhomedir --update
echo "local4.* /var/log/slapd.log" >> /etc/rsyslog.conf
service rsyslog restart
[root@node1 openldap]# ldapwhoami -D "uid=mis,ou=People,dc=clouderachina,dc=com" -w 123456
dn:uid=mis,ou=People,dc=clouderachina,dc=com