Find the answer to your Linux question:
Results 1 to 2 of 2
hi, im still new with OpenLDAP, i'm face a problem with this kind of error when i want start the slapd daemon. root@ldap:~# /usr/local/libexec/slapd /usr/local/etc/openldap/schema/nis.schema: line 203: AttributeType not found: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Posts
    1

    OpenLDAP AttributeType


    hi,
    im still new with OpenLDAP, i'm face a problem with this kind of error when i want start the slapd daemon.

    root@ldap:~# /usr/local/libexec/slapd
    /usr/local/etc/openldap/schema/nis.schema: line 203: AttributeType not found: "manager"
    root@ldap:~#
    here the line in nis.schema
    objectclass ( 1.3.6.1.1.1.2.6 NAME 'ipHost'
    DESC 'Abstraction of a host, an IP device'
    SUP top AUXILIARY
    MUST ( cn $ ipHostNumber )
    MAY ( l $ description $ manager ) )
    Can anyone help me how solve it out ?
    im using openldap-2.3.32.

    Thanks

  2. #2
    Just Joined!
    Join Date
    Jan 2012
    Posts
    1

    Lightbulb Re: OpenLDAP AttributeType

    Was also facing the same issue. You need to put nis.schema after core and cosine and everything will be fine. Edit your slapd.conf and put nis.schema as follows :

    include /usr/local/etc/openldap/schema/core.schema
    include /usr/local/etc/openldap/schema/cosine.schema
    include /usr/local/etc/openldap/schema/nis.schema

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •