[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
FW: Antwort: need help changing schema
okay, cool... that's definitely moving in the right direction. now, the
question is how do I take an rfc2252 schema definition like
( 1.3.6.1.4.1.42.2.27.4.2.9
NAME 'corbaObject'
DESC 'CORBA object respresentation'
SUP top
ABSTRACT
MAY ( corbaRepositoryId description )
)
and convert it into the appropriate entries in slapd.at.conf and
slapd.oc.conf as you outlined below?
again, many thanks to those who know!
e
-----Original Message-----
From: gerhard.duile@LZB-Bayern.bundesbank.de
[mailto:gerhard.duile@LZB-Bayern.bundesbank.de]
Sent: Friday, February 25, 2000 12:53 AM
To: ethan@epicentric.com
Subject: Antwort: need help changing schema
Hi,
I´m not really sure that I exactly understood what you want to do. So I
concentrate on the standard way to change the ldap schema in openldap.
First you should declare the new attributes you want to create. Append a
line to
your slapd.at.conf file for each attribute which looks like that:
my1stnewattribute cis
my2ndnewattribute cis
my3rdnewattribute dn
(name of the new attribute and type of the attribute. cis=case insensitive
string, ces=case enabled string, dn=distinguished name or one of I think
about 2
or 3 other types)
Then, you have to include your new attributes into the used objectclasses.
You
could insert them into one of the standard object classes you use (e.g.
person),
but it is recommended that you create a new object class for your own use.
In
your file slapd.oc.conf append some lines:
objectclass mynewobjectclass
requires
my1stnewattribute
allows
my2ndnewattribute,
my3rdnewattribute
Now, you have to append your new object class and the used attributes to
your
entries. An LDIF entry for a new object would look like that:
dn: cn=user1,c=US
objectclass: person
objectclass: mynewobjectclass
cn: user1
my1stnewattribute: attr1_of_person
my2ndnewattribute: attr2_of_person
my3rdnewattribute: attr3_of_person
(to use your new object class and attributes with already existing entries,
use
ldapadd)
If you just want to have your own attributes in ldap schema, you do not need
those java stuff. But then again: As I said, I am not really sure to have
understood....
Greetings
Gerhard Duile
ethan@epicentric.com on 24.02.2000 21:43:08
An: openldap-software@OpenLDAP.org (Non Receipt Notification Requested)
Kopie: (Blindkopie: Gerhard Duile/OR3/798/BBK/DE)
Thema: need help changing schema