Regards.Thanks in advance.I am looking for your help.Please note that when I miss one required attribute webmin tells me about its name so I think that it (webmin) well recongnizes my new schema (host).However, I am trying now to add one object with the new added type (host for instance) and I am using webmin tool but I am getting this error: Failed to create new object : LDAP add of cn=host1, dc=test,dc=com failed : attribute 'cn' not allowed.I checked if the procedure was successful by this command ldapsearch -xLLL -D cn=admin,cn=config -W -b cn=config cn=*host* and result was Ok.In fact, I am using this tuto and this forum discussion to add new schema. I fixed the previous issue I raised by setting the md5 password. So I refered to these two links.DearsThanks for all of you for your help and precious support.2015-12-12 6:18 GMT-08:00 Brendan Kearney <bpk678@gmail.com>:try this:On 12/11/2015 11:50 AM, David Gabriel wrote:
RegardsThanks in advance.Please any help ...Let me highlight that this type does not exist in my /etc/ldap/schema directory !!Dears,I checked so many webseites, blogs and tutorials but I still have this issue when I use ldapadd command.
#ldapadd -H ldap:/// -D "cn=admin,cn=config" -x -w mypassword -f cn\=\{0\}host.ldif
adding new entry "cn=host,cn=schema,cn=config"
ldap_add: Other (e.g., implementation specific) error (80)
additional info: olcAttributeTypes: Duplicate attributeType: "1.3.6.1.4.1.37389.1000.0.90.2.12"
2015-12-11 11:46 GMT+01:00 David Gabriel <davidgab283@gmail.com>:
RegardsThanks in advance.Could you please point some useful links dealing with this issue or tell me how shall I proceede ?Hi,I am new to use OpenLdap and I want to import/include new .schema file into my OpenLdap database but I don't how.
http://www.cyrill-gremaud.ch/linux/how-to-add-new-schema-to-openldap-2-4/