Привет, Устанавливаю ldap сервер на fedora4. Пытаюсь импортировать ldif файл, но не удается правильно ввести пароль:
ldapadd -x -D "cn=Manager,dc=my-domain,dc=com" -W -f /etc/openldap/example.com.ldif
Enter LDAP Password: ldap_bind: Invalid credentials (49)
slaptest -> config file testing succeeded
--config-- include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/nis.schema allow bind_v2 pidfile /var/run/openldap/slapd.pid argsfile /var/run/openldap/slapd.args access to * by dn.regex="cn=Manager,dc=my-domain,dc=com" write by * read database bdb suffix "dc=my-domain,dc=com" rootdn "cn=Manager,dc=my-domain,dc=com" rootpw 123 directory /var/lib/ldap index objectClass eq,pres index ou,cn,mail,surname,givenname eq,pres,sub index uidNumber,gidNumber,loginShell eq,pres index uid,memberUid eq,pres,sub index nisMapName,nisMapEntry eq,pres,sub
--ldif-- dn: dc=my-domain,dc=com dc: example description: Root LDAP entry for example.com objectClass: dcObject objectClass: organizationalUnit ou: rootobject
dn: ou=People, dc=my-domain,dc=com ou: People description: All people in organisation objectClass: organizationalUnit
В чём может быть проблема?