Re: Problem with Expiration-attribute

Sergey Poznyakoff <[email protected]>
Newsgroups gmane.comp.gnu.radius.general
Organization Farlep-Internet
Message-ID <[email protected]>
Olli Karppinen <[email protected]> wrote:

> Hello!
> 
> I'm trying to use Expiration-attribute in my users-file, but it seems that 
> I'm doing something wrong because it does not work. My users-file looks 
> like this:
> 
> test            Auth-Type = Local,
> 		Password = "test"
>                 Expiration = "Jan 25 2005",
>                 Service-Type = Login-User

In this case you should have received the following diagnostics in
your radius.log:

<date> Main.error: /etc/raddb/users:<line>: attribute Expiration not allowed in RHS
<date> Main.error: /etc/raddb/users:21: discarding user `test'

The correct entry will be:

test            Auth-Type = Local,
 		Password = "test",
                Expiration = "Jan 25 2005"
                Service-Type = Login-User

Regards,
Sergey
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.