help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnu-radius] Expiration attribute


From: Cornel Cristea
Subject: [Help-gnu-radius] Expiration attribute
Date: Tue, 2 Jul 2002 18:10:44 +0300

Hi

I tried to use "Expiration" on accounts. In SQL table "attrib" I have
someuser, Expiration, Jul 1 2002, =
Testing that I had:

./radauth -v -slocalhost:foobar someuser somepass
server 127.0.0.1:1645
send code 1 (RT_AUTHENTICATION_REQUEST)
      send: User-Name = someuser
      send: Password = somepass
      send: NAS-Port-Id = 0
recv code 2 (RT_AUTHENTICATION_ACK)
      recv: Service-Type = Framed-User
      recv: Framed-Protocol = PPP
      recv: Reply-Message = Password Has Expired\015\012
expect 2
got    2
PASS

Expiration was understand but I've got OK to connect.
What is wrong ?
I tried in dictionary to specify the aditivity and flags like:
ATTRIBUTE       Expiration                21    date    - [L-----]
with + and = as aditivity with no results.
In auth.c it seems that if the password has expired : result=AUTH_FAILED
(line 700)

Regards
Cornel Cristea




reply via email to

[Prev in Thread] Current Thread [Next in Thread]