projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cf4a04
)
Use case insensitive comparison. Closes #36
author
Alan T. DeKok
<aland@freeradius.org>
Sun, 6 Dec 2009 12:54:14 +0000
(13:54 +0100)
committer
Alan T. DeKok
<aland@freeradius.org>
Sun, 6 Dec 2009 12:54:35 +0000
(13:54 +0100)
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
66a91a8
..
133bcb6
100644
(file)
--- a/
src/modules/rlm_ldap/rlm_ldap.c
+++ b/
src/modules/rlm_ldap/rlm_ldap.c
@@
-1904,7
+1904,7
@@
static int ldap_authenticate(void *instance, REQUEST * request)
RDEBUG("ldap auth option = %s", vp_auth_opt->vp_strvalue);
strncpy(seq, vp_auth_opt->vp_strvalue, vp_auth_opt->length);
seq[vp_auth_opt->length] = '\0';
- if( strcmp(seq, "<No Default>") ){
+ if( strc
asec
mp(seq, "<No Default>") ){
/* Get the client IP address to check for packet validity */
inet_ntop(AF_INET, &request->packet->src_ipaddr, host_ipaddr, sizeof(host_ipaddr));