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

Re: Newbie Question on objectclass definition



Hi!

Kurt D. Zeilenga wrote:

>It looks like slapd(8) is reporting the wrong error.
>If not already using a current version of slapd(8),
>please update and try again.  If using a current
>version, report a bug.
>
>  
>
Looks like I have to.

>The error is that your application objectClass is
>mandating the presence of an operational attribute
>(createTimestamp).
>
>  
>
Yes, that was the error.

createTimestamp couldn't be used in MUST and MAY part and gave the same rror in both.

 Ralf

>Kurt
>
>At 09:46 AM 6/24/2004, Ralf Narozny wrote:
>  
>
>>Hi all!
>>
>>I hope you can help me with this. I'm trying to define a single objectclass for an address book. Since I'd like to have the entries only have one single objectclass, I included all necessary schemas (core, cosine, inetorgperson)
>>
>>Then I defined some attributetypes of my own and now try to use this objectclass definition:
>>
>>---- snip ----
>>objectclass ( 1.3.6.1.4.1.7972.2.4.2.1
>>       NAME 'CMEntry'
>>       DESC 'Customer Manager Entry (Addressbook)'
>>       MUST ( cid $ ou $ o $ createTimestamp )
>>       MAY (
>>               cn $
>>               mail $
>>.....
>>       ) )  <--- line 380
>>---- snip ----
>>
>>
>>If I start slapd (with debugging), it tells me:
>>
>>line 380: user-defined ObjectClass has inappropriate SUPerior:
>>
>>What did I do wrong?
>>
>>Thanks in advance
>>Ralf
>>
>>-- 
>>Ralf Narozny
>>SPLENDID Internet GmbH & Co KG
>>
>>An der Halle 400 1, 24143 Kiel, Germany
>>Tel. +49 (0) 431 66097-0, Fax: +49 (0) 431 66097-20
>>Deelbögenkamp 4c, 22297 Hamburg, Germany
>>Tel. +49 (0) 40 325272-49, Fax +49 (0) 40 325272-50
>>mailto:rnarozny@splendid.de, www.splendid.de
>>
>>http://www.splendid.de
>>http://www.freenet-business.de
>>Ein Unternehmen der freenet-Gruppe
>>
>>    
>>
>
>
>  
>