Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

Apache child segfaults when enabling mod_webauthldap.

Russ Allbery eagle at windlord.stanford.edu
Tue Feb 28 16:47:35 PST 2006


Mustafa A Hashmi <mahashmi at gmail.com> writes:
> On 2/28/06, Russ Allbery <eagle at windlord.stanford.edu> wrote:

>> Is this because the system LDAP and SASL libraries are linked with
>> Heimdal, or did you run into other issues?

> That was it exactly. LDAP and SASL are both linked to heimdal 0.6 on
> SLES-9.

As soon as I get a chance to do the significant update of the WebAuth web
pages that has been needed for quite a while, I'll try to capture that in
the documentation better.

> Absolutely. Please find the details below:

> Package: heimdal-0.6.1rc3-55.3

> Error follows below:
> In file included from krb5.c:81:
> krb5-heimdal.c: In function `webauth_krb5_export_tgt':
> krb5-heimdal.c:665: error: `KRB5_TC_MATCH_SRV_NAMEONLY' undeclared
> (first use in this function)
> krb5-heimdal.c:665: error: (Each undeclared identifier is reported only once
> krb5-heimdal.c:665: error: for each function it appears in.)

Could you try this patch and let me know if it fixes the problem?

Index: src/libwebauth/krb5-heimdal.c
===================================================================
--- src/libwebauth/krb5-heimdal.c       (revision 2452)
+++ src/libwebauth/krb5-heimdal.c       (working copy)
@@ -8,6 +8,12 @@
 **  Kerberos.
 */
 
+/* Heimdal 0.6 doesn't have KRB5_TC_MATCH_SRV_NAMEONLY, but the effect of
+   KRB5_TC_DONT_MATCH_REALM appears to be the same. */
+#ifndef KRB5_TC_MATCH_SRV_NAMEONLY
+# define KRB5_TC_MATCH_SRV_NAMEONLY KRB5_TC_DONT_MATCH_REALM
+#endif
+
 /*
 **  Take a single Kerberos v5 credential and serialize it into a buffer, using
 **  the encoding required for putting it into tokens.

-- 
Russ Allbery <eagle at windlord.stanford.edu>
Technical Lead, ITS Unix Systems and Applications, Stanford University



More information about the webauth-info mailing list