On 4/11/11 3:21 PM, Hallvard B Furuseth wrote:
Emmanuel Lecharny writes:#!ERROR [LDAP: error code 21 - attributeTypes: value #0 invalid per syntax] dn: cn=schema changetype: modify add: attributeTypes attributeTypes: ( 1.3.6.1.4.1.18060.0.4.1.2.10001 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 'attributeTypes'.
Makes sense... Although the error message is extremely misleading :/Ok, get it. It would be cool (tm) that OpenLDAP accepts direct modifications of the schema through LDAP requests.
-- Regards, Cordialement, Emmanuel LÃcharny www.iktek.com