[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Problems creating schema
Hi,
Try the following :
1. Comment out the line that starts with "dn:"
2. Comment out the line that starts with "changetype:"
3. Comment out the line that says "add: attributetypes"
4. Change the directives that start with "attributetypes:" to
"attributetype" (note: no colon)
5. Comment out the "-" line at the end of the "add: attributetypes"
block of code
6. Comment out the line that says "add: objectclasses"
7. Change the directives that start with "objectclasses:" to
"objectclass" (note: no colon)
8. Comment out the "-" line at the end of the "add: objectclasses" block
of code
jason
On Thu, 2003-06-05 at 10:05, Kyrre Kristiansen wrote:
> 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
--
Jason L W Lynn <jlwlynn@uab.edu>