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

Problems creating schema



Hello, all.

I am pretty new to LDAP, and have stumbled into a
problem that I hope some of you can help me with.

I've received some data in ldif-format that I want to
set up on my own ldap server, slapd. I've tried using
ldapadd with the ldiff files, but get some stange
errors, as shown below.
The program continues, and adds (as far as I can tell)
some data to the database, but when using slapcat, no
output appears! Does this mean that the database is
empty?

I'm using OpenLDAP 2.1.7 on a RedHat 7.3 system.


-------

/usr/local/etc/openldap/schema/99user.schema: line 1:
unknown directive 
"dn:" outside backend info and database definitions
(ignored)
/usr/local/etc/openldap/schema/99user.schema: line 2:
unknown directive 
"objectClass:" outside backend info and database
definitions 
(ignored)/usr/local/etc/openldap/schema/99user.schema:
line 3: unknown 
directive "objectClass:" outside backend info and
database definitions 
(ignored)/usr/local/etc/openldap/schema/99user.schema:
line 4: unknown 
directive "objectClass:" outside backend info and
database definitions 
(ignored)/usr/local/etc/openldap/schema/99user.schema:
line 5: unknown 
directive "cn:" outside backend info and database
definitions (ignored)
/usr/local/etc/openldap/schema/99user.schema: line 7:
unknown directive 
"aci:" outside backend info and database definitions
(ignored)
/usr/local/etc/openldap/schema/99user.schema: line 10:
unknown directive 
"aci:" outside backend info and database definitions
(ignored)
/usr/local/etc/openldap/schema/99user.schema: line 13:
unknown directive 
"aci:" outside backend info and database definitions
(ignored)
/usr/local/etc/openldap/schema/99user.schema: line 16:
unknown directive 
"aci:" outside backend info and database definitions
(ignored)
/usr/local/etc/openldap/schema/99user.schema: line 17:
unknown directive 
"modifiersName:" outside backend info and database
definitions (ignored)
/usr/local/etc/openldap/schema/99user.schema: line 18:
unknown directive 
"modifyTimestamp:" outside backend info and database
definitions (ignored)
/usr/local/etc/openldap/schema/99user.schema: line 21:
unknown directive 
"objectClasses:" outside backend info and database
definitions (ignored)
/usr/local/etc/openldap/schema/99user.schema: line 23:
unknown directive 
"attributeTypes:" outside backend info and database
definitions (ignored)
/usr/local/etc/openldap/schema/99user.schema: line 25:
unknown directive 
"attributeTypes:" outside backend info and database
definitions (ignored)
/usr/local/etc/openldap/schema/99user.schema: line 26:
unknown directive 
"nsSchemaCSN:" outside backend info and database
definitions (ignored)

---------------


=====
------------------------------------------------------------
Kyrre Kristiansen

__________________________________________________
Yahoo! Plus - For a better Internet experience
http://uk.promotions.yahoo.com/yplus/yoffer.html