Dears,

I have fixed my issue.
I should use the host attribute and not 'cn' one because it is not defined
in the schema I am using.

thanks so much for all of you ...
Best regards

2015-12-15 1:51 GMT-08:00 David Gabriel <[email protected]>:

> Dears
>
> Thanks for all of you for your help and precious support.
> In fact, I am using this tuto
> <http://stezz.blogspot.fr/2012/05/how-to-add-new-schema-to-openldap-24.html>
> and this forum discussion
> <http://www.linuxquestions.org/questions/linux-server-73/how-to-add-a-new-schema-to-openldap-2-4-11-a-700452/>
> to add new schema. I fixed the previous issue I raised by setting the md5
> password. So I refered to these two
> <http://ubuntuforums.org/showthread.php?t=1515119> links
> <https://www.howtoforge.com/install-and-configure-openldap-on-ubuntu-karmic-koala>
> .
> 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.
>
> 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.
> 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).
>
> I am looking for your help.
> Thanks in advance.
> Regards.
>
> 2015-12-12 6:18 GMT-08:00 Brendan Kearney <[email protected]>:
>
>> On 12/11/2015 11:50 AM, David Gabriel wrote:
>>
>> 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"
>>
>> Let me highlight that this type does not exist in my /etc/ldap/schema
>> directory !!
>> Please any help ...
>>
>> Thanks in advance.
>> Regards
>>
>> 2015-12-11 11:46 GMT+01:00 David Gabriel <[email protected]>:
>>
>>> 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.
>>> Could you please point some useful links dealing with this issue or tell
>>> me how shall I proceede ?
>>>
>>> Thanks in advance.
>>> Regards
>>>
>>
>> try this:
>> http://www.cyrill-gremaud.ch/linux/how-to-add-new-schema-to-openldap-2-4/
>>
>
>

Reply via email to