I am not sure if this is the right place for this question or not:
So I am trying to use the apacheds-tools to change the admin password via the
command line by doing:
java -jar apacheds-tools.jar import -f ..\..\modify_attribute.ldif -w secret --e
with the following ldif file contents:
dn: uid=admin,ou=system
changetype: modify
replace: userPassword
userPassword: testing
But get the following excpetion:
log4j:WARN No appenders could be found for logger
(org.apache.directory.shared.ldap.codec.bind.SimpleAuthentication).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main"
org.apache.directory.shared.asn1.codec.EncoderException: The PDU buffer size is
too small !
at
org.apache.directory.shared.ldap.codec.modify.ModifyRequestCodec.encode(ModifyRequestCodec.java:499)
at
org.apache.directory.shared.ldap.codec.LdapMessageCodec.encode(LdapMessageCodec.java:677)
at
org.apache.directory.server.tools.ImportCommand.changeModifyEntry(ImportCommand.java:445)
at
org.apache.directory.server.tools.ImportCommand.changeEntry(ImportCommand.java:497)
at
org.apache.directory.server.tools.ImportCommand.execute(ImportCommand.java:697)
at
org.apache.directory.server.tools.ApachedsTools.main(ApachedsTools.java:118)
Any ideas why I get this error?
Thanks,
Doug
> Date: Mon, 2 Aug 2010 17:20:36 +0200
> From: [email protected]
> To: [email protected]
> Subject: Re: [ApacheDS] set admin password
>
> On 8/2/10 5:10 PM, William Dauphin wrote:
> > But I can install ApacheDS and then run the command line utility for the
> > same results.
> I'm afraid you have to do that...
>
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>