Skip to content
Snippets Groups Projects
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
Branches
Tags
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment