[Fedora-directory-users] Unknown attribute syntax OID

Richard Megginson rmeggins at redhat.com
Fri Sep 21 13:23:33 UTC 2007


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 at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20070921/82908396/attachment.bin>


More information about the Fedora-directory-users mailing list