I’ve been pulling hair out in tufts over the last week trying to get OpenLDAP 2.3.35 to build with Kerberos 5 support on a SLES9 machines (AMD64). I’ve spent hours searching the mailing lists and Google. All I could find were messages from several years ago admonishing people for not searching, or questions with no answers.
Anyway, I finally got it, which leads to my question below.
First, this machine is SLES9, Service Pack Three. SuSE provides the Heimdal Kerberos implementation. It also has Cyrus SASL. For some strange reason, the OpenLDAP packages SuSE supplies for SLES9 do not have Kerberos compiled in, so I went and grabbed the openldap-2.3.35 tarball and set about trying to build it.
The biggest problem is the configure script completely ignores the –with-kerberos option. Completely. I’ve searched, and I can’t find any mention of why this is.
Starting at line 18,158 in the configure script, I found this block: