projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84caa5c
)
Require passwords for "request" status in "auth+acct", too
author
Alan T. DeKok
<aland@freeradius.org>
Thu, 21 Jan 2016 21:21:08 +0000
(16:21 -0500)
committer
Alan T. DeKok
<aland@freeradius.org>
Thu, 21 Jan 2016 21:21:08 +0000
(16:21 -0500)
src/main/realms.c
patch
|
blob
|
history
diff --git
a/src/main/realms.c
b/src/main/realms.c
index
ba58009
..
2b37b39
100644
(file)
--- a/
src/main/realms.c
+++ b/
src/main/realms.c
@@
-683,7
+683,8
@@
home_server_t *home_server_afrom_cs(TALLOC_CTX *ctx, realm_config_t *rc, CONF_SE
goto error;
}
- if ((home->type == HOME_TYPE_AUTH) && !home->ping_user_password) {
+ if (((home->type == HOME_TYPE_AUTH) ||
+ (home->type == HOME_TYPE_AUTH_ACCT)) && !home->ping_user_password) {
cf_log_err_cs(cs, "You must supply a 'password' to enable status_check=request");
goto error;
}