RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 668808 - CoS doesn't work with attributes that include a language tag
Summary: CoS doesn't work with attributes that include a language tag
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: 389-ds-base
Version: 7.0
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: rc
: 7.3
Assignee: Noriko Hosoi
QA Contact: Viktor Ashirov
URL:
Whiteboard:
Depends On:
Blocks: 512820 690319
TreeView+ depends on / blocked
 
Reported: 2011-01-11 16:59 UTC by Deyan Stoykov
Modified: 2020-09-13 19:49 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-31 21:12:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github 389ds 389-ds-base issues 69 0 None None None 2020-09-13 19:49:35 UTC

Description Deyan Stoykov 2011-01-11 16:59:00 UTC
Description of problem:

When implementing CoS for an attribute that includes a language code (RFC2596), it's value is NOT returned during searching. When implementing CoS for the same attribute without a language code (RFC2596), the value is returned. 

How reproducible:

Always.

Steps to Reproduce:

Set up a simple CoS and a CoS template.

dn: cn=CIKO CoS,ou=CIKO,ou=People,dc=ru,dc=acad,dc=bg
cosAttribute: ou;lang-bg
cosAttribute: ou
costemplatedn: cn=CIKO Template, cn=CIKO CoS, ou=CIKO,ou=People,dc=ru,dc=acad,dc=bg
objectClass: top
objectClass: ldapsubentry
objectClass: cossuperdefinition
objectClass: cosPointerDefinition
cn: CIKO CoS

dn: cn=CIKO Template,cn=CIKO CoS,ou=CIKO,ou=People,dc=ru,dc=acad,dc=bg
cn: CIKO Template
cosPriority: 1
ou;lang-bg:: 0KbQmNCa0J4=
objectClass: top
objectClass: costemplate
objectClass: extensibleobject

Do an ldapsearch on an object, that should inherit the CoS definition.

# ldapsearch -x uid=dstoykov ou -LLL 

Actual results:

dn: uid=dstoykov,ou=CIKO,ou=People,dc=ru,dc=acad,dc=bg
ou: CIKO 

Expected results:

dn: uid=dstoykov,ou=CIKO,ou=People,dc=ru,dc=acad,dc=bg
ou: CIKO
ou;lang-bg:: 0KbQmNCa0J4=

Comment 1 Deyan Stoykov 2011-01-11 17:03:21 UTC
This was tested with centos-ds-8.1.0. Unfortunately, I can't test with an up-to-date 389-ds at this time.

Comment 2 Andrey Ivanov 2011-06-03 11:43:02 UTC
This bug is not limited to attribute language codes. Any CoS with attribute subtypes does not work (http://lists.fedoraproject.org/pipermail/389-users/2011-June/013250.html)

Comment 3 Martin Kosek 2012-01-04 13:29:03 UTC
Upstream ticket:
https://fedorahosted.org/389/ticket/69

Comment 6 Nathan Kinder 2017-08-31 21:12:38 UTC
This bug has been unresolved for a long time, and it is not a priority to fix.  This bug is being closed since there is not a pressing reason to address it, though the upstream ticket will remain open in case someone in the community is compelled to provide a patch.


Note You need to log in before you can comment on or make changes to this bug.