(RADIATOR) logging unstripped accounting
Hugh Irvine
hugh at open.com.au
Wed Mar 13 16:44:21 CST 2002
Hello Fred -
You can also use an AuthBy INTERNAL for this.
And yes, you must have an AuthBy clause in a Realm or Handler.
regards
Hugh
On Thu, 14 Mar 2002 01:24, Fred Albrecht wrote:
> Nevermind, solved the problem. Seems like Radiator does not like the empty
> handler. Added the AuthBy NISPLUS to the empty handler and it worked.
> Don't know why it should though, since the authby won't be used to
> authenticate. hmmm ...???
>
> -----Original Message-----
> From: Fred Albrecht
> Sent: 13 March 2002 11:53 AM
> To: radiator at open.com.au
> Subject: (RADIATOR) logging unstripped accounting
>
>
> Hi
>
> I have a situation where I need to authenticate a user without his domain
> name, but I need to store the accounting info with the domain name. My
> problem is that if I do a rewrite of the username to strip the domain, then
> the accounting info also gets stripped. I've tried getting around this by
> specifying another handler to take care of the start and stop records, but
> then the connection to my database dies and no further accounting goes to
> the db.
>
> The test config to handle the start record, no auth needed:
> <Handler Realm=domain, Acct-Status-Type=Start>
> AcctLogFileName %L/%R/%d-%m-%y.log
> </Handler>
>
> And then the actual authentication:
> <Handler Realm=domain>
> <AuthBy NISPLUS>
> Table passwd.org_dir
> Query [name=%U]
> AuthFieldDef passwd,Encrypted-Password,check
> </AuthBy>
> <AuthBy DBFILE>
> Filename %D/users.db
>
> # Force it to use DB_File
> DBType DB_File
> </AuthBy>
> <AuthBy FILE>
> Filename %D/users
> StripFromReply User-Category
> </AuthBy>
>
> AcctLogFileName %L/%R/%d-%m-%y.log
> </Handler>
>
> The error I get is:
> Wed Mar 13 11:41:15 2002: ERR: do failed for 'delete from RADONLINE where
> NASIDENTIFIER='196.80.1.1' and NASPORT=01': ORA-03113: end-of-file on
> communication channel (DBD ERROR: OCIStmtExecute).
>
> Can anyone help?
>
> :)
>
> fred
> ===
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.
> ===
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
More information about the radiator
mailing list