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

RE: Newbie Question

Title: RE: Newbie Question

See the Admin Guide http://www.openldap.org/doc/admin/schema.html
Also look through the schemas distributed with OpenLDAP for the objectclass definitions that match your needs. You probably want the inetorgperson objectclass, which depends on a few others. Include inetorgperson.schema and its dependencies in slapd.conf.

Sounds like you also need some background on why attributes are/aren't allowed. Each objectclass has a set of mandatory attributes and a set of allowed attributes, and objectclasses inherit (from the SUP objectclass in OpenLDAP's schemas). If the attribute is neither required nor allowed by the objectclasses that an entry belongs to, then it should be pretty clear that you can't use it without adding one of the following to the entry: the extensibleObject objectclass (don't do this!), an auxiliary objectclass, or some other objectclass.

-----Original Message-----
From: Craig Main [mailto:craig.main@inspml.co.za]
Sent: Wednesday, February 13, 2002 8:07 AM
To: OpenLDAP Mailing List
Subject: Newbie Question

Hello All,

I am bran new at OpenLDAP, I have setup the slapd server and can connect
to it, I have also set up the base name. What I am trying to achieve is a
corporate addressbook that is available though email clients.

I have been trying to enter people with the following attributes:

Email Address

Thats all I need, but I get various errors about attributes not allowed
etc. Can someone let me know what schema's I need, or how I should go
about entering this info.



Craig Main
IT Manager
Inspectorate M&L (Pty) Ltd.
Email: craig.main@inspml.co.za
Tel: (011) 496-2228
Fax: (011) 496-2239
Cell: (082) 323-4670


This e-mail may contain confidential information and/or copyright
material. This e-mail is intended for the use of the addressee only.
Any unauthorised use may be unlawful. If you receive this e-mail by
mistake, please advise the sender immediately by using the reply
facility in your e-mail software.

Thank you for your co-operation

Scanned and protected by Inflex