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-...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|