From owner-freebsd-bugs Fri Feb 11 17:12:18 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by builder.freebsd.org (Postfix) with ESMTP id 099A83FD5 for ; Fri, 11 Feb 2000 17:12:16 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA40853; Fri, 11 Feb 2000 17:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Fri, 11 Feb 2000 17:10:02 -0800 (PST) Message-Id: <200002120110.RAA40853@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Brian Somers Subject: Re: bin/16619: Enhancement to trimdomain library routine in libutil Reply-To: Brian Somers Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/16619; it has been noted by GNATS. From: Brian Somers To: pirzyk@hotmail.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG, brian@hak.lan.Awfulhak.org Subject: Re: bin/16619: Enhancement to trimdomain library routine in libutil Date: Fri, 11 Feb 2000 08:46:36 +0000 > >Number: 16619 > >Category: bin > >Synopsis: trimdomain does not handle peer domains [.....] > >Description: > > when rsh/ssh/telnet into a host in a peer domain, the hostname is > greater than UT_HOSTNAMELEN and so the IP number gets put into the > wtmp file. To releave this, we wanted the domain in common part > to be parsed out. i.e if I am on snoopy.foo.example.com and want > to login to woodstock.bar.example.com the finger info should show > on woodstock me logged in from snoopy.foo [.....] No, this is a bad idea. Last time I was in there, I actually implemented this and realised why.... $ hostname confusion.co.uk.FreeBSD.org $ slogin freefall.FreeBSD.org Freefalls logs are now garbage. This is why name resolution doesn't work this way any more either. -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message