Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 918698

Summary: nsViewFilter syntax issue in 389DS 1.2.5
Product: Red Hat Enterprise Linux 7 Reporter: Nathan Kinder <nkinder>
Component: 389-ds-baseAssignee: Rich Megginson <rmeggins>
Status: CLOSED CURRENTRELEASE QA Contact: Sankar Ramalingam <sramling>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.0CC: amsharma, jgalipea, nhosoi
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.3.1.2-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 10:19:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nathan Kinder 2013-03-06 18:14:36 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/389/ticket/349

I have a problem whit the syntax of the nsViewFilter attribute, the value of the attribute is: (ou=*ou=D. PERIÓDICO,o=xxxxx,dc=xxxx,dc=xxxx). I guess the problem is the character "Ó" but if it is possible to create the ou with special characters, should be possible create a nsViewFilter with special characters to??? (389DS 1.2.5)

Comment 1 Rich Megginson 2013-10-01 23:24:23 UTC
moving all ON_QA bugs to MODIFIED in order to add them to the errata (can't add bugs in the ON_QA state to an errata).  When the errata is created, the bugs should be automatically moved back to ON_QA.

Comment 3 Amita Sharma 2014-02-06 09:59:05 UTC
Hi Noriko,

I have checked the schema file ::
02common.ldif:attributeTypes: ( 2.16.840.1.113730.3.1.3023 NAME 'nsViewFilter' DESC 'Netscape defined attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Netscape Directory Server' )

This is correct.

But I am not able to add::
[root@dhcp201-149 schema]# ldapmodify -a -D "cn=directory manager" -w Secret123 -p 389 -h localhost -x << EOF
> dn: ou=ExampleView,dc=example,dc=com
> changetype: add
> objectClass: top
> objectClass: organizationalUnit
> objectClass: nsview
> ou=ExampleView
> nsViewFilter: l=PERIÓDICO
> description: ExampleView
> EOF
ldapmodify: invalid format (line 6) entry: "ou=ExampleView,dc=example,dc=com"

Please suggest.

Thanks,
Ami

Comment 4 Rich Megginson 2014-02-06 15:52:01 UTC
(In reply to Amita Sharma from comment #3)
> Hi Noriko,
> 
> I have checked the schema file ::
> 02common.ldif:attributeTypes: ( 2.16.840.1.113730.3.1.3023 NAME
> 'nsViewFilter' DESC 'Netscape defined attribute type' SYNTAX
> 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Netscape Directory Server' )
> 
> This is correct.
> 
> But I am not able to add::
> [root@dhcp201-149 schema]# ldapmodify -a -D "cn=directory manager" -w
> Secret123 -p 389 -h localhost -x << EOF
> > dn: ou=ExampleView,dc=example,dc=com
> > changetype: add
> > objectClass: top
> > objectClass: organizationalUnit
> > objectClass: nsview
> > ou=ExampleView

This is not valid LDIF.
I think you meant to have

ou: ExampleView

> > nsViewFilter: l=PERIÓDICO
> > description: ExampleView
> > EOF
> ldapmodify: invalid format (line 6) entry: "ou=ExampleView,dc=example,dc=com"
> 
> Please suggest.
> 
> Thanks,
> Ami

Comment 5 Amita Sharma 2014-02-07 07:19:50 UTC
Thanks Rich, 
Doc bug here :: https://access.redhat.com/site/documentation/en-US/Red_Hat_Directory_Server/9.0/html/Administration_Guide/using-views.html#using-views-command-line

For this bug ::
===================
schema file -
---------------
02common.ldif:attributeTypes: ( 2.16.840.1.113730.3.1.3023 NAME 'nsViewFilter' DESC 'Netscape defined attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Netscape Directory Server' )


[root@dhcp201-149 ~]# ldapmodify -a -D "cn=directory manager" -w Secret123 -p 389 -h localhost -x << EOF
> dn: ou=ExampleView,dc=example,dc=com
> changetype: add
> objectClass: top
> objectClass: organizationalUnit
> objectClass: nsview
> ou: ExampleView
> nsViewFilter: l=PERIÓDICO
> description: ExampleView
> EOF
adding new entry "ou=ExampleView,dc=example,dc=com"

Hence marking VERIFIED.

Comment 6 Ludek Smid 2014-06-13 10:19:47 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.