projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e535089
)
Fixed stupid bug, allowing logins with null password
author
pam
<pam>
Wed, 16 May 2001 15:21:04 +0000
(15:21 +0000)
committer
pam
<pam>
Wed, 16 May 2001 15:21:04 +0000
(15:21 +0000)
src/modules/rlm_ldap/rlm_ldap.c
patch
|
blob
|
history
diff --git
a/src/modules/rlm_ldap/rlm_ldap.c
b/src/modules/rlm_ldap/rlm_ldap.c
index
e9bf9bb
..
65c105c
100644
(file)
--- a/
src/modules/rlm_ldap/rlm_ldap.c
+++ b/
src/modules/rlm_ldap/rlm_ldap.c
@@
-471,7
+471,7
@@
ldap_authenticate(void *instance, REQUEST * request)
return RLM_MODULE_INVALID;
}
- if (request->password->
strvalue
== 0) {
+ if (request->password->
length
== 0) {
radlog(L_ERR, "rlm_ldap: empty password supplied");
return RLM_MODULE_INVALID;
}