testing: add a testcase for plain XAuth RADIUS authentication
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
eap {
|
||||
default_eap_type = md5
|
||||
md5 {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
realm strongswan.org {
|
||||
type = radius
|
||||
authhost = LOCAL
|
||||
accthost = LOCAL
|
||||
}
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
authorize {
|
||||
suffix
|
||||
files
|
||||
}
|
||||
|
||||
authenticate {
|
||||
pap
|
||||
}
|
||||
|
||||
preacct {
|
||||
preprocess
|
||||
acct_unique
|
||||
suffix
|
||||
files
|
||||
}
|
||||
|
||||
accounting {
|
||||
detail
|
||||
unix
|
||||
radutmp
|
||||
attr_filter.accounting_response
|
||||
}
|
||||
|
||||
session {
|
||||
radutmp
|
||||
}
|
||||
|
||||
post-auth {
|
||||
exec
|
||||
Post-Auth-Type REJECT {
|
||||
attr_filter.access_reject
|
||||
}
|
||||
}
|
||||
|
||||
pre-proxy {
|
||||
}
|
||||
|
||||
post-proxy {
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
carol Cleartext-Password := "4iChxLT3"
|
||||
Reference in New Issue
Block a user