mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
ITS#3334: DN in (cn:dn:=foo) should be case insensitive
This commit is contained in:
parent
a997b94f1f
commit
5368501f35
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue