Hi all,
I want to set Calling-Station-Id in my user database (SQL, LDAP, etc.) from
a list of phone-numbers (i.e., more than one).
How can I insert this attribute and check it in the AuthBy clause?
I've read this post in the mailing list:
<<<<<<<<<<<<<
On May 10, 2:04pm, Dialup USA Sales Dept wrote:
> Subject: calling-station id attribute
> I have to add a large amount of numbers to the Calling-Station-Id attribute.
>
> It would be nice if you could have this attribute call a file in which you
> can place all
> the numbers in it, one per line that you want to allow access from.
>
> Would it significantly slow down radius server if I were to add 50-75
> numbers to
> that one line in the format of /1234567|7654321|2343243|2343423/
I dont think it will slow it down much. The regexp code in perl is pretty good.
Careful examiniation of the numbers may allow you to find some patterns that
can be expressed with a simpler regexp. For example, if they all start with a
common prefix, you could do something like this:
/^123(111|222|333|444|555)/
>>>>>>>>>>
Is this the right way?
Thanks,
Daniel Ter�n.
===
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.