(RADIATOR) Double authentication / if-then condition
Hugh Irvine
hugh at open.com.au
Wed Feb 6 20:42:11 CST 2002
Hello Thomas -
I think you will need to do this with a PostAuthHook.
Have a look at the example hooks in the file "goodies/hooks.txt".
regards
Hugh
On Wed, 6 Feb 2002 23:43, Thomas.Krumm at tesion.de wrote:
> 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.
--
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