Hi,

I am trying to modify the cn=config entry and set passwordkeephistory to 1.

My Java code is:

LDAPModificationSet modificaciones = new LDAPModificationSet();
modificaciones.add(LDAPModification.REPLACE, new
LDAPAttribute("passwordKeepHistory", "1"));
ld.modify("cn=config", modificaciones);

I obtain the following error:

netscape.ldap.LDAPException: error result (53); Unknown frontend parameter
"passwordkeephistory"
at netscape.ldap.LDAPConnection.checkMsg(LDAPConnection.java, Compiled C
ode)
at netscape.ldap.LDAPConnection.modify(LDAPConnection.java:3119)
at netscape.ldap.LDAPConnection.modify(LDAPConnection.java, Compiled Code)
at netscape.ldap.LDAPConnection.modify(LDAPConnection.java:3067)
at netscape.ldap.LDAPConnection.modify(LDAPConnection.java:3033)

passwordkeephistory is an allowed attribute of passwordpolicy object in my
Directory Server. The user I am using has all rights on cn=config entry. I
can modify another attributes of cn = config.

Does anybody know why am I getting this error?

I am using Netscape Directory Server 4.1 and LDAP SDK 4.1.

Thanks.

Alex Iriondo











Reply via email to