当我尝试使用此命令将用户导入LDAP时:
ldapadd -x -D "cn=Manager,dc=domain,dc=com" -W -f /etc/openldap/root.ldif
我有这个错误:
ldap_add no such object (32) matched dn dc=domain,dc=com
让我告诉你这些文件:
/etc/openldap/domain.ldif
dn: dc=domain,dc=com dc: domain description: LDAP Admin objectClass: dcObject objectClass: organizationalUnit ou: rootobject dn: ou=People,dc=com ou: People description: Users of adminmart objectClass: organizationalUnit
/etc/openldap/root.ldif
dn: uid=root,ou=People,dc=com uid: root cn: Manager objectClass: account
有人可以帮帮我吗?
谢谢