directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Ayyagari <kayyag...@apache.org>
Subject Re: [ApacheDS] set admin password
Date Mon, 02 Aug 2010 19:42:47 GMT
hi William,

   sadly the tools project was not updated in a long time as we decided to
   focus on more important issues.

   Did you try studio to import data?

Kiran Ayyagari


On Tue, Aug 3, 2010 at 1:08 AM, William Dauphin <wddauphin@hotmail.com> wrote:
>
> 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: elecharny@gmail.com
>> To: users@directory.apache.org
>> 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
>>
>

Mime
View raw message