projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
aac4de0
)
If there's no User-Name, ldap is a NOOP, not a failure
author
aland
<aland>
Tue, 6 Nov 2007 21:55:40 +0000
(21:55 +0000)
committer
aland
<aland>
Tue, 6 Nov 2007 21:55:40 +0000
(21:55 +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
2ff912f
..
732b644
100644
(file)
--- a/
src/modules/rlm_ldap/rlm_ldap.c
+++ b/
src/modules/rlm_ldap/rlm_ldap.c
@@
-1250,8
+1250,8
@@
static int ldap_authorize(void *instance, REQUEST * request)
DEBUG("rlm_ldap: - authorize");
if (!request->username){
-
radlog(L_AUTH, "rlm_ldap: Attribute \"User-Name\" is required for authentic
ation.\n");
- return RLM_MODULE_
INVALID
;
+
DEBUG2("rlm_ldap: Attribute \"User-Name\" is required for authoriz
ation.\n");
+ return RLM_MODULE_
NOOP
;
}
check_pairs = &request->config_items;