#349 nsViewFilter syntax issue in 389DS 1.2.5
Closed: Fixed None Opened 6 years ago by mbarper.

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)


{{{
Noriko Hosoi says:

Currently, the syntax of nsViewFilter is IA5 String, which does not allow non-ascii characters.
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.26 X-ORIGIN 'Netscape Directory Server' )

Indeed, it'd be a needless restriction for nsViewFilter. Please open a ticket at https://fedorahosted.org/389/newticket.

In the meantime, could you replace 1.3.6.1.4.1.1466.115.121.1.26 with 1.3.6.1.4.1.1466.115.121.1.15, and try?
}}}

I have replaced the syntax as said and now there is not syntax error.

dn: cn=schema
changetype: modify
add: attributeTypes
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' )

http://lists.fedoraproject.org/pipermail/389-users/2012-April/014533.html

set default ticket origin to Community

Added initial screened field value.

git merge ticket349
Updating ecbd8b7..da4e868
Fast-forward
ldap/schema/02common.ldif | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

git push origin master
Enter passphrase for key '/home/lkrispen/.ssh/id_rsa_fedora':
Counting objects: 9, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 711 bytes, done.
Total 5 (delta 4), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/389/ds.git
ecbd8b7..da4e868 master -> master

Metadata Update from @mbarper:
- Issue assigned to lkrispen
- Issue set to the milestone: 1.3.0.rc1

2 years ago

Login to comment on this ticket.

Metadata