[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnu-radius] Expiration attribute
From: |
Sergey Poznyakoff |
Subject: |
Re: [Help-gnu-radius] Expiration attribute |
Date: |
Tue, 02 Jul 2002 23:46:23 +0300 |
> Expiration was understand but I've got OK to connect.
> What is wrong ?
It's a bug. Thanks for noticing. To correct:
Index: radiusd/auth.c
===================================================================
RCS file: /cvsroot/radius/radius/radiusd/auth.c,v
retrieving revision 1.47.2.2
diff -p -u -w -b -r1.47.2.2 auth.c
--- radiusd/auth.c 30 May 2002 14:06:41 -0000 1.47.2.2
+++ radiusd/auth.c 2 Jul 2002 20:41:07 -0000
@@ -941,7 +941,7 @@ sfn_validate(m)
/*
* Validate the user
*/
- if ((rc = check_expiration(m)) >= 0) {
+ if ((rc = check_expiration(m)) == AUTH_OK) {
rc = rad_check_password(radreq,
m->user_check, m->namepair,
&m->user_msg,
Regards,
Sergey