Date: Wed, 3 Jun 1998 22:01:24 +0200 From: Eivind Eklund <eivind@yes.no> To: Cory Kempf <ckempf@singularity.enigami.com>, freebsd-current@FreeBSD.ORG Subject: Re: trimdomain? Message-ID: <19980603220124.63718@follo.net> In-Reply-To: <x7vhqixrge.fsf_-_@singularity.enigami.com>; from Cory Kempf on Wed, Jun 03, 1998 at 02:36:49PM -0400 References: <x7vhqixrge.fsf_-_@singularity.enigami.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <amurai@FreeBSD.ORG> -----
From: Atsushi Murai <amurai@FreeBSD.ORG>
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 <amurai@spec.co.jp>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980603220124.63718>
