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

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

Re: [Help-gnu-radius] file "users" configure


From: Sergey Poznyakoff
Subject: Re: [Help-gnu-radius] file "users" configure
Date: Fri, 15 Nov 2002 10:58:42 +0200

> The syntax in the file raddb/users is quite unclear, sometimes I see lines 
> end with a comma, sometimes they don't. Actually, I just noticed the comma 
> really matters in some case.

Here's a short summary of the syntax:

The file raddb/users consists of entries, called "user profiles".
Each user profile consists of three parts, separated by any amount
of whitespace:

LABEL  LHS RHS

where:
  LABEL -- is a word tagging this particular profile
  LHS and RHS are two "pair-lists". (the acronyms stand for
  'left-hand side' and 'right-hand side'). Sometimes these
  are also called 'check-pairs' and 'reply-pairs', correspondingly.

"Pair-list" is a list of "attribute-value pairs", delimited by
commas.

"Attribute-value pair" has the following syntax:

  ATTRIBUTE-NAME OP VALUE

Where
  ATTRIBUTE-NAME is the name of the attribute, assigned to it in
  the dictionary file.
  OP is a comparison operation. The only OP allowed in RHS is '='.
  In LHS, it can be any of:
    =, !=, <, <=, >, >=
  with usual meanings associated with these symbols.
  VALUE is a value of the attribute. 
   
So, a comma delimits parts of a pair-list, while whitespace delimits
parts of a profile. Notice that unlike other radiuses GNU Radius
requires that all three parts of a user profile be present. If you
need to specify an empty pair-list, place a word NULL in place of it.

You will find fuller description of the syntax of various
configuration files in the accompanying documentation. It is
available online at

          http://www.gnu.org/software/radius/manual

Regards,
Sergey




reply via email to

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