IPA sudo error sudo: ldap_sasl_bind_s(): Invalid credentials

Solution Verified - Updated -

Issue

When attempting to connect run sudo commands on a client that is using IPA for sudo rules the debug messages show:

sudo: ldap_initialize(ld, ldap://ipaserver.example.com)
sudo: ldap_set_option: debug -> 0
sudo: ldap_set_option: ldap_version -> 3
sudo: ldap_set_option: tls_checkpeer -> 1
sudo: ldap_set_option: tls_cacertfile -> /etc/ipa/ca.crt
sudo: ldap_set_option: tls_cacert -> /etc/ipa/ca.crt
sudo: ldap_set_option: timelimit -> 15
sudo: ldap_set_option(LDAP_OPT_NETWORK_TIMEOUT, 5)
sudo: ldap_start_tls_s() ok
sudo: ldap_sasl_bind_s(): Invalid credentials
[sudo] password for test_user:
test_user is not in the sudoers file.  This incident will be reported.

Environment

  • Red Hat Enterprise Linux 6
  • IPA/IdM

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.