*BSD News Article 52403


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!chi-news.cic.net!newsfeed.internetmci.com!news.mathworks.com!panix!ddsw1!news.mcs.net!not-for-mail
From: les@MCS.COM (Leslie Mikesell)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Problem running xtacacs v3.4 on BSDI 2.0
Date: 9 Oct 1995 00:40:45 -0500
Organization: /usr/lib/news/organi[sz]ation
Lines: 24
Message-ID: <45ackt$236@Mars.mcs.com>
References: <451jsi$e6e@zippy.cais.net>
NNTP-Posting-Host: mars.mcs.com

In article <451jsi$e6e@zippy.cais.net>,
Bayardo Alvarez <balvarez@cais.cais.com> wrote:
>
>hello,
>
>I have a problem  running xtacacsd v3.4 on BSDI 2.0 . The xtacacsd 
>stops responding after the first login from the Cisco 4000 router 
>with 10.3 software.   I was not able to run the xtacacsd through i
>inted, but it worked in standalone mode using the command "xtacacsd -s".
>Do you have any suggestion , I appreciate your help.

If it got as far as creating a huge utmp file it is the quirk of
mixing size_t and 64 bit off_t values.  You need to change
the lseek() calls that want to backspace to the record it
just read from something like:
	lseek(fd, (off_t)-sizeof record, SEEK_CUR);
to:
	lseek(fd, -(off_t)sizeof record, SEEK_CUR);

(I happened across a posting by Chris Torek just about the
time I had the same problem).

Les Mikesell
  les@mcs.com