Re: Server ldap/[email protected] not found in Kerberos database

Dan White <[email protected]>
Newsgroups gmane.comp.security.cyrus.sasl
Message-ID <[email protected]>
On 04/14/17 00:19 +0200, Jaap Winius wrote:
>My question is with regard to an error that I get on an OpenLDAP 
>consumer server that uses Kerberos to authenticate to a provider:
>
>  slapd[1668]: GSSAPI Error: Unspecified GSS failure. \
>  Minor code may provide more information \
>  (Server ldap/[email protected] not found in Kerberos database)

Check your kdc server logs to verify the service principal the consumer
is requesting, which appears to be incorrect.

auth.debug in your syslog, on the consumer and provider, may provide
additional information.

Do you have some other component in your consumer configuration which
references localhost?

>There's a Kerberos key table with keys for an 
>ldap/[email protected]  principal that's used for slapd and 
>k5start is used to to maintain the Kerberos ticket cache for it. That 
>all works fine.
>
>Furthermore, the hostname for the system, srv4, is configured 
>correctly, there's almost nothing in /etc/hosts (just '127.0.0.1 
>localhost' and a few IPv6 linklocal lines), and the forward and 
>reverse DNS entries for this host all refer to srv4.example.com (for 
>IPv4 and IPv6).
>
>Alas, nothing seems to make a difference and slapd insists on 
>authenticating itself to the slapd provider as 
>ldap/[email protected], which doesn't work.
>
>Could this be a bug? If so, this there a workaround?

-- 
Dan White
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.