Hello Christian -
On Thu, 27 Jul 2000, Christian Hammers wrote:
> Hello
>
> I authenticate my users per <Auth LDAP2>. Now I need to reject some of
> them if the current time is before 6pm. The decision which customers these
> are must be fetched out of their LDAP entry.
>
> My problem is that a PreAuthHook does not already know about LDAP and
> a PostAuthHook does not seem to be able to reject the users.
>
In your PostAuthHook you would do something like this:
.....
# set the reply code to Access-Reject
# $rp is the reference to the reply packet
$rp->set_code('Access-Reject');
.....
hth
Hugh
--
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.