Red Hat Bugzilla – Bug 744125
kdb_ldap crash during kinit for bad realm
Last modified: 2012-08-07 16:21:19 EDT
Description of problem:
krb5kdc process will segfault if using kdb_ldap and a request is sent for a domain that is not in the db. krb5_ldap_get_principal in plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c does not set an appropriate error code (ldap_principal2.c:107 where: st=0) before cleanup causing the server to attempt to dereference a null pointer (do_as_req.c:230 client->princ).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.setup kdc with domain EXAMPLE.COM and dns SRV records
2.on client enable dns_lookup_kdc
krb5kdc will crash if running with single worker, hang with multiple worker threads.
kinit: Client princ@ExAMPLE.COM not found in Kerberos database while getting initial credentials
debian bug report exists for this problem but is not resolved:
krb5-1.9.1-14.fc15 has been submitted as an update for Fedora 15.
krb5-1.9.1-14.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.
(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here: