Hi, I''m trying to create some custom schema via 99user.ldif using: attributeTypes: ( 1.3.6.1.4.1.24813.1.10 NAME ''cmDateOfBirth'' DESC ''Date of birth (format YYYYMMDD, only numeric chars)'' EQUALITY numericStringMatch SUBSTR numericsNumberSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 SINGLE-VALUE X-ORIGIN ''user defined'' ) I''m getting the following error when starting up slapd: # ./start-slapd [21/Sep/2007:11:30:05 +0100] dse - The entry cn=schema in file /opt/fedora-ds/slapd-master01/config/schema/99user.ldif is invalid, error code 21 (Invalid syntax) - attribute type cmDateOfBirth: Unknown attribute syntax OID "1.3.6.1.4.1.1466.115.121.1.36" [21/Sep/2007:11:30:05 +0100] dse - Please edit the file to correct the reported problems and then restart the server As far as I can tell from RFC2252 this should be ok?: Numeric String Y 1.3.6.1.4.1.1466.115.121.1.36 Any ideas? Thanks, James As far as I can tell from RFC2252 this should be ok? _________________________________________________________________ The next generation of MSN Hotmail has arrived - Windows Live Hotmail http://www.newhotmail.co.uk
Richard Megginson
2007-Sep-21 13:23 UTC
Re: [Fedora-directory-users] Unknown attribute syntax OID
James Deuchar wrote:> Hi, > > I''m trying to create some custom schema via 99user.ldif using: > > attributeTypes: ( 1.3.6.1.4.1.24813.1.10 > NAME ''cmDateOfBirth'' > DESC ''Date of birth (format YYYYMMDD, only numeric chars)'' > EQUALITY numericStringMatch > SUBSTR numericsNumberSubstringsMatch > SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 > SINGLE-VALUE > X-ORIGIN ''user defined'' ) > > I''m getting the following error when starting up slapd: > > # ./start-slapd > [21/Sep/2007:11:30:05 +0100] dse - The entry cn=schema in file > /opt/fedora-ds/slapd-master01/config/schema/99user.ldif is invalid, > error code 21 (Invalid syntax) - attribute type cmDateOfBirth: Unknown > attribute syntax OID "1.3.6.1.4.1.1466.115.121.1.36" > [21/Sep/2007:11:30:05 +0100] dse - Please edit the file to correct the > reported problems and then restart the server > > As far as I can tell from RFC2252 this should be ok?: > Numeric String Y 1.3.6.1.4.1.1466.115.121.1.36 > Any ideas?Fedora DS does not support that syntax. I suggest using DirectoryString instead.> > Thanks, > > James > > As far as I can tell from RFC2252 this should be ok? > > > ------------------------------------------------------------------------ > Play Movie Mash-up and win BIG prizes! <https://www.moviemashup.co.uk> > ------------------------------------------------------------------------ > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >