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

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

Re: [Help-gnu-radius] Help with users file


From: Sergey Poznyakoff
Subject: Re: [Help-gnu-radius] Help with users file
Date: Fri, 18 Jan 2002 17:11:39 +0200

> denis Crypt-Password = "5171fc512212c4068b214bc4f07883c4",
>         Fall-Through = Yes
[..]
> Jan 18 09:25:08: Main.error: /usr/local/etc/raddb/users:6: parse error
> Jan 18 09:25:08: Main.error: discarding user `denis'

There are actually two errors here: a syntax and a semantic one:
 1. The entry is missing RHS (aka reply-pairs).
 2. Fall-Through can reasonably be used only in RHS.

Therefore, the correct entry would be

denis Crypt-Password = "<password-value>"
      Fall-Through = Yes

> DEFAULT Service-Type = Authenticate-Only,
>         Simultaneous-Use = 1

Likewise. The correct entry will read

DEFAULT NULL
        Service-Type = Authenticate-Only,
        Simultaneous-Use = 1

(NULL stands for an empty pairlist).

Actually, in your case this one entry would do the job:

denis Auth-Type = Crypt-Local,
                Password = "<password-value>"
      Service-Type = Authenticate-Only,
                Simultaneous-Use = 1

> PS: I computed the MD5 password with "echo password | md5sum".

This won't work. md5sum generates MD5 hashes. A hashed password, on
the other hand, contains both the hash and the seed used to generate
it.

By the way, you might wish to take a look at the documentation. It
is available at http://www.gnu.org/software/radius/manual.

Regards,
Sergey



reply via email to

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