<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi All,<div><br></div><div>I want to add couple of custom attribute to IPA Host. I have already added custom attributes and objectclass "<span style="font-size: 12pt;">AWSInstanceDetails"</span><span style="font-size: 12pt;"> to my schema succesfully but when i am trying to modify existing host to include the new objectclass i am getting below error</span></div><div><br></div><div>







<p class="p1"><span class="s1">ldap_modify: Object class violation (65)</span></p>
<p class="p1"><span class="s1"><span class="Apple-tab-span">    </span>additional info: missing attribute "sn" required by object class "AWSInstanceDetails"</span></p><p class="p1"><span class="s1"><br></span></p><p class="p1"><span class="s1">my ldif file to add the newly created objectclass.</span></p></div><div><br></div><div>







<p class="p1"><span class="s1">dn: fqdn=testhost,dc=ddiam,dd=online</span></p>
<p class="p1"><span class="s1">changetype: modify</span></p>
<p class="p1"><span class="s1">add: objectclass</span></p>
<p class="p1"><span class="s1">objectclass: AWSInstanceDetails</span></p><p class="p1"><span class="s1"><br></span></p><p class="p1">How can i extend my ipahost objectclass to include additional attributes? i followed this document to extend ipa userobjectclass <a href="https://www.freeipa.org/images/5/5b/FreeIPA33-extending-freeipa.pdf" target="_blank" style="font-size: 12pt;">https://www.freeipa.org/images/5/5b/FreeIPA33-extending-freeipa.pdf</a> but now i need help with ipahost</p><p class="p1"><br></p><p class="p1">As always any help would be much appreciated!</p><p class="p1"><br></p><p class="p1">Thanks,</p><p class="p1">Deepak</p></div>                                       </div></body>
</html>