Bug 16350

Summary: Kerberized rlogind no longer compiles
Product: Base System Reporter: Garrett A. Wollman <wollman>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-CURRENT   
Hardware: Any   
OS: Any   

Description Garrett A. Wollman 2000-01-25 16:30:01 UTC
	The rlogind Makefile no longer even attempts to compile the
	Kerberized version.  This was broken in rev. 1.13 of the
	Makefile and in rev. 1.27 of rlogind.c.  It appears that rshd
	has been similarly butchered.

Fix: 

Copy /usr/libexec/rlogind from an (unbroken) 3.x system, or
	switch to Kerberos v5 and use /usr/local/sbin/rlogind instead
	(not yet an option for us).


	Our final fix:
	Revert to revs 1.12 and 1.26 of Makefile and rlogind.c,
	respectively, and then delete encrypt.c from the SRCS.
How-To-Repeat: 
	cd /usr/src/libexec/rlogind MAKE_KERBEROS4=YES; make all install
	/usr/libexec/rlogind -k -x
	Jan 25 11:13:33 my.host.name rlogind[4696]: usage: rlogind [-Dalnx]
Comment 1 stolz 2001-08-18 17:17:02 UTC
Cc: wollman@khavrinen.lcs.mit.edu

This PR can be closed

Reason: Not reproducable in 4.4-PRE

monster [18:12:04]# MAKE_KERBEROS4=YES make all install
Warning: Object directory not changed from original /opt/src/libexec/vs.rlogind
cc -O -pipe -march=pentium -Wall -DINET6    -c rlogind.c
cc -O -pipe -march=pentium -Wall -DINET6     -o rlogind rlogind.o  -lutil
gzip -cn rlogind.8 > rlogind.8.gz
install -c -s -o root -g wheel -m 555   rlogind /usr/libexec
install -c -o root -g wheel -m 444 rlogind.8.gz  /usr/share/man/man8
monster [18:12:22]# /usr/libexec/rlogind -k -x
rlogind: Can't get peer name of remote host: Socket operation on non-socket.

However, I suggest that the submitter double-checks this.
Comment 2 Poul-Henning Kamp freebsd_committer freebsd_triage 2001-08-20 19:58:48 UTC
State Changed
From-To: open->closed

see log.