Skip to content

[Bug]: SUBSTR value is null when attribute comes from parent #449

@depouill

Description

@depouill

Is there an existing issue for this?

  • I have searched the existing issues

Environment

- OS: docker image (from 2.3.9-2)
- PHP: 8.4.17
- LDAP Server: openldap

PLA Code

Github checkout

PLA Version

2.3.9-2

Current Behavior

Search filter doesn't return true bool value from sub_str_rule when attribute is a child from parent which has SUBSTR value.

For example:

attributeTypes: ( 2.5.4.4 NAME ( 'sn' 'surname' ) DESC 'RFC2256: last (family)
name(s) for which the entity is known by' SUP name )

Attribut 'sn' doesn't have sub_str_rule to true, 'name' has it.

Expected Behavior

'sn' attribute which is child from name should return sub_str_rule=true

Steps To Reproduce

try search by sn or by name

Relevant log output

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions