Frank, Hans, 232 wrote:
Hi there,
I would like to add the attribute "orclnetdescstring" to the following ldap object: cn=TESTDB,cn=OracleContext,dc=test,dc=de
When trying this, I get the following error message: 09:44:42 AM: Failed to add 'orclnetdescstring' attribute for ldap://***:389/cn=TESTDB,cn=OracleContext,dc=test,dc=de Root error: [LDAP: error code 65 - attribute 'orclnetdescstring' not allowed]
I did include the attributetype into the core.schema, which is included in slapd.conf the following way:
attributetype ( 1.3.6.1.4.1.9232.6 NAME 'orclnetdescstring' DESC 'Oracle-OID spezific A-Type' SUP name )
or:
attributetype ( 1.3.6.1.4.1.9232.6 NAME 'orclnetdescstring' SUP name )
But that doesn't change anything. I am very new to openldap, so if there are any good tutorials which describe such simple things (I suppose this is something simple), please let me know.
I just need this object with some specific attributes, how can I realise this?
Declaring an attribute in the schema only makes the DSA aware of the definition of that schema item. To add an attribute to an entry, that entry's class must at least allow that attribute. See RFC 4511 and RFC 4512 for details.
p.
Ing. Pierangelo Masarati OpenLDAP Core Team
SysNet s.r.l. via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it --------------------------------------- Office: +39 02 23998309 Mobile: +39 333 4963172 Email: pierangelo.masarati@sys-net.it ---------------------------------------