'SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure' when running 'ldapsearch' GSSAPI bind using a Kerberos credential

Solution Verified - Updated -

Issue

When authenticating Red Hat Enterprise Linux (RHEL) clients using Microsoft Active Directory, the following error is seen when attempting a GSSAPI bind using a Kerberos credential via the ldapsearch command:

ldap_sasl_interactive_bind_s: Local error (-2) additional info: SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure.  Minor code may provide more information (Server not found in Kerberos database)

Environment

• Red Hat Enterprise Linux 6.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content