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

Re: schema



"John Kellen" <jkellen@vub.ac.be> writes:

> Hello,
>  
> what schema do i need to have configured in slapd.conf to use this ldif
> file:
>  
> dn: cn=aderaede,ou=People,dc=vub,dc=ac,dc=be
> objectClass: top
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson

this objectclasses are all included in inetorgperson.schema

> objectClass: posixAccount
> objectClass: inetLocalMailRecipient
> objectClass: shadowAccount

this objectclasses are all included in nis.schema

> I have the following configured in slapd.conf
> # Schema and objectClass definitions
> include         /etc/ldap/schema/core.schema
> include         /etc/ldap/schema/cosine.schema
> include         /etc/ldap/schema/nis.schema
> include         /etc/ldap/schema/inetorgperson.schema
> include         /etc/ldap/schema/openldap.schemaµ

that is all you need, but you should change the sequence, 
1. core.schema
2. cosine.schema
3. inetorgperson.schema
4. nis.schema

-Dieter

-- 
-- 
Dieter Kluenter | Systemberatung
Mobil: 0176.511
http://www.dkluenter.de