tag:blogger.com,1999:blog-6247594794349776721.post1161176364595978109..comments2023-10-05T04:58:31.241-07:00Comments on Hasini's Views: How to introduce a custom object class to embedded LDAP of Identity ServerHasinihttp://www.blogger.com/profile/06687717716325742229noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-6247594794349776721.post-15133028618937131652015-06-28T18:17:36.623-07:002015-06-28T18:17:36.623-07:00Master, Iam Sorry i want to ask, what is the solut...Master, Iam Sorry i want to ask, what is the solution where my directory server hierarchy doesn't have structure like above.<br /><br />My OpenLDAP that is show in apacheDS Studio doesn't have "ou=schema" in the hierarchy.<br />One More Internasionalhttps://www.blogger.com/profile/13171032311819421520noreply@blogger.comtag:blogger.com,1999:blog-6247594794349776721.post-88415401823391036992014-04-21T00:38:16.611-07:002014-04-21T00:38:16.611-07:00Thanks for the post. I tried this and it worked. I...Thanks for the post. I tried this and it worked. I like to make this step more automated. Is wso2 loading the scimPerson schema or is it using the one that comes with ApacheDS? Either way, is the a method to modify the setup files so that my schema get loaded authomatically?Anonymoushttps://www.blogger.com/profile/04769438857078112897noreply@blogger.comtag:blogger.com,1999:blog-6247594794349776721.post-66781499049465213652013-01-29T04:06:34.850-08:002013-01-29T04:06:34.850-08:00This blog post is working fine with Identity Serve...This blog post is working fine with Identity Server 4.0.0.<br />You only need to change the supper class name of the custom object class.<br /><br />Replace the 'wso2Person' from 'scimPerson' at line number 19.<br /><br />Thanks<br />AjithAnonymoushttps://www.blogger.com/profile/15515045708148511476noreply@blogger.comtag:blogger.com,1999:blog-6247594794349776721.post-44924228745020752062012-08-30T04:01:22.853-07:002012-08-30T04:01:22.853-07:00Thank you very much for your LDAP posts. They help...Thank you very much for your LDAP posts. They helped a lot. I could add custom attributes into my Apache DS and retrieve those using my Spring framework's UserDetailsContextMapper. But, when I try to define the above listed schema along with user entries in an embedded ldif file, I'm getting exception while trying to load a user's details.<br />The behaviour varied based on the place where the new schema exists in the ldif.<br />1) When I defined the schema at the end of ldif file,I get an exception saying user not found in the directory.<br />2) When the schema is at the beginning of the ldif file, I'm getting exception:<br />org.springframework.ldap.NameNotFoundException: [LDAP: error code 32 - NO_SUCH_OBJECT: failed for <br /><br />If I delete the schema, I'm able to load the user details.<br />Can you please let me know what the issue could be.<br /><br />Thanks,<br />Kiranakshttps://www.blogger.com/profile/16336005437843005642noreply@blogger.com