forked from pool/freeradius-server
8450405363
Copy from network/freeradius-server based on submit request 22845 from user puzel OBS-URL: https://build.opensuse.org/request/show/22845 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/freeradius-server?expand=0&rev=20
14 lines
795 B
Diff
14 lines
795 B
Diff
Index: freeradius-server-2.1.6/src/modules/rlm_ldap/rlm_ldap.c
|
|
===================================================================
|
|
--- freeradius-server-2.1.6.orig/src/modules/rlm_ldap/rlm_ldap.c 2009-10-22 10:56:37.000000000 +0200
|
|
+++ freeradius-server-2.1.6/src/modules/rlm_ldap/rlm_ldap.c 2009-10-22 10:56:37.000000000 +0200
|
|
@@ -1883,7 +1883,7 @@ static int ldap_authenticate(void *insta
|
|
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( strcasecmp(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));
|