]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Add sample "send ...Get..." sections to TACACS virtual server
authorNick Porter <nick@portercomputing.co.uk>
Wed, 26 Jul 2023 09:34:04 +0000 (10:34 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Wed, 26 Jul 2023 13:39:18 +0000 (14:39 +0100)
raddb/sites-available/tacacs

index 097bbe97166cc7e258257d98310551ea6890fc09..18101fa155d7a45462fbe780323db4b7d8230f77 100644 (file)
@@ -330,6 +330,18 @@ server tacacs {
                &reply.Server-Message := "Failed login!"
        }
 
+       #
+       #  With ASCII methods, GetUser and GetPass typically send a prompt
+       #  for the client to present to the user.
+       #
+       send Authentication-GetUser {
+               &reply.Server-Message := "Username:"
+       }
+
+       send Authentication-GetPass {
+               &reply.Server-Message := "Password:"
+       }
+
        #
        #  ## Authentication-Continue
        #