[PATCHES] heimdal: lib/krb5: do not fail set_config_files due to parse error

Björn Baumbach bb at sernet.de
Sat Jun 16 08:22:41 UTC 2018


There is an (already well known) bug in our heimdal library, which
drives users crazy:

I've ported the needed patches to solve this issue.

The first patch is sufficient, to fix the bug.

The second patch is needed to apply the original patch (the third one)
from Nicolas Williams.

The third patch is the one to process the include directives of the
krb5.conf file, which was mentioned in the bug report:

Additionally I've detected, that the RHEL krb5-libs package patches the
/etc/krb5.conf in the post installation section:

if ! grep -q 'includedir /etc/krb5.conf.d' /etc/krb5.conf ; then
    sed -i '1i # Other applications require this directory to perform
krb5 configuration.\nincludedir /etc/krb5.conf.d/\n' /etc/krb5.conf

So it might be helpful to just commend out the includedir line, instead
of removing.

Please let me know of there is something missing - to get this fixed,
soon! :-)

Best regards,

SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-bug-11573.patch
Type: text/x-patch
Size: 11895 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180616/d6883e43/fix-bug-11573.bin>

More information about the samba-technical mailing list