in ldapquery, validation out of bounds query should be case insensitive as ldap is.
lifecycle/rotten
When validating if a particular dn is equal to basedn or if this dn is included in the base dn we use:
if !baseDN.AncestorOf(dn) && !baseDN.Equal(dn) {
return nil, NewQueryOutOfBoundsError(attributeValue, o.BaseDN)
}
But since this is ldap protocol and ldap is case insensitve, we should rather do this control as case-insentiive.
This issue is corresponding to:
https://issues.redhat.com/browse/OCPBUGS-36591
group sync is showing error "entry would search outside of the base dn specified" but it's not
/assign
关闭于 2024-12-06 7 条评论