(RADIATOR) Double authentication / if-then condition

Thomas.Krumm at tesion.de Thomas.Krumm at tesion.de
Wed Feb 6 06:43:36 CST 2002


Hi,
I have a really tricky one, hope that someone has a hint for me ;)

I have two types of users who want to access our Internet Dial Up Services
under the same dial up number. One group is dialling in from within our
telephone-network, the other ones from outside. Users from within should be
given a lower tariff and therefore not only the username/password needs to
be checked but also the calling-station-id to make sure that these users are
actually calling from within our telephone-network. Username/Password along
with a flag that marks the user as one who has to call only from "within"
are stored in a LDAP Server, while the range of valid "within" phone-numbers
is stored in a separate flat file. 
Now the question is, how do I do the authentication? I'm looking for
something like an if clause such that if user/password are ok and the user
is marked in the LDAP as "has to call from within", then check if
called-station id matches with an entry in the phone-numbers file.
I know that I can set up search filters in LDAP to search for the users with
the "within" flag, but how could I set up that if-condition?
Any help is gladly appreciated 

-Thomas

===
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