projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8a55b1
)
Don't complain about unprintable characters in the user-supplied
author
aland
<aland>
Mon, 29 Jan 2001 16:02:46 +0000
(16:02 +0000)
committer
aland
<aland>
Mon, 29 Jan 2001 16:02:46 +0000
(16:02 +0000)
password, UNLESS it's a 'Password' attribute.
i.e. Don't complain about CHAP-Password attributes, which are
ALWAYS unprintable.
src/main/auth.c
patch
|
blob
|
history
diff --git
a/src/main/auth.c
b/src/main/auth.c
index
1d1a60c
..
00a7156
100644
(file)
--- a/
src/main/auth.c
+++ b/
src/main/auth.c
@@
-531,7
+531,8
@@
int rad_authenticate(REQUEST *request)
rad_authlog("Login incorrect", request, 0);
/* double check: maybe the secret is wrong? */
- if (debug_flag > 1) {
+ if ((debug_flag > 1) &&
+ (auth_item->attribute == PW_PASSWORD)) {
u_char *p;
p = auth_item->strvalue;