--On Wednesday, April 12, 2017 11:12 PM +0200 Michael Ströder michael@stroeder.com wrote:
Tom Jay wrote:
I'm trying to add the 'info' attribute to an entry and am getting the following:
ldap_modify: Object class violation (65) additional info: attribute 'info' not allowed [..] Currently, the only object class assigned to the entry is inetOrgPerson.
Has anyone got any idea why this may be the case?
In general one would use attribute 'description' for this kind of content nowadays.
In addition, I would note the comments for the "info" attribute even in the RFC say to not use it:
9.3.4. Information
The Information attribute type specifies any general information pertinent to an object. It is recommended that specific usage of this attribute type is avoided, and that specific requirements are met by other (possibly additional) attribute types.
Reference: https://www.ietf.org/rfc/rfc1274.txt
--Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
Hello,
Is there any information on using the attribute? If I'm already using the 'description' attribute, and the 'info' attribute would be quite useful, is there any way to go about using it?
Thanks.
Tom
Tom Jay wrote:
Is there any information on using the attribute? If I'm already using the 'description' attribute, and the 'info' attribute would be quite useful, is there any way to go about using it?
Create your own custom schema:
http://www.openldap.org/faq/data/cache/219.html
Ciao, Michael.
Hello,
If it's not possible to use this attribute, should it not be removed from the schema? I wasted quite a lot of time trying to figure out how to use it, only to find out that it's not available.
Tom
Tom Jay wrote:
If it's not possible to use this attribute, should it not be removed from the schema?
No. Others could have defined a custom schema using it. Removing the attribute type description would render their custom schema invalid. In general removing schema descriptions is strongly discouraged.
I wasted quite a lot of time trying to figure out how to use it, only to find out that it's not available.
Determining whether to use standard schema or define custom schema requires some experience. Of course there's a learning curve to take (like with anything else).
Ciao, Michael.
openldap-technical@openldap.org