{"id":2338,"date":"2011-02-17T14:17:52","date_gmt":"2011-02-17T18:17:52","guid":{"rendered":"http:\/\/onlineappsdba.com\/index.php\/2011\/02\/17\/inetorgperson-objectclass-disappeared-in-oid-schema\/"},"modified":"2011-02-17T14:17:52","modified_gmt":"2011-02-17T18:17:52","slug":"inetorgperson-objectclass-disappeared-in-oid-schema","status":"publish","type":"post","link":"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/17\/inetorgperson-objectclass-disappeared-in-oid-schema\/","title":{"rendered":"inetorgperson objectclass disappeared in OID schema"},"content":{"rendered":"<p>We got into a panic situation yesterday for a while when the main objectclass <strong>inetorgperson <\/strong>disappeared all of a sudden in Oracle Internet Directory.<\/p>\n<p>All it happened like this: We had added a custom attribute in OID schema and specified this as an optional attribute in <strong>inetorgperson <\/strong>object class. We noticed that the attribute name specified was wrong (while creating) and hence thought to recreate the attribute. We directly deleted the attribute from schema in the Oracle Directory Manager without removing the reference in <strong>inetorgperson <\/strong>objectclass. Not sure whether it has prompted any warning while doing so, but my memory tells me it did not&#8230;.<\/p>\n<p>We never knew that <strong>inetorgperson <\/strong>was missing then. When we attempted to recreate the custom attribute once again and tried to add it in <strong>inetorgperson <\/strong>objectclass, it was found missing in schema.<\/p>\n<p><strong>Few things checked:<\/strong><\/p>\n<p>Took the OID schema in ldif file as shown below and searched for inetorgperson objectclass, but found nothing.<\/p>\n<p>[oracle@hostname bin]$ .\/ldapsearch -h hostname -p 389 -D cn=orcladmin -w admin123 -L -s base -b &#8220;cn=subschemasubentry&#8221; &#8220;(objectclass=*)&#8221; &#8220;objectclasses&#8221; &#8220;attributetypes&#8221; &gt;list_attr_objs.ldif<\/p>\n<p>We have also searched in OIDDAS console for this objectclass and wondered that none of the objectclasses (not only inetorgperson) were appearing in User Preferences section.<\/p>\n<p>But, what were the implications of this:<\/p>\n<p>1. Unable to create any user in OID or OAM (user store is OID).<\/p>\n<p>2. Most of the OID operations i.e., search, modify were not functioning.<\/p>\n<p>We also never knew that the solution was so simple (as it would work straight forward) as creating the new <strong>inetorgperson <\/strong>objectclass by taking from a working instance.<\/p>\n<p><strong>Action Plan:<\/strong><\/p>\n<p>Took the inetorgperson objectclass stuff from from other working instance. Modified (removed unnecessary stuff) certain attributes. You may need to be cautious here!<\/p>\n<p>The inetorgperson related ldif file contents looks like this:<\/p>\n<p>dn: cn=subschemasubentry<br \/>\nadd: objectclasses<br \/>\nobjectclasses: ( 2.16.840.1.113730.3.2.2 NAME &#8216;inetOrgPerson&#8217; SUP organizationalPerson STRUCTURAL MAY ( audio $ businessCategory $ carLicense $ displayName $ employeeNumber $ employeeType $ givenName $ homePhone $ homePostalAddress $ initials $ jpegPhoto $ labeledURI $ mail $ manager $ mobile $ pager $ photo $ preferredLanguage $ roomNumber $ secretary $ uid $ userCertificate $ x500UniqueIdentifier $ userSMIMECertificate $ userPKCS12 $ o ) )<\/p>\n<p>Added that objectclass into the OID schema using the command below.<\/p>\n<p><!--[if gte mso 9]&amp;gt;     Normal   0               false   false   false      EN-US   X-NONE   X-NONE                                                                                                     &amp;lt;![endif]--><!--[if gte mso 9]&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                &amp;lt;![endif]--><!--[if gte mso 10]&amp;gt;   \/* Style Definitions *\/  table.MsoNormalTable \t{mso-style-name:\"Table Normal\"; \tmso-tstyle-rowband-size:0; \tmso-tstyle-colband-size:0; \tmso-style-noshow:yes; \tmso-style-priority:99; \tmso-style-qformat:yes; \tmso-style-parent:\"\"; \tmso-padding-alt:0in 5.4pt 0in 5.4pt; \tmso-para-margin-top:0in; \tmso-para-margin-right:0in; \tmso-para-margin-bottom:10.0pt; \tmso-para-margin-left:0in; \tline-height:115%; \tmso-pagination:widow-orphan; \tfont-size:11.0pt; \tfont-family:\"Calibri\",\"sans-serif\"; \tmso-ascii-font-family:Calibri; \tmso-ascii-theme-font:minor-latin; \tmso-fareast-font-family:\"Times New Roman\"; \tmso-fareast-theme-font:minor-fareast; \tmso-hansi-font-family:Calibri; \tmso-hansi-theme-font:minor-latin;}  &amp;lt;![endif]-->[oracle@hostname bin]$ .\/ldapmodify -h hostname -p 389 -D &#8220;cn=orcladmin&#8221; -w admin123 -f Correct_inetorgperson.ldif<br \/>\nmodifying entry cn=subschemasubentry<\/p>\n<p>We had bounced the OID and OC4J_SECURITY processes for this new attribute to take effect. Then we were able to view the objectclasses in OIDDAS console too. I was saved then!!!<\/p>\n<p>Few may be considering that it is very silly thing, but it would be helpful for those who witness this behavior in the future. Well, I think so!!!<\/p>\n<p>By the way, the metalink article helped us is this: <!--[if gte mso 9]&amp;gt;     Normal   0               false   false   false      EN-US   X-NONE   X-NONE                                                                                                     &amp;lt;![endif]--><!--[if gte mso 9]&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                &amp;lt;![endif]--><!--[if gte mso 10]&amp;gt;   \/* Style Definitions *\/  table.MsoNormalTable \t{mso-style-name:\"Table Normal\"; \tmso-tstyle-rowband-size:0; \tmso-tstyle-colband-size:0; \tmso-style-noshow:yes; \tmso-style-priority:99; \tmso-style-qformat:yes; \tmso-style-parent:\"\"; \tmso-padding-alt:0in 5.4pt 0in 5.4pt; \tmso-para-margin-top:0in; \tmso-para-margin-right:0in; \tmso-para-margin-bottom:10.0pt; \tmso-para-margin-left:0in; \tline-height:115%; \tmso-pagination:widow-orphan; \tfont-size:11.0pt; \tfont-family:\"Calibri\",\"sans-serif\"; \tmso-ascii-font-family:Calibri; \tmso-ascii-theme-font:minor-latin; \tmso-fareast-font-family:\"Times New Roman\"; \tmso-fareast-theme-font:minor-fareast; \tmso-hansi-font-family:Calibri; \tmso-hansi-theme-font:minor-latin;}  &amp;lt;![endif]--><strong>749308.1.<\/strong>This article helps you add the invalid objectclass in your OID schema.<\/p>\n<p><!--[if gte mso 9]&amp;gt;     Normal   0               false   false   false      EN-US   X-NONE   X-NONE                                                                                                     &amp;lt;![endif]--><!--[if gte mso 9]&amp;gt;                                                                                                                                                                                                                                                                                                                                                                                                                                &amp;lt;![endif]--><!--[if gte mso 10]&amp;gt;   \/* Style Definitions *\/  table.MsoNormalTable \t{mso-style-name:\"Table Normal\"; \tmso-tstyle-rowband-size:0; \tmso-tstyle-colband-size:0; \tmso-style-noshow:yes; \tmso-style-priority:99; \tmso-style-qformat:yes; \tmso-style-parent:\"\"; \tmso-padding-alt:0in 5.4pt 0in 5.4pt; \tmso-para-margin-top:0in; \tmso-para-margin-right:0in; \tmso-para-margin-bottom:10.0pt; \tmso-para-margin-left:0in; \tline-height:115%; \tmso-pagination:widow-orphan; \tfont-size:11.0pt; \tfont-family:\"Calibri\",\"sans-serif\"; \tmso-ascii-font-family:Calibri; \tmso-ascii-theme-font:minor-latin; \tmso-fareast-font-family:\"Times New Roman\"; \tmso-fareast-theme-font:minor-fareast; \tmso-hansi-font-family:Calibri; \tmso-hansi-theme-font:minor-latin;}  &amp;lt;![endif]--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We got into a panic situation yesterday for a while when the main objectclass inetorgperson disappeared all of a sudden [&hellip;]<\/p>\n","protected":false},"author":115,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[42],"tags":[307,31,466],"class_list":["post-2338","post","type-post","status-publish","format-standard","hentry","category-troubleshooting","tag-ldap","tag-oid","tag-troubleshooting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>inetorgperson objectclass disappeared in OID schema -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/17\/inetorgperson-objectclass-disappeared-in-oid-schema\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"inetorgperson objectclass disappeared in OID schema -\" \/>\n<meta property=\"og:description\" content=\"We got into a panic situation yesterday for a while when the main objectclass inetorgperson disappeared all of a sudden [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/17\/inetorgperson-objectclass-disappeared-in-oid-schema\/\" \/>\n<meta property=\"article:published_time\" content=\"2011-02-17T18:17:52+00:00\" \/>\n<meta name=\"author\" content=\"Masroof Ahmad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Masroof Ahmad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/17\/inetorgperson-objectclass-disappeared-in-oid-schema\/\",\"url\":\"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/17\/inetorgperson-objectclass-disappeared-in-oid-schema\/\",\"name\":\"inetorgperson objectclass disappeared in OID schema -\",\"isPartOf\":{\"@id\":\"https:\/\/onlineappsdba.com\/#website\"},\"datePublished\":\"2011-02-17T18:17:52+00:00\",\"author\":{\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\"},\"breadcrumb\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/17\/inetorgperson-objectclass-disappeared-in-oid-schema\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/17\/inetorgperson-objectclass-disappeared-in-oid-schema\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/17\/inetorgperson-objectclass-disappeared-in-oid-schema\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineappsdba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"inetorgperson objectclass disappeared in OID schema\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/onlineappsdba.com\/#website\",\"url\":\"https:\/\/onlineappsdba.com\/\",\"name\":\"\",\"description\":\"Oracle Implementation &amp; Training Experts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/onlineappsdba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\",\"name\":\"Masroof Ahmad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"caption\":\"Masroof Ahmad\"},\"url\":\"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"inetorgperson objectclass disappeared in OID schema -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/17\/inetorgperson-objectclass-disappeared-in-oid-schema\/","og_locale":"en_US","og_type":"article","og_title":"inetorgperson objectclass disappeared in OID schema -","og_description":"We got into a panic situation yesterday for a while when the main objectclass inetorgperson disappeared all of a sudden [&hellip;]","og_url":"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/17\/inetorgperson-objectclass-disappeared-in-oid-schema\/","article_published_time":"2011-02-17T18:17:52+00:00","author":"Masroof Ahmad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Masroof Ahmad","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/17\/inetorgperson-objectclass-disappeared-in-oid-schema\/","url":"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/17\/inetorgperson-objectclass-disappeared-in-oid-schema\/","name":"inetorgperson objectclass disappeared in OID schema -","isPartOf":{"@id":"https:\/\/onlineappsdba.com\/#website"},"datePublished":"2011-02-17T18:17:52+00:00","author":{"@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb"},"breadcrumb":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/17\/inetorgperson-objectclass-disappeared-in-oid-schema\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineappsdba.com\/index.php\/2011\/02\/17\/inetorgperson-objectclass-disappeared-in-oid-schema\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/onlineappsdba.com\/index.php\/2011\/02\/17\/inetorgperson-objectclass-disappeared-in-oid-schema\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineappsdba.com\/"},{"@type":"ListItem","position":2,"name":"inetorgperson objectclass disappeared in OID schema"}]},{"@type":"WebSite","@id":"https:\/\/onlineappsdba.com\/#website","url":"https:\/\/onlineappsdba.com\/","name":"","description":"Oracle Implementation &amp; Training Experts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/onlineappsdba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb","name":"Masroof Ahmad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","caption":"Masroof Ahmad"},"url":"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/"}]}},"_links":{"self":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/2338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/comments?post=2338"}],"version-history":[{"count":0,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/2338\/revisions"}],"wp:attachment":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/media?parent=2338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/categories?post=2338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/tags?post=2338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}