Date: Sat, 14 Mar 1998 01:42:51 -0500 (EST) From: robert@cyrus.watson.org To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/5999: kadmin bug -- crypt not linked correctly, fails to work Message-ID: <199803140642.BAA27335@fledge.watson.org>
next in thread | raw e-mail | index | archive | help
>Number: 5999 >Category: bin >Synopsis: kadmin incorrectly linked in 2.2-STABLE >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 13 22:50:01 PST 1998 >Last-Modified: >Originator: Robert Watson >Organization: >Release: FreeBSD 2.2.5-STABLE i386 >Environment: 2.2-STABLE, KerberosIV Using the KTH Kerberos4 recently added to FreeBSD. KERBEROS4 defined in /etc/make.conf. Many machines. >Description: On attempting to use kadmin, get a linking error. Specifically, DES is not linked, so crypt cannot be used by Kerberos. This is a serious error as it is now not possible to create/delete/modify kerberos identities using the kadmin administrative tool. This is not ideal if you want to add a user, say. >How-To-Repeat: cyrus:~> kadmin Welcome to the Kerberos Administration Program, version 2 Type "help" if you need it. kadmin: get robert /usr/libexec/ld.so: Undefined symbol "_crypt" called from kadmin:/usr/lib/libkrb.so.3.0 at 0x200412f8 cyrus:~> Any command that requires authentication fails. >Fix: In src/kerberosIV/usr.bin/kadmin/Makefile, LDADD= -L${ROKENOBJDIR} -lroken -L${SLOBJDIR} -lsl \ -L${ACLOBJDIR} -lacl -L${KADMOBJDIR} -lkadm \ -L${KDBOBJDIR} -lkdb -L${KRBOBJDIR} -lkrb \ -ldes -lcom_err -lreadline should read: LDADD= -L${ROKENOBJDIR} -lroken -L${SLOBJDIR} -lsl \ -L${ACLOBJDIR} -lacl -L${KADMOBJDIR} -lkadm \ -L${KDBOBJDIR} -lkdb -L${KRBOBJDIR} -lkrb \ -ldes -lcrypt -lcom_err -lreadline I have compiled and tested this change on my own machines. I believe that -CURRENT also suffers from this problem, but have not verified it on a recent version of -CURRENT (only until 980107). >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803140642.BAA27335>