GSSAPI on FreeBSD 4.5

Austin Gonyou austin at coremetrics.com
Tue Apr 23 12:09:06 EDT 2002


You need to make sure you're using autoconf 2.5x, 2.53 I believe is the
latest stable. VERY important.

On Tue, 2002-04-23 at 09:12, Marc wrote:
> 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
> Marc
> 
> ________________________________________________
> Kerberos mailing list           Kerberos at mit.edu
> http://mailman.mit.edu/mailman/listinfo/kerberos
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: austin at coremetrics.com

"It is the part of a good shepherd to shear his flock, not to skin it."
Latin Proverb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://mailman.mit.edu/pipermail/kerberos/attachments/20020423/d90e91eb/attachment.bin


More information about the Kerberos mailing list