From owner-freebsd-current Wed Jun 3 13:02:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA19038 for freebsd-current-outgoing; Wed, 3 Jun 1998 13:02:21 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA18981 for ; Wed, 3 Jun 1998 13:02:08 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id UAA21225; Wed, 3 Jun 1998 20:02:00 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id WAA03839; Wed, 3 Jun 1998 22:01:25 +0200 (MET DST) Message-ID: <19980603220124.63718@follo.net> Date: Wed, 3 Jun 1998 22:01:24 +0200 From: Eivind Eklund To: Cory Kempf , freebsd-current@FreeBSD.ORG Subject: Re: trimdomain? References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: ; from Cory Kempf on Wed, Jun 03, 1998 at 02:36:49PM -0400 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jun 03, 1998 at 02:36:49PM -0400, Cory Kempf wrote: > > > So, I tried to shift to elf, and totally hosed me system. It now seems > OK again (doing a.out), except that in login.c, there is a call to > trimdomain. > > Unfortunately, when it builds, it can't find that call in the shared libs. > Local logins work, but telnets fail. > > For the moment, I have commented that line out, and it seems to work, but > I would like to find the real problem. Anyone know where that code is? > > I looked in the source code search web page, but nothing came out. Here's the only commit that seems relevant. I guess you should update libutil. ----- Forwarded message from Atsushi Murai ----- From: Atsushi Murai Date: Mon, 1 Jun 1998 01:47:05 -0700 (PDT) Message-Id: <199806010847.BAA12337@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/lib/libutil libutil.h logwtmp.c src/usr.bin/login login.c Sender: owner-cvs-committers@FreeBSD.ORG amurai 1998/06/01 01:47:05 PDT Modified files: lib/libutil libutil.h logwtmp.c usr.bin/login login.c Log: Trim a domain part for wtmp as same as showed by "netstat -r". Here is a some example for avoiding a confusion. It asssumes a logged host domain is "spec.co.jp". All example is longer than UT_HOSTNAMELEN value. 1) turbo.tama.spec.co.jp: 192.19.0.2 -> trubo.tama 2) turbo.tama.foo.co.jp : 192.19.0.2 -> 192.19.0.2 3) specgw.spec.co.jp : 202.32.13.1 -> specgw Submitted by: Atsushi Murai Revision Changes Path 1.15 +2 -2 src/lib/libutil/libutil.h 1.6 +40 -1 src/lib/libutil/logwtmp.c 1.35 +5 -1 src/usr.bin/login/login.c ----- End forwarded message ----- Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message