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

Re: which schema/objectclass I need to use?

ericchau@hksfc.org.hk wrote:
> Hello all,
> I want to add entries to ldap database but I don't know which schema or
> objectclass should I need to take
> slapd.conf.
> I have try to include inetorgperson.schema, but the process slapd fails to
> start.
> The message:
> /usr/local/etc/openldap/schema/inetorgperson.schema: line 144:
> AttributeType not
> found: "audio"

You must include cosine.schema for inetorgperson.schema work correct.

> Actually, I just want to have very simple database it contain the username
> and email address just like
> the following example.ldif.
> Which schema? Which objectclass? By the way, should anyone can point a
> linker to explain the schema?
> Anyone can help me?
> <example.ldif>
> dn: cn=David Chan,dc=example,dc=com
> cn: David Chan
> objectClass: inetorgperson
> sn: Chan
> mail: davidchan@example.com

In this case it is enough to include:

The ORDER of includes is important

Vadim A. Popov
IATP2/Belarus System Administrator
tel: +375-(17)-2233174
e-mail: vap@iatp.unibel.by
ICQ: 89569789