Я новичок в работе с ldap, и я попытался зарегистрировать пользователя на сервере openldap с помощью Spring Data ldap. Это класс устойчивости
@Entry(base = "dc=example,dc=com", objectClasses = {"top", "person", "organizationalPerson", "inetOrgPerson"})
public class User {
@Id
private Name id = LdapUtils.emptyLdapName();
@Attribute(name = "cn")
private String name;
public void setName(String name) {
this.name = name;
}
public String getName() {
return name;
}
}
, и когда я запускаю программу, я получаю это исключение
javax.naming.OperationNotSupportedException: [LDAP: error code 53 - modify upon the root DSE not supported]
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3227) ~[na:1.8.0_231]
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3100) ~[na:1.8.0_231]
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2891) ~[na:1.8.0_231]
at com.sun.jndi.ldap.LdapCtx.c_modifyAttributes(LdapCtx.java:1475) ~[na:1.8.0_231]