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 question.(5)

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

ITtutoria

ITtutoria Logo ITtutoria Logo

ITtutoria Navigation

  • Python
  • Java
  • Reactjs
  • JavaScript
  • R
  • PySpark
  • MYSQL
  • Pandas
  • QA
  • C++
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Python
  • Science
  • Java
  • JavaScript
  • Reactjs
  • Nodejs
  • Tools
  • QA
Home/ Questions/Recommendation for the ldap_bind: invalid credentials (49) error.
Next
Answered
Orion Smith
  • 20
Orion Smith
Asked: May 18, 20222022-05-18T19:34:03+00:00 2022-05-18T19:34:03+00:00In: Programs

Recommendation for the ldap_bind: invalid credentials (49) error.

  • 20

. Advertisement .

..3..

. Advertisement .

..4..

I encountered the following problem in completing my work:

ldap_bind: Invalid Credentials (49).

Below is the code I ran:

$ ldapsearch -x -W -D 'cn=Manager,dc=example,dc=com' -b "" -s base
# slapd.conf - Configuration file for LDAP SLAPD
 ##########
 # Basics #
 ##########
 include /etc/ldap/schema/core.schema
 include /etc/ldap/schema/cosine.schema
 include /etc/ldap/schema/inetorgperson.schema
 pidfile /var/run/slapd/slapd.pid
 argsfile /var/run/slapd/slapd.args
 loglevel none
 modulepath /usr/lib/ldap
 # modulepath /usr/local/libexec/openldap
 moduleload back_hdb
 
 ##########################
 # Database Configuration #
 ##########################
 database hdb
 suffix "dc=example,dc=com"
 rootdn "cn=Manager,dc=example,dc=com"
 rootpw secret
 directory /var/lib/ldap
 # directory /usr/local/var/openldap-data
 index objectClass,cn eq
 
 ########
 # ACLs #
 ########
 access to attrs=userPassword
  by anonymous auth
  by self write
  by * none
 access to *
  by self write
  by * none
# LDAP Client Settings
 URI ldap://localhost
 BASE dc=example,dc=com
 BINDDN cn=Manager,dc=example,dc=com
 SIZELIMIT 0
 TIMELIMIT 0

What’s causing it, and how can it be resolved in the “ldap_bind: invalid credentials (49)“ in the programs?

invalid credentials
  • 1 1 Answer
  • 98 Views
  • 0 Followers
  • 0
Answer
Share
  • Facebook
  • Report

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Best Answer
    dttutoria Expert
    2022-06-25T02:32:38+00:00Added an answer on June 25, 2022 at 2:32 am

    The cause: The XMS cannot connect as the Bind User to perform a role or group lookup because the BIND credentials are invalid. Therefore, it leads to the ldap_bind: invalid credentials (49) error.

    Solution:

    BIND name and perhaps BIND password must be entered correctly.

    When setting the bind password using the XMCLI, the same restriction on special characters is not present. However, if the password is changed using any of those special characters, XMS Recovery won’t function later if necessary, including when a new XMS is replacing an old XMS. When changing the BIND password, it is strongly advised that you utilize the WebUI. If possible, avoid using the characters listed in the KB article linked above when changing passwords using the XMCLI approach.

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

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

Sidebar

Ask A Question
  • How to Split String by space in C++
  • How To Convert A Pandas DataFrame Column To A List
  • How to Replace Multiple Characters in A String in Python?
  • How To Remove Special Characters From String Python

Explore

  • Home
  • Tutorial

Footer

ITtutoria

ITtutoria

This website is user friendly and will facilitate transferring knowledge. It would be useful for a self-initiated learning process.

@ ITTutoria Co Ltd.

Tutorial

  • Home
  • Python
  • Science
  • Java
  • JavaScript
  • Reactjs
  • Nodejs
  • Tools
  • QA

Legal Stuff

  • About Us
  • Terms of Use
  • Privacy Policy
  • Contact Us

DMCA.com Protection Status

Help

  • Knowledge Base
  • Support

Follow

© 2022 Ittutoria. All Rights Reserved.

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.