Sanity check, example in users man page
Alan Buxey
A.L.M.Buxey at lboro.ac.uk
Thu Sep 3 20:33:16 CEST 2009
Hi,
> >From users man page:
>
> EXAMPLES
> bob User-Password == "hello"
>
> Requests containing the User-Name attribute, with value "bob",
> will be authenticated using the password "bob". There are no
> reply items, so the reply will be empty.
>
>
> Surely this is incorrect - right? Should this not read:
> "... will be authenticated using the password "hello".
>
>
> Assuming I'm correct, this is my excuse for taking so long to grasp some
> of the concepts of FR, unlang, etc. I think there are several doc
> errors / typos that are confusing me....
what version are you actually looking at? your example predates
2.x of the code....and only 2.x of the code has unlang etc.
the current doc (man 5 users) states
bob Cleartext-Password := "hello"
Requests containing the User-Name attribute, with value "bob", will be authenticated
using the "known good" password "hello". There are no reply items, so the reply will
be empty.
but yes - the text you have is wrong..... it is, indeed password "hello" - its
fairly obvious.
from the text i'd say you've got a document that came with version 1.0.2 of the code?
alan
More information about the Freeradius-Users
mailing list