Hello, I'm using the last version with openldap server.
Can you please explain me what I have to modify in the config file to store country and urls?
I get this error: Error whilst setting attribute 'c': Object class violation
Thanks
Last edit: Diego Coppola Libetta 2018-02-06
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The display layout in the sample config file includes some attributes - such as the country and
URLs - that are specific to Active Directory and are not defined in OpenLDAP's schema by default.
The "Object class violation" error occurs because the object class which is used for
storing address book records ("inetOrgPerson") doesn't have a country attribute.
As a starting point, I suggest replacing the display layout with this, which should work
properly in OpenLDAP:
Unfortunately there aren't attributes for showing "Personal" and "Business/Work"
web pages separately.
As I mentioned above, inetOrgPerson records don't have a "country" attribute as
standard. One way of working around this limitation is to store the country in a spare
attribute that isn't being used. For example, to store it in "preferredLanguage":
Hello, I'm using the last version with openldap server.
Can you please explain me what I have to modify in the config file to store country and urls?
I get this error: Error whilst setting attribute 'c': Object class violation
Thanks
Last edit: Diego Coppola Libetta 2018-02-06
The display layout in the sample config file includes some attributes - such as the country and
URLs - that are specific to Active Directory and are not defined in OpenLDAP's schema by default.
The "Object class violation" error occurs because the object class which is used for
storing address book records ("inetOrgPerson") doesn't have a country attribute.
As a starting point, I suggest replacing the display layout with this, which should work
properly in OpenLDAP:
Add the following line to the config file if you need to store more than one web page:
Unfortunately there aren't attributes for showing "Personal" and "Business/Work"
web pages separately.
As I mentioned above, inetOrgPerson records don't have a "country" attribute as
standard. One way of working around this limitation is to store the country in a spare
attribute that isn't being used. For example, to store it in "preferredLanguage":
Add the following line to the new display layout:
(I suggest adding it immediately after "Postal Address")
Add the following line to the config file to make this attribute appear as a
drop-down list of countries:
Hope this helps.
Ideally the application shouldn't give you this problem - will look to make changes to prevent it, to be tracked via ticket #48.