*BSD News Article 54304


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!pravda.aa.msen.com!news1.best.com!sgigate.sgi.com!enews.sgi.com!lll-winken.llnl.gov!uwm.edu!chi-news.cic.net!newsfeed.internetmci.com!in2.uu.net!despina.neptune.com!news
From: tom@neptune.com (Tom Techoueyres)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Radius on BSDI
Date: Thu, 02 Nov 1995 21:45:41 GMT
Organization: Neptune Internet Services
Lines: 72
Message-ID: <47bef0$els@despina.neptune.com>
NNTP-Posting-Host: luna.neptune.com
X-Newsreader: Forte Free Agent 1.0.82

Hi,

I'm running radius on BSDI 2.0.1. The radiusd is working. When
connecting through a Livingston Portmaster, authentification is done
with radius on the BSDI machine. It could not authenticate the
username that I have in the users file, and when I checked the radius
logfile I got the following:

Thu Nov  2 15:18:01 1995: Acct: Couldn't open file
/var/adm/radacct/portmaster1.orlando.neptune.com/detail
Thu Nov  2 15:18:03 1995: Dropping duplicate: from
portmaster1.orlando.neptune.com - ID: 221
Thu Nov  2 15:18:10 1995: Dropping duplicate: from
portmaster1.orlando.neptune.com - ID: 221
Thu Nov  2 15:18:16 1995: Dropping duplicate: from
portmaster1.orlando.neptune.com - ID: 221
Thu Nov  2 15:18:22 1995: Dropping duplicate: from
portmaster1.orlando.neptune.com - ID: 221
Thu Nov  2 15:18:28 1995: Dropping duplicate: from
portmaster1.orlando.neptune.com - ID: 221

By reading the radius.install file I found out that the reason I'm
getting the duplicate messages is either a loaded host (which in my
case is not) or slow password lookup (that could be the case).
So to fix the problem it suggested to create a buildm and radius.dbm,
but when I run "make dbm" in the radius source file I get the
following errors:

galatea# make dbm 
cc -O -DNOSHADOW -c ./radiusd.c
./radiusd.c: In function send_reject:
./radiusd.c:1137: warning: argument #1: argument passing between
incompatible pointer types
./radiusd.c: In function send_challenge:
./radiusd.c:1218: warning: argument #1: argument passing between
incompatible pointer types
./radiusd.c: In function send_pwack:
./radiusd.c:1268: warning: argument #1: argument passing between
incompatible pointer types
./radiusd.c: In function send_accept:
./radiusd.c:1378: warning: argument #1: argument passing between
incompatible pointer types
./radiusd.c: In function calc_digest:
./radiusd.c:1476: warning: argument #1: argument passing between
incompatible pointer types
./radiusd.c:1477: warning: argument #1: argument passing between
incompatible pointer types
./radiusd.c:1483: warning: argument #1: argument passing between
incompatible pointer types
./radiusd.c:1487: warning: argument #1: argument passing between
incompatible pointer types
./radiusd.c:1513: warning: argument #1: argument passing between
incompatible pointer types
./radiusd.c:1514: warning: argument #1: argument passing between
incompatible pointer types
./radiusd.c:1514: warning: argument #2: argument passing between
incompatible pointer types
./radiusd.c:1517: warning: argument #1: argument passing between
incompatible pointer types
./radiusd.c:1517: warning: argument #2: argument passing between
incompatible pointer types
cc -O -DNOSHADOW -c ./dict.c
cc -O -DNOSHADOW -DDBM -o usersdbm.o -c ./users.c
./users.c:44: dbm.h: No such file or directory
*** Error code 1


I would appreciate any help or suggestions.

Thank You