Skip to content

Commit

Permalink
document more authorization replies
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Oct 15, 2024
1 parent c0f13d2 commit cbb45e0
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions raddb/sites-available/tacacs
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,8 @@ server tacacs {
#
# ### Send
#
# Note that "follow" is officially deprecated, and is not supported.
#
send Authentication-Pass {
&reply.Server-Message := "Hello %{User-Name}"

Expand Down Expand Up @@ -347,13 +349,39 @@ server tacacs {
#
# ### Send
#
# Add the arguments to whatever the user entered.
#
send Authorization-Pass-Add {
&reply.Authorization-Status := Pass-Add
&reply.Server-Message := "authorization-response-server"
&reply.Data := "authorization-response-data"
&reply.Argument-List := "key1=var1"
}

#
# Replace whatever the user entered with the following arguments
#
send Authorization-Pass-Reply {
&reply.Authorization-Status := Pass-Repl
&reply.Server-Message := "authorization-response-server"
&reply.Data := "authorization-response-data"
&reply.Argument-List := "key1=var1"
}

#
# Reject the request
#
send Authorization-Fail {
&reply.Authorization-Status := Fail
}

#
# An error processing the request
#
send Authorization-Fail {
&reply.Authorization-Status := Error
}

#
# ## Accounting
#
Expand Down

0 comments on commit cbb45e0

Please sign in to comment.