forked from mkouhei/tacacs-plus
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
for exit code 2 using an external script, use AUTHOR_STATUS_ADD
This makes it actually work on switches in our case (BudgetEnergy)
- Loading branch information
administrator
committed
Apr 2, 2015
1 parent
8e3b559
commit 88b4aac
Showing
3 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Index: tacacs-plus/do_author.c | ||
=================================================================== | ||
--- tacacs-plus.orig/do_author.c 2014-07-14 17:23:01.882703543 +0200 | ||
+++ tacacs-plus/do_author.c 2014-07-14 17:23:58.762705502 +0200 | ||
@@ -252,7 +252,7 @@ | ||
/* and install the new set of AV pairs as output */ | ||
data->output_args = out_args; | ||
data->num_out_args = out_cnt; | ||
- data->status = AUTHOR_STATUS_PASS_REPL; | ||
+ data->status = AUTHOR_STATUS_PASS_ADD; | ||
return(1); /* no more processing required */ | ||
|
||
case 3: /* deny, but return attributes and server-msg to NAS */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
fix_hurd.patch | ||
extend_default_authentication.patch | ||
author-status-always-add.diff |