78615

OpenDS: Which attribute tells that an account was locked due to password expiration

Question:

I have requirement to show status (locked or unlocked ) of all accounts in OpenDS 2.2. I have come to know that pwdAccountLockedTime is present if account gets locked due to too many unsuccessful attempts. So by checking this attribute, I am able to pick account locked due to this reason. Now I need to identify accounts which were locked due to password expiration. Is there any attribute which tells this?

I need to retrieve this attribute in my java client application.

Any help in this regards would be greatly appreciated.

P.S. - I have checked other threads and forums but none of the solutions given seem to be working - like checking pwdLockedTime (I could not find this attribute).

Answer1:

You can check the status of an account and get details of locked account using the manage-account utility.

When the password has expired, there is no marker that it's locked. The server uses the pwdChangedTime and the currentTime to see if the difference exceeds the expiration time.

Kind regards,

Ludovic.

Recommend

  • Converting string to date in Crystal Reports
  • Converting string to date in Crystal Reports
  • Python function optional arguments - possible to add as condition?
  • How to use an EventToCommand with an editable Combobox to bind TextBoxBase.TextChanged with a comman
  • Best way to handle offline and online development with Git
  • Jest - Cannot find module 'setupDevtools' from 'setup.js'
  • How to prompt user that edits have been made upon changing pages or sorting in Kendo Grid
  • Should I optimize around reads or CPU time in Google App Engine
  • Equivalent of branch..merge for git-push
  • Return to second to last URL in MVC (return View with previous filter conditions applied)?
  • Javascript unload page condition
  • How to resolve dependencies from one gradle project to another gradle project in my Eclipse workspac
  • PHP UTF-8 to GB2312
  • Specifying virtual keyboard type for EditText in XML
  • What's the syntax to inherit documentation from another indexer?
  • Why the SequenceFile is truncated?
  • Trying to get the char code of ENTER key
  • DIV instruction jumping to random location?
  • Using Sax parsing to edit and write XML in VB6
  • Automatically associate new Sonar project with custom quality profile and quality gate
  • Unable to get column index with table.getColumn method using custom table Model
  • why xml file does not aligned properly after append the string in beginning and end of the file usin
  • Debug.DrawLine not showing in the GameView
  • azure media services - The request body is too large and exceeds the maximum permissible limit
  • Yii2: Config params vs. const/define
  • Unity3D & Android: Difference between “UnityMain” and “main” threads?
  • How to create a file in java without a extension
  • OpenGL ES texture problem, 4 duplicate columns and horizontal lines (Android)
  • Exchange data b/w iOS devices using Bluetooth 4.0
  • Can I display google adwords (AdView) in javafx on android
  • HTML download movie download link
  • Cross-Platform Protobuf Serialization
  • DirectX11 ClearRenderTargetViewback with transparent buffer?
  • Can I make an Android app that runs a web view in Chrome 39?
  • Why winpcap requires both .lib and .dll to run?
  • How do I rollback to a specific git commit
  • How to format a variable of double type
  • NSLayoutConstraint that would pin a view to the bottom edge of a superview
  • coudnt use logback because of log4j
  • JaxB to read class hierarchy