[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Help with schema file/adding attribute



> I am trying to create this attribute;
>
> attribute ( 1.3.6.1.4.1.4203.666.1234
> NAME 'objectGUID'
> SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
> SINGLE-VALUE )

- the keyword is "attributetype", not "attribute"
- continuation lines must start with a ' ' (a space)

p.

>
>
>
> When I try to start slapd, I get the following error
>
> Starting slapd: /etc/openldap/schema/objectGUID.schema: line 1: Missing
> closing parenthesis before
> AttributeTypeDescription = "(" whsp
>   numericoid whsp      ; AttributeType identifier
>   [ "NAME" qdescrs ]             ; name used in AttributeType
>   [ "DESC" qdstring ]            ; description
>   [ "OBSOLETE" whsp ]
>   [ "SUP" woid ]                 ; derived from this other
>                                    ; AttributeType
>   [ "EQUALITY" woid ]            ; Matching Rule name
>   [ "ORDERING" woid ]            ; Matching Rule name
>   [ "SUBSTR" woid ]              ; Matching Rule name
>   [ "SYNTAX" whsp noidlen whsp ] ; see section 4.3
>   [ "SINGLE-VALUE" whsp ]        ; default multi-valued
>   [ "COLLECTIVE" whsp ]          ; default not collective
>   [ "NO-USER-MODIFICATION" whsp ]; default user modifiable
>   [ "USAGE" whsp AttributeUsage ]; default userApplications
>                                    ; userApplications
>                                    ; directoryOperation
>                                    ; distributedOperation
>                                    ; dSAOperation
>   whsp ")"
>                                                            [FAILED]
>
>
>
> The syntax of my schema file seems to follow all the other schema files.
> Am I missing something obvious here?
>
> Thanks!


-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it




    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497