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

Re: syntax in schema causes slapd to fail



> The following are two variants of an entry in our schema file.
> We are running on windows.
>
>>>>>>>>>>>>>>>>>>>>>>
>
> attributetype
> (
>             1.3.6.1.4.1.15755.1.1
>             NAME ( 'puid' 'pivodUniqueIdentifier' )
>             SYNTAX 1.3.6.1.4.1.1466.115.121.1.22 )
>
> Doesn't work and crashes slapd.exe running on windows
>
> attributetype (
>             1.3.6.1.4.1.15755.1.1
>             NAME ( 'puid' 'pivodUniqueIdentifier' )
>             SYNTAX 1.3.6.1.4.1.1466.115.121.1.22 )
>
> Does work
>
> Note the different placement of the opening bracket

As well documented in many places, continuation of a line is marked
by a blank in the initial column.  You're writing two separate
statements:

attributetype

and

(
            1.3.6.1.4.1.15755.1.1
            NAME ( 'puid' 'pivodUniqueIdentifier' )
            SYNTAX 1.3.6.1.4.1.1466.115.121.1.22 )

obviously both of them make no sense to slapd.

p.

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