How to get aditional information from ldap with Kerberos authentication in the Apache httpd?

Solution Unverified - Updated -


Apache httpd is configured to use Kerberos login. How to get the mail from the ldap user?

<Location /examples>
                AuthName "Kerberos Login"
                AuthType Kerberos
                KrbMethodNegotiate on
                KrbAuthRealms EXAMPLE.COM
                KrbVerifyKDC on
                KrbServiceName HTTP/localhost@EXAMPLE.COM
                Krb5Keytab /etc/httpd/local.keytab
                KrbSaveCredentials off
                AuthBasicProvider ldap
                Require valid-user
                AuthLDAPURL "ldap://localhost:10368/ou=People,dc=example,dc=org?uid"


  • Red Hat Enterprise Linux (RHEL) 7
  • Apache httpd 2.4
  • mod_auth_kerb
  • mod_authnz_ldap

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