Salut Gildas -
Ca va la vie?
There are example SQL configuration files and table creation scripts
in the goodies directory of the distribution. Aslo have a look at
section 6.25 in the reference manual.
For dealing with Calling-Station-Id and/or Called-Station-Id, you
would use Handlers, something like this:
# Handler to check Called-Station-Id
<Handler Called-Station-Id = nnnnnn>
.....
</Handler>
# Handler to check Calling-Station-Id
<Handler Calling-Station-Id = mmmmm>
.....
</Handler>
# Handler to check both
<Handler Called-Station-Id = nnnnn, Calling-Station-Id = mmmm>
.....
</Handler>
Note that you should not use both Handlers and Realms in the same
configuration file and the order of Handlers is important as they are
scanned in the order of appearance in the configuration file.
This topic has also been discussed often on the mailing list, so you
could have a look at the archive site and do a search.
hth
Hugh
At 3:41 PM +0200 16/8/00, Gildas PERROT wrote:
>Hi,
>
>I would to know how to :
>
>- insert accounting (at least, IP and calling number) in a SQL database
>- define different authenticating methods according the calling number or
>the called number or the username
>
>Thanks in advance for your help. Gildas.
>---
>Gildas PERROT, [EMAIL PROTECTED]
>Fluxus, 37 avenue du Colonel Pierre Avia, 75015 Paris __o
>http://www.fluxus.net ---_`\<,_
>"En 2000, FranceNet change de nom et devient Fluxus" ----- (_)/ (_)
>
>
>===
>Archive at http://www.starport.net/~radiator/
>Announcements on [EMAIL PROTECTED]
>To unsubscribe, email '[EMAIL PROTECTED]' with
>'unsubscribe radiator' in the body of the message.
--
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.