(RADIATOR) auth with flat/acct with mysql

Hugh Irvine hugh at open.com.au
Mon Dec 17 20:39:20 CST 2001


Hello Angel -

This is very easy to do:

# define AuthBy clauses

<AuthBy FILE>
	Identifier CheckFILE
	Filename %D/.....
	.....
</AuthBy>

<AuthBy SQL>
	Identifier SQLAccounting
	DBSource ....
	DBUsername .....
	DBAuth .....

	# empty AuthSelect to disable authentication
	AuthSelect

	AccountingTable ACCOUNTING
	AcctColumnDef .....
	.......
</AuthBy>

# define Realm(s) or Handler(s)

<Realm ....>
	AuthByPolicy ContinueAlways
	AuthBy SQLAccounting
	AuthBy CheckFILE
	.....
</Realm>


regards

Hugh


On Tue, 18 Dec 2001 03:42, Angel Bustos wrote:
> Hi all,
>
> In my first instalation, I would have authentication with a flat text users
> File  but the accounting making online inserts in a MySQL db.
> I´ve read the ref.html and i´ve found examples of one or another <AuthBy>
> clauses; it seems that <AuthBy SQL> example includes both authentication
> and accounting forcing  to an SQL authentication.
>
> Should I concatenate two <AuthBy FILE>  and <AuthBy SQL> schemes?
> could you illustrate with some short example?
>
> thanks in advance!
> regards,
>
>
> Angel Bustos
> email: angelbustos at brujula.net
>
> ___________________________________________________________________________
>_
>
> Conéctese Gratis a Internet desde http://www.brujula.net/gratis
> ===
> 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