[389-users] CoS and language codes

Rich Megginson rmeggins at redhat.com
Mon Jan 10 16:38:17 UTC 2011


On 01/10/2011 08:18 AM, Deyan Stoykov wrote:
> Hello!
>
> I'm implementing CoS for the ou attribute, but it doesn't work when a
> language code (RFC2596) is included.
>
> # ldapsearch -x -y /etc/ldap.secret "cospriority=CIKO Template" -LLL
> dn: cospriority=CIKO Template,ou=CIKO,ou=People,dc=ru,dc=acad,dc=bg
> ou: CIKO
> ou;lang-bg:: 0KbQmNCa0J4=
> cosPriority: CIKO Template
> objectClass: top
> objectClass: costemplate
> objectClass: extensibleobject
This does not look correct.  cosPriority is supposed to be an integer:
http://docs.redhat.com/docs/en-US/Red_Hat_Directory_Server/8.2/html-single/Administration_Guide/index.html#Advanced_Entry_Management-Assigning_Class_of_Service
> Expected result:
>
> # ldapsearch -x -y /etc/ldap.secret uid=dstoykov ou -LLL
> dn: uid=dstoykov,ou=CIKO,ou=People,dc=ru,dc=acad,dc=bg
> ou: CIKO
> ou;lang-bg:: 0KbQmNCa0J4=
>
> Actual result:
>
> # ldapsearch -x -y /etc/ldap.secret uid=dstoykov ou -LLL
> dn: uid=dstoykov,ou=CIKO,ou=People,dc=ru,dc=acad,dc=bg
> ou: CIKO
>
> I'm running centos-ds-8.1.0-1.el5. Has anyone tried this? Seems like a
> bug to me.
>
> Regards,
> Deyan
>




More information about the 389-users mailing list