GSSAPI on FreeBSD 4.5

Someone please at nospam.net
Mon Apr 22 11:39:07 EDT 2002


Hello,

I am trying to compile OpenSSH 3.1p1 with the GSSAPI into it so I 
applied the patches like that:

cd openssh-3.1p1

patch < openssh-mit-krb5-20020326.diff
patch < openssh-3.1p1-gssapi-20020325.diff

autoreconf
./configure --with-kerberos5 --sysconfdir=/etc/ssh

First I had to copy over gss-serv.c, gss-genr.c and kexgss.c from the 
compilation of GSSAPI in OpenSSH on my linux box because somehow patch 
didn't create those files on FreeBSD (know why ???). So then I did a:

make

At the stage when I build it with make I get some problems, that's the 
output:

(cd openbsd-compat && make)
gcc -o ssh ssh.o sshconnect.o sshconnect1.o sshconnect2.o sshtty.o 
readconf.o clientloop.o -L. -Lopenbsd-compat/  -L/usr/local/lib -lssh 
-lopenbsd-compat -lutil -lz  -lcrypto -lcrypt  -lkrb5 -ldes -lcom_err 
-lasn1 -lroken -lgssapi
gcc -o sshd sshd.o auth.o auth1.o auth2.o auth-chall.o auth2-chall.o 
auth-rhosts.o auth-options.o auth-krb4.o auth-krb5.o auth-pam.o 
auth2-pam.o auth-passwd.o auth-rsa.o auth-rh-rsa.o auth-sia.o sshpty.o 
sshlogin.o loginrec.o servconf.o serverloop.o md5crypt.o session.o 
groupaccess.o auth-skey.o auth-bsdauth.o gss-serv.o -L. 
-Lopenbsd-compat/  -L/usr/local/lib -lssh -lopenbsd-compat   -lutil -lz 
  -lcrypto -lcrypt  -lkrb5 -ldes -lcom_err -lasn1 -lroken -lgssapi
servconf.o: In function `fill_default_server_options':
/usr/local/source/openssh-3.1p1/servconf.c(.text+0x4c7): undefined 
reference to `krb_get_default_keyfile'
*** Error code 1

Stop in /usr/local/source/openssh-3.1p1.

Any ideas what that could be ???

Regards




More information about the Kerberos mailing list