Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7985683
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T11:37:36+00:00 2026-06-04T11:37:36+00:00

I am trying to enable random password generation when a user account is created

  • 0

I am trying to enable random password generation when a user account is created for the first time or the password has been reset.
First of all, I did not get any evidence that if this can be done on account creation. Would appreciate if anyone can confirm this.

Secondly, I have configured & enabled the Random Password Generator and attached it to my password policy too.
As per the documentation, if a password is not provided in the client’s request, the Password Modify Extended Operation in conjunction with Password Generator generates a new password.
But this is not working. Does this work with any kind of special operation?
Please help, it would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T11:37:37+00:00Added an answer on June 4, 2026 at 11:37 am

    The Random Password Generator is enabled by default in OpenDJ (the actively developed fork of OpenDS, but I’m sure it is as well in OpenDS).
    It cannot be used at account creation, as there is no mechanism to return the generated password to the client application.
    So, the proper way to have a password generated, is to create the account without a password and then use ldappasswordmodify (or the Password Modify Extended Operation) to generate one.
    This will be automatically done if no new password is specified.
    This said, it cannot be done as an anonymous user. So, do it as Directory Manager but specifying the DN of the created account :
    ldappasswordmodify -D “cn=directory manager” -w password -a “dn:uid=user.0,ou=people,dc=example,dc=com”
    The LDAP password modify operation was successful
    Generated Password: cye99shz

    I hope this helps.

    Kind regards,

    Ludo

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to enable a user to pan up/down and left/right an object in
I've been spending some time trying to understand multiprocessing, though its finer points evade
I have been trying to enable jquery UI module and have been unable to
been trying to enable crosshairs on highcharts.... on jsfindle the example works fine, but
I am trying to enable users to change their password. I keep getting the
i've been trying to enable Xdebug for Mac OS X Lion, but can't make
I'm trying to enable .htaccess files on a Ubuntu server I set up. I
I' m trying to enable adding/deleting rows to/from table using folowing code: Script: $(document).ready(function()
I'm trying to enable Expires headers for images as recommended by YSlow. I'm sure
I am trying to enable an additional net.tcp endpoint (which uses Username authentication) for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.