From: tharkadharshana Date: Thu, 15 Jan 2026 03:24:38 +0000 (+0530) Subject: doc: add detailed verification output and radclient test command X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf215cee242df0dab72dfe3e69205c802b2db8af;p=thirdparty%2Ffreeradius-server.git doc: add detailed verification output and radclient test command --- diff --git a/doc/antora/modules/tutorials/pages/new_user.adoc b/doc/antora/modules/tutorials/pages/new_user.adoc index d558a5a717c..878b4fc5391 100644 --- a/doc/antora/modules/tutorials/pages/new_user.adoc +++ b/doc/antora/modules/tutorials/pages/new_user.adoc @@ -49,11 +49,23 @@ If the server was successful, look for a message similar to: --------------------------------------------------------------------- (0) files : users: Matched entry bob at line 1 (0) [files] = ok +(0) files - Password.Cleartext := hello +(0) files - Reply-Message := Hello, %{User-Name} +(0) files - | %{User-Name} +(0) files - | --> bob +(0) files (ok) --------------------------------------------------------------------- These messages indicate which entries in the file were used to match the incoming request. +To test the server, you can use the following `radclient` command: + +[source, bash] +------------ +echo 'User-Name = "bob", User-Password = "hello"' | radclient -x 127.0.0.1 auth testing123 +------------ + If the server does not see the packet, then double-check the IP address and port to which the client is sending the request.