Just after I sent this message, I decided to see whether Kerberos4 support
would work anyway, even without the krb.h. I get
ssh -v sun gives...
*******************************************
debug: Trying Kerberos authentication.
debug: Kerberos V4 authentication accepted.
debug: Kerberos V4 challenge successful.
*******************************************
This is encouraging (sort of)
However, it still does not appear to be working properly, as I cannot read
my files (don't have the appropriate permissions). This happens when I
have not been properly authenticated. Oh, yes "KerberosTgtPassing yes" is
still a "Bad configuration option", though "KerberosAuthentication yes" is
now apparently OK.
Can anyone suggest what to try now? Is the missing krb.h part of the
problem?
Best regards, Faheem Mitha.
On Thu, 14 Sep 2000, Faheem Mitha wrote:
>
> Dear people,
>
> Openssh appears to have the option to compile with krb4 support, judging
> by the config script. There is a line that says
>
> ac_help="$ac_help
> --with-kerberos4=PATH Enable Kerberos 4 support"
>
> I assume this means add the flag
>
> --with-kerberos4=PATH
>
> to ./configure.
>
> However, I have the KTH version of KERBOROS, which has files in
> idiosyncatic places. All the stuff is in /usr/athena, with subdirectories
> like lib and include. krb.h is in /usr/athena/include, but the script
> complains it cannot find it when I set PATH=/usr/athena. I get the
> following output from configure which seems relevant. I have no idea what
> "checking for main in -lkrb... yes" means.
>
> ******************************************************************
> checking for krb.h... no
> checking for main in -lkrb... yes
> configure: warning: Cannot find krb.h, build may fail
> ******************************************************************
>
> I don't understand these scripts well enough to understand what is going
> on. Can someone tell me what I need to do. The relevant area of configure
> appears below. I hope drastic changes will not be necessary.
>
> By the way, I have no idea what the KRB4_MSG="no" means. My impression is
> that it has no functional part, but I could be wrong.
>
> ********************************************************************
> # Check whether user wants Kerberos support
> KRB4_MSG="no"
> # Check whether --with-kerberos4 or --without-kerberos4 was given.
> if test "${with_kerberos4+set}" = set; then
> withval="$with_kerberos4"
>
> if test "x$withval" != "xno" ; then
>
> if test "x$withval" != "$xyes" ; then
> CFLAGS="$CFLAGS -I${withval}/include"
> LDFLAGS="$LDFLAGS -L${withval}/lib"
> if test ! -z "$need_dash_r" ; then
> LDFLAGS="$LDFLAGS
> -R${withval}/lib"
> fi
> if test ! -z "$blibpath" ; then
>
> blibpath="$blibpath:${withval}/lib"
> fi
> else
> if test -d /usr/include/kerberosIV ; then
> CFLAGS="$CFLAGS
> -I/usr/include/kerberosI
> fi
> fi
>
> for ac_hdr in krb.h
> ***************************************************************************
>
> I'd appreciate any help.
>
> Faheem.
>
>