]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
doc: add detailed verification output and radclient test command
authortharkadharshana <tharkadharshana@gmail.com>
Thu, 15 Jan 2026 03:24:38 +0000 (08:54 +0530)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 15 Jan 2026 13:18:40 +0000 (08:18 -0500)
doc/antora/modules/tutorials/pages/new_user.adoc

index d558a5a717ce176efedb971cfabd3e14ea827a9a..878b4fc539154c2b9a2601fbcd82592651798854 100644 (file)
@@ -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.