OpenLDAP in original CentOS
In my virtual CentOS, try to apply its OpenLDAP installed. First, check “/etc/openldap/slapd.conf”, it used “ldbm” instead of Berkeley DB “bdb”, set the base DN, password and thus configuration is completed. I add a lot of entries for validation, and later delete them. Note, here the destination in “ldapdelete” command must like the following:
# ldapdelete -x -v -D “cn=root,dc=plasmon,dc=sit” -w hello123 uid=inter,ou=People,dc=plasmon,dc=sit
Before the term “uid=inter” there’s no “dn:”, if such title exists, the ldapdelete would get failed.
分类: 科技