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

  • Home
  • SEARCH
  • 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 427123
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T19:32:54+00:00 2026-05-12T19:32:54+00:00

There is a password policy in place on OpenDS preventing i.e. multiple login failures.

  • 0

There is a password policy in place on OpenDS preventing i.e. multiple login failures. If user manages to pass the limit, the logs of LDAP server will show, i.e.:

[17/Oct/2009:17:51:11 +0200] BIND RES conn=91 op=0 msgID=1 result=49 authFailureID=197126 authFailureReason=”Rejecting a bind request for user uid=XXXXXXXX,ou=users,dc=XXXXXXX,dc=hr because the account has been locked due to too many failed authentication attempts” etime=1

How to receive the LDAP response code in ANY Java client API (on bind()) other than the “49”, which is a generic “Invalid Credentials” response for all kinds of errors that can happen. LDAPException in JLDAP, and Exception in JNDI don’t seem to contain any more useful information (to show to the user on the presentation layer) besides the “49” and the aforementioned “Invalid Credentials” message. Looking at the logs defeats the purpose of password policy entirely.

Any ideas?

Best regards,
Bozo

  • 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-05-12T19:32:54+00:00Added an answer on May 12, 2026 at 7:32 pm

    Solved. It seems you can’t receive a numerical response, but you can turn on (in OpenDS config) error messages on bind, and then you have to parse response into your application codes for failed login. Ridiculous.

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

Sidebar

Related Questions

Are there Windows API functions that allows reading what the current password policy is?
Is there any API to get the currently logged in user's name and password
Is there a significance to the word salt for a password salt?
Is there any way so that i can echo password when asked for in
Duplicate of Disable browser save password functionality Is there a way to tell the
Problem, there's no method: bool ChangePassword(string newPassword); You have to know the current password
There are many techniques to enforce strong passwords on website: Requesting that passwords pass
Is there an equivalent of the OS X Keychain, used to store user passwords,
I would like to change the password policy for a Drupal v6.x site. Specifically,
If you try to login at https://orbit.theplanet.com/Login.aspx?url=/Default.aspx (use any username/password combination), you can see

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.