radius auth fix
This commit is contained in:
@@ -32,12 +32,12 @@
|
|||||||
"type": "*constant", "value": "*attributes"}
|
"type": "*constant", "value": "*attributes"}
|
||||||
],
|
],
|
||||||
"reply_fields": [
|
"reply_fields": [
|
||||||
{"tag": "RejectCode", "path": "*rep.*radReplyCode",
|
|
||||||
"filters": ["*notempty:~*cgrep.Error:"],
|
|
||||||
"type": "*constant", "value": "AccessReject", "blocker": true},
|
|
||||||
{"tag": "RejectMessage", "path": "*rep.Reply-Message",
|
{"tag": "RejectMessage", "path": "*rep.Reply-Message",
|
||||||
"filters": ["*notempty:~*cgrep.Error:"],
|
"filters": ["*notempty:~*cgrep.Error:"],
|
||||||
"type": "*constant", "value": "Authentication failed: User not found or account disabled"},
|
"type": "*constant", "value": "Authentication failed: User not found or account disabled"},
|
||||||
|
{"tag": "RejectCode", "path": "*rep.*radReplyCode",
|
||||||
|
"filters": ["*notempty:~*cgrep.Error:"],
|
||||||
|
"type": "*constant", "value": "AccessReject", "blocker": true},
|
||||||
{"tag": "SessionTimeout", "path": "*rep.Session-Timeout", "type": "*variable",
|
{"tag": "SessionTimeout", "path": "*rep.Session-Timeout", "type": "*variable",
|
||||||
"value": "~*cgrep.MaxUsage{*duration_seconds}",
|
"value": "~*cgrep.MaxUsage{*duration_seconds}",
|
||||||
"filters": ["*notempty:~*cgrep.MaxUsage:"]},
|
"filters": ["*notempty:~*cgrep.MaxUsage:"]},
|
||||||
|
|||||||
Reference in New Issue
Block a user