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

Re: Issue when injecting a new AttributeTypes in OpenLdap

Emmanuel Lecharny writes:
> #!ERROR [LDAP: error code 21 - attributeTypes: value #0 invalid per syntax]
> dn: cn=schema
> changetype: modify
> add: attributeTypes
> attributeTypes: ( NAME 'type1' SUP name )

See the admin guide.  In OpenLDAP you add schema by modifying a schema
below cn=schema,cn=config, and you set 'olcAttributeTypes' rather than

OTOH you can *read* the full schema controlling an entry from the DN
named by that entry's subschemaSubentry attribute.  In OpenLDAP, that
defaults to cn=subschema, not cn=schema.