On Fri, Sep 18, 2015 at 10:37 PM, Ezsra McDonald <[email protected]>
wrote:

> Any ideas Kiran? I tried using ldapmodify with a LDIF as below:
>
> sorry for the delay, was building a tool to change the password cause any
other means of changing
it doesn't work

please follow the below steps:

1. get the ads-passwd-reset.jar from here
https://people.apache.org/~kayyagari/ads-passwd-reset.jar
2. stop the server
3. run the command
     java -jar target/ads-passwd-reset.jar <your-path-to-DS-instance>
<user-dn> <new-password>

    your-path-to-DS-instance :  the path to the instance you are using,
most likely it is the 'default' instance
                                                so something
<path-to-ds-installation>/instances/default
                                user-dn :  uid=admin,ou=system
                     new-password :  the new password

4. after successful execution of above command start the server

If you would like to build this tool then check it out from
http://svn.apache.org/repos/asf/directory/sandbox/kayyagari/passwd-reset/

Let me know if you need further assistance.



> dn: uid=admin,ou=system
> changetype: modify
> replace: userPassword
> userPassword: PW_HERE_PLEASE
>
> I assume it needs more system attributes to get around this?
>
> Is there a config entry that can disable password aging that I can change
> with an editor and restart the instance?
>
>
> On Fri, Sep 18, 2015 at 8:51 AM, Ezsra McDonald <[email protected]>
> wrote:
>
> > ADS M20
> >
> > Thanks
> >
> > On Fri, Sep 18, 2015 at 8:46 AM, Kiran Ayyagari <[email protected]>
> > wrote:
> >
> >> which version of the server are you using?
> >>
> >> On Fri, Sep 18, 2015 at 9:44 PM, Ezsra McDonald <
> [email protected]
> >> >
> >> wrote:
> >>
> >> > I am researching but if anyone can suggest a solution, it appears my
> >> > uid=admin,ou=system password expired. I did not realize the aging
> >> applied
> >> > to the admin user.
> >> >
> >> > Urgently need to resolve this issue.
> >> >
> >>
> >>
> >>
> >> --
> >> Kiran Ayyagari
> >> http://keydap.com
> >>
> >
> >
>



-- 
Kiran Ayyagari
http://keydap.com

Reply via email to