cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1934543 ] autodetection of GSSAPI-MIT could be better

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Mon, 07 Apr 2008 13:25:46 -0700

Bugs item #1934543, was opened at 2008-04-04 16:35
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1934543&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: compile or build problem
Group: bad behaviour
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Daniel Black (grooverdan)
Assigned to: Daniel Stenberg (bagder)
Summary: autodetection of GSSAPI-MIT could be better

Initial Comment:
as per bug https://bugs.gentoo.org/show_bug.cgi?id=216096 it seems like the autodetection of MIT vs heimdal could be insufficient.

At least in the gentoo with heimdal installed/usr/include/gssapi symlinks to heimdal (for compatibility - ironic i know).

As such the autoconfig check for gssapi/gssapi.h, the deteriming factor for MIT, suceeds even when heimdal is installed.

As an alternative you could look for gssapi/gssapi_generic.h as follows:

--- /tmp/curl-7.18.1/configure.ac 2008-03-28 10:10:24.000000000 +1100
+++ configure.ac 2008-04-05 00:11:23.000000000 +1100
@@ -984,7 +984,7 @@
     ],
     [
       dnl not found, check MIT
- AC_CHECK_HEADER(gssapi/gssapi.h,
+ AC_CHECK_HEADER(gssapi/gssapi_generic.h,
         [
           dnl found in the given dirs

This file exists in the 1.5.3 and 1.6.3 versions of mit-krb5 and doesn't exist in the 0.7.2/1.1 versions of heimdal.

Just a suggestion - realise there are many distros to take into account here.

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2008-04-07 22:25

Message:
Logged In: YES
user_id=1110
Originator: NO

case closed, thanks!

----------------------------------------------------------------------

Comment By: Michal Marek (mmarek)
Date: 2008-04-07 11:28

Message:
Logged In: YES
user_id=1496546
Originator: NO

I just committed the fix, thanks for verifying!

----------------------------------------------------------------------

Comment By: Daniel Black (grooverdan)
Date: 2008-04-05 02:22

Message:
Logged In: YES
user_id=612034
Originator: YES

Michal's patch also works for me.

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2008-04-04 16:42

Message:
Logged In: YES
user_id=1110
Originator: NO

Michal Marek just posted a possible fix for this problem on the curl-users
list, can you see if that's a working fix for you:

http://curl.haxx.se/mail/archive-2008-04/0007.html

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1934543&group_id=976
Received on 2008-04-07

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET