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 [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.