Permalink
Please sign in to comment.
Browse files
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...
Showing
with
15 additions
and 1 deletion.
- +1 −1 debian/control
- +13 −0 debian/patches/author-status-always-add.diff
- +1 −0 debian/patches/series
2
debian/control
13
debian/patches/author-status-always-add.diff
| @@ -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 */ |
1
debian/patches/series
| @@ -1,2 +1,3 @@ | ||
| fix_hurd.patch | ||
| extend_default_authentication.patch | ||
| +author-status-always-add.diff |
0 comments on commit
88b4aac