Commit 5368501f authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

ITS#3334: DN in (cn:dn:=foo) should be case insensitive

parent a997b94f
......@@ -603,7 +603,7 @@ put_simple_filter(
if( rule == NULL ) {
/* one colon */
if ( strcmp(dn, "dn") == 0 ) {
if ( strcasecmp(dn, "dn") == 0 ) {
/* must have attribute */
if( !ldap_is_desc( str ) ) {
goto done;
......@@ -620,7 +620,7 @@ put_simple_filter(
/* two colons */
*rule++ = '\0';
if ( strcmp(dn, "dn") != 0 ) {
if ( strcasecmp(dn, "dn") != 0 ) {
/* must have "dn" */
goto done;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment