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

Re: AttributeType not found but I have this attribute



Am Tue, 12 Jul 2016 18:46:42 +0200
schrieb Jose Legido <jose@legido.com>:

> On Tue, Jul 12, 2016 at 6:21 PM, Jose Legido <jose@legido.com> wrote:
> > Hello.
> > I'm trying to modify schema (importing from AD) but i have a problem
> > whith some objectclasses:
> >
> > ldap_initialize( ldapi:///??base )
> > add olcobjectClasses:
> >     ( 1.2.840.113556.1.5.263 NAME 'msImaging-PostScanProcess' SUP
> > top STRUCTURAL MUST ( displayName $ msImaging-PSPIdentifier ) MAY
> > (serverName $ msImaging-PSPString ) )
> > modifying entry "cn={1}core,cn=schema,cn=config"
> > modify complete
> >
> >
> > But when I do a test:
> > 57850fb8 olcObjectClasses: value #447 olcObjectClasses:
> > AttributeType not found: "displayName"
> > 57850fb8 config error processing cn={1}core,cn=schema,cn=config:
> > olcObjectClasses: AttributeType not found: "displayName"
> > slaptest: bad configuration file!
> >
> > But I have this attribute:
> > ldapsearch -LLL -H ldap://127.0.0.1 -x -s base -b "CN=Subschema"
> > attributetypes -v
> >
> > attributeTypes: ( 2.16.840.1.113730.3.1.241 NAME 'displayName' DESC
> > 'RFC2798: preferred name to be used when displaying entries'
> > EQUALITY caseIgnoreMatch S UBSTR caseIgnoreSubstringsMatch SYNTAX
> > 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-V ALUE )
> >
> > I have  openldap 2.4.40 with mode config and inetorgperson.ldif in
> > cn=schema
> >
> > Thank you!
> 
> An update.
> If I delete attribute from cn={8}nis and add to cn={1}core, works, but
> I have to move all atributes....
> 
> Why I have AttributeType not found?

Order matters. Attribute types must be loaded prior to the relevant
object class.

-Dieter

-- 
Dieter Klünter | Systemberatung
http://sys4.de
GPG Key ID: E9ED159B
53°37'09,95"N
10°08'02,42"E