From: Mark W. <mew...@un...> - 2001-01-18 21:36:37
|
This is a question that's better served by asking on openldap-software list (Www.openldap.org). Also it's not a really good idea to modify an existing , in particular standardized, objectclass. You can break a lot of things that way (in particular clients who expect the standard objectclasses & attributes to be the way they're laid out in the standards). Instead you should extend an objectclass and then add your attributes to that objectclass. Schema checking tells the server to make sure that any modifications (including adding new objects) to the data in the server, meets the schema (which is the rules that control the data in the server) before allowing them. If you turn schema checking off, this check never occurs. It can lead to faster write performance, but you'll run a higher risk of data inconsistency. Mark "Flamand, Julien" wrote: > hi, > > I try to add a new attribute type to an objectclass, Attribute type > 'height' to the objectclass 'person'. I created a file test.schema : > > > ------------------------------------------------------------------------------------------------------------------- > > #test.schema > > attributetype ( 1.1.2.1.1 NAME 'height' > DESC 'unique name with my organization' > SUP name ) > > -------------------------------------------------------------------------------------------------------------------- > > I included this file in slapd.conf like that: > include /usr/local/etc/openldap/schema/test.schema > > I don't know if I should write "shemacheck on" or "shemacheck off" ? > What does it mean exactly ? > > In the file slapd.conf I added height in the allowed attribute: > > MAY ( userPassword $ telephoneNumber $ seeAlso $ description $ height > ) > > But when I want to restart slapd, there is an error message > AttributeType not found > > What did I wrong? > What is the way to add a new attribute type to an existing objectclass > ? > > Thanks > Julien > > > > > > > |