Re: OpenSSH+GSSAPI & HP/UX 11i...

This is a discussion on Re: OpenSSH+GSSAPI & HP/UX 11i... within the OpenSSH Development forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --------------040606030101020806030603 Content-Type: text/plain; charset=us-ascii; format=flowed Content-...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-24-2005
Darren Tucker
 
Posts: n/a
Default Re: OpenSSH+GSSAPI & HP/UX 11i...

This is a multi-part message in MIME format.
--------------040606030101020806030603
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Douglas E. Engert wrote:
> This might be a little late, but I went back to see why we do not have
> this problem with HP.
>
> In the install for krb5, we add a symlink gssapi.h -> ./gssapi/gssapi.h
> in the krb5 include directory.
>
> # On HP there is a /usr/include/gssapi.h we need to find the
> # /krb5/gssapi/gssapi.h first.
> # OpenSSH depends on this
> ln -s ./gssapi/gssapi.h $dest/krb5/include/gssapi.h


Would something like the attached change to configure fix it (without
breaking anything else...)?

(Need to rebuild configure with "autoreconf" after applying the patch,
obviously.)

--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

--------------040606030101020806030603
Content-Type: text/plain;
name="openssh-gssapi-configure.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="openssh-gssapi-configure.patch"

Index: configure.ac
================================================== =================
RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/configure.ac,v
retrieving revision 1.247
diff -u -p -r1.247 configure.ac
--- configure.ac 24 Feb 2005 01:12:35 -0000 1.247
+++ configure.ac 24 Feb 2005 22:35:58 -0000
@@ -225,6 +225,7 @@ main() { if (NSVersionOfRunTimeLibrary("
AC_DEFINE(USE_BTMP, 1, [Use btmp to log bad logins])
check_for_hpux_broken_getaddrinfo=1
check_for_conflicting_getspnam=1
+ check_gssapi_gssapi_h_first=1
LIBS="$LIBS -lsec"
AC_CHECK_LIB(xnet, t_error, ,AC_MSG_ERROR([*** -lxnet needed on HP-UX - check config.log ***]))
;;
@@ -2490,7 +2491,13 @@ AC_ARG_WITH(kerberos5,
fi
fi

- AC_CHECK_HEADERS(gssapi.h gssapi/gssapi.h)
+ if test "x$check_gssapi_gssapi_h_first" = "x1"; then
+ AC_CHECK_HEADERS(gssapi/gssapi.h, ,
+ [ AC_CHECK_HEADERS(gssapi.h) ])
+ else
+ AC_CHECK_HEADERS(gssapi.h, ,
+ [ AC_CHECK_HEADERS(gssapi/gssapi.h) ])
+ fi
AC_CHECK_HEADERS(gssapi_krb5.h gssapi/gssapi_krb5.h)
AC_CHECK_HEADERS(gssapi_generic.h gssapi/gssapi_generic.h)


--------------040606030101020806030603
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://www.mindrot.org/mailman/listi...enssh-unix-dev

--------------040606030101020806030603--

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:23 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0