Aleksander Adamowski
2008-Mar-03 17:17 UTC
[Fedora-directory-users] "Numeric String" attribute syntax not supported by FDS 1.1?
Hi!
I''''ve installed Fedora DS 1.1 for x86_64 and am currently
extending my
schema. I got some schema ldif files converted from OpenLDAP format.
I''ve placed the converted schema LDIFs in
/etc/dirsrv/my_instance_name/schema/, and restarted the dirsrv service.
The problem is that FDS reject a quite common attribute syntax:
[03/Mar/2008:17:47:54 +0100] dse - The entry cn=schema in file
/etc/dirsrv/my_instance_name/schema/75phpgwcontact.ldif is invalid,
error code 21 (Invalid syntax) - attribute type phpgwContactOwner:
Unknown attribute syntax OID "1.3.6.1.4.1.1466.115.121.1.36"
[03/Mar/2008:17:47:54 +0100] dse - Please edit the file to correct the
reported problems and then restart the server.
This is very strange, considering that 1.3.6.1.4.1.1466.115.121.1.36
(Numeric String) is a quite common attribute syntax and it''s present in
Netscape''s own RFC 2252, section 6.23:
http://www.faqs.org/rfcs/rfc2252.html
=============================6.23. Numeric String
( 1.3.6.1.4.1.1466.115.121.1.36 DESC ''Numeric String'' )
The encoding of a string in this syntax is the string value itself.
Example:
1997
=============================
Surely it can''t be that Netscape/Fedora Directory Server
doesn''t
support it?
--
Best Regards,
Aleksander Adamowski
GG#: 274614
ICQ UIN: 19780575
http://olo.org.pl
--
Aleksander Adamowski
Administrator systemów korporacyjnych; Instruktor
Altkom Akademia S.A. http://www.altkom.pl
Warszawa, ul. Chłodna 51
kom. +48 601-318-080
Sąd Rejonowy dla m.st. Warszawy w Warszawie, XII Wydział Gospodarczy Krajowego
Rejestru Sądowego,
KRS: 0000120139, NIP 118-00-08-391, Kapitał zakładowy: 1000 000 PLN. Adres
rejestrowy Firmy - ul. Stawki 2, 00-193 Warszawa.
Niniejsza wiadomość zawiera informacje zastrzeżone i stanowiące tajemnicę
przedsiębiorstwa firmy Altkom Akademia S.A.
Ujawnianie tych informacji osobom trzecim lub nieuprawnione wykorzystanie ich do
własnych celów jest zabronione.
Jeżeli otrzymaliście Państwo niniejszą wiadomość omyłkowo, prosimy o niezwłoczne
skontaktowanie się z nadawcą oraz usunięcie wszelkich kopii niniejszej
wiadomości.
This message contains proprietary information and trade secrets of Altkom
Akademia S.A. company.
Unauthorized use or disclosure of this information to any third party is
prohibited.
If you received this message by mistake, please contact the sender immediately
and delete all copies of this message.
Aleksander Adamowski
2008-Mar-03 17:22 UTC
Re: [Fedora-directory-users] "Numeric String" attribute syntax not supported by FDS 1.1?
Aleksander Adamowski wrote:> [03/Mar/2008:17:47:54 +0100] dse - The entry cn=schema in file > /etc/dirsrv/my_instance_name/schema/75phpgwcontact.ldif is invalid, > error code 21 (Invalid syntax) - attribute type phpgwContactOwner: > Unknown attribute syntax OID "1.3.6.1.4.1.1466.115.121.1.36"BTW, here''s the problematic schema LDIF fragment: attributeTypes: ( 1.3.6.1.4.1.9554.103 NAME ''phpgwContactOwner'' EQUALITY numericStringMatch SUBSTR numericStringSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{16} SINGLE-VALUE ) P.S. sorry for posting the same message three times, my sender configuration was acting funny... I just subscribed to this list. -- Best Regards, Aleksander Adamowski GG#: 274614 ICQ UIN: 19780575 http://olo.org.pl -- Aleksander Adamowski Administrator systemów korporacyjnych; Instruktor Altkom Akademia S.A. http://www.altkom.pl Warszawa, ul. Chłodna 51 kom. +48 601-318-080 Sąd Rejonowy dla m.st. Warszawy w Warszawie, XII Wydział Gospodarczy Krajowego Rejestru Sądowego, KRS: 0000120139, NIP 118-00-08-391, Kapitał zakładowy: 1000 000 PLN. Adres rejestrowy Firmy - ul. Stawki 2, 00-193 Warszawa. Niniejsza wiadomość zawiera informacje zastrzeżone i stanowiące tajemnicę przedsiębiorstwa firmy Altkom Akademia S.A. Ujawnianie tych informacji osobom trzecim lub nieuprawnione wykorzystanie ich do własnych celów jest zabronione. Jeżeli otrzymaliście Państwo niniejszą wiadomość omyłkowo, prosimy o niezwłoczne skontaktowanie się z nadawcą oraz usunięcie wszelkich kopii niniejszej wiadomości. This message contains proprietary information and trade secrets of Altkom Akademia S.A. company. Unauthorized use or disclosure of this information to any third party is prohibited. If you received this message by mistake, please contact the sender immediately and delete all copies of this message.
Rich Megginson
2008-Mar-03 17:37 UTC
Re: [Fedora-directory-users] "Numeric String" attribute syntax not supported by FDS 1.1?
Aleksander Adamowski wrote:> Hi! > > I''''ve installed Fedora DS 1.1 for x86_64 and am currently extending my > schema. I got some schema ldif files converted from OpenLDAP format. > > I''ve placed the converted schema LDIFs in > /etc/dirsrv/my_instance_name/schema/, and restarted the dirsrv service. > > The problem is that FDS reject a quite common attribute syntax: > > [03/Mar/2008:17:47:54 +0100] dse - The entry cn=schema in file > /etc/dirsrv/my_instance_name/schema/75phpgwcontact.ldif is invalid, > error code 21 (Invalid syntax) - attribute type phpgwContactOwner: > Unknown attribute syntax OID "1.3.6.1.4.1.1466.115.121.1.36" > [03/Mar/2008:17:47:54 +0100] dse - Please edit the file to correct the > reported problems and then restart the server. > > > This is very strange, considering that 1.3.6.1.4.1.1466.115.121.1.36 > (Numeric String) is a quite common attribute syntax and it''s present in > Netscape''s own RFC 2252, section 6.23:It''s not really Netscape''s own RFC although some of the authors were Netscape employees.> http://www.faqs.org/rfcs/rfc2252.html > > =============================> 6.23. Numeric String > > ( 1.3.6.1.4.1.1466.115.121.1.36 DESC ''Numeric String'' ) > > The encoding of a string in this syntax is the string value itself. > Example: > > 1997 > =============================> > Surely it can''t be that Netscape/Fedora Directory Server doesn''t > support it? >It can be and it is. Fedora DS does not support Numaric String. Please file a bug requesting the addition of this feature. In the meantime, just use a case insensitive string syntax.