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

Re: problems with importing LDIF file



Hi,

> The extract from my LDIF file is as follows:
>
> attributetype ( 2.16.840.1.113719.1.186.4.1
> 		NAME 'myTestAttribute'
> 		DESC 'my test attribute description'
> 		EQUALITY caseIgnoreMatch
> 		SUBSTR caseIgnoreSubstringsMatch
> 		SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
>
The snippet above is part of a schema definition file, not of an LDIF file.
It cannot work with LDIF tools.
Even if your schema extension was formatted like an LDIF file,
it would not work since OpenLDAP does not allow dynamic 
schema extensions.
In OpenLDAP schema definitions have to be listed in the
configuration file slapd.conf (Don't forget to define an object
class tthat allows your new attribute)
After a slapd restart you may add attributes of this type using 
LDIF files.
See the ldif(5) man page how LDIF files should look like.

Yours
Peter
-- 
Peter Marschall     |   eMail: peter.marschall@mayn.de
Scheffelstraße 15   |          peter.marschall@is-energy.de
97072 Würzburg      |   Tel:   0931/14721
PGP:  D7 FF 20 FE E6 6B 31 74  D1 10 88 E0 3C FE 28 35