You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Karthik Samudram Jayaraman (JIRA)" <ji...@apache.org> on 2012/09/04 21:44:08 UTC

[jira] [Created] (DIRSTUDIO-831) Creating and using Custom Object Class in my Apache Directory Studio

Karthik Samudram Jayaraman created DIRSTUDIO-831:
----------------------------------------------------

             Summary: Creating and using Custom Object Class in my Apache Directory Studio
                 Key: DIRSTUDIO-831
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-831
             Project: Directory Studio
          Issue Type: Question
          Components: studio-ldifeditor
    Affects Versions: 1.5.3
         Environment: I am running Directory Studio Version: 1.5.3.v20100330 on Windows 7. I am not using the Apache DS.
            Reporter: Karthik Samudram Jayaraman
            Priority: Blocker


Disclaimer: I am new to the world of LDAP authentication and am learning as I go. 

I am in need of a custom object class where I can add custom attributes that is not available with inetorgperson. The current situation is that I think I have created a custom schema with the object class I need, but, I am still unable to choose this custom object class when I am creating a new entry.

After a lot of trying and retrying, reading through multiple sites and suggestions, I finally created a new schema that looks very much like inetorgperson. I arrived here by following the steps below:

1) In my LDAP Browser, under ou=schema, I navigate to cn=inetorgperson
2) Right click on it -> Export -> LDIF Export.
3) I use this as the template and change all occurrences of "inetorgperson" to my custom name.
4) Towards the end of the LDIF file,  I changed the m-supObjectClass to point to inetorgperson
5) I then modify the LDIF file to add the custom attributes.
6) I then import this modified LDIF file.
7) I can now see my cn=instinetorgperson  right under the cn=inetorgperson.

The attributes seems to be similar.
But, I am still unable to choose this custom object class when I am creating a new entry.

What other information would you need to help me out here.

Thanks in advance

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DIRSTUDIO-831) Creating and using Custom Object Class in my Apache Directory Studio

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448101#comment-13448101 ] 

Emmanuel Lecharny commented on DIRSTUDIO-831:
---------------------------------------------

" I am not using the Apache DS." this is what you said in your environment :)

Ok, so you create an ApacheDS instance, which is good.

There is one extra step needed : when you select "create new entry", you will have a list of the possible ObjectClass, and your ObjectClass is not present in this list. Just click on the "Reload Schema" icon on the right of the input box, your ObjectClass should now appears.

Ok, not very intuitive...
                
> Creating and using Custom Object Class in my Apache Directory Studio
> --------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-831
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-831
>             Project: Directory Studio
>          Issue Type: Question
>          Components: studio-ldifeditor
>    Affects Versions: 1.5.3
>         Environment: I am running Directory Studio Version: 1.5.3.v20100330 on Windows 7. I am not using the Apache DS.
>            Reporter: Karthik Samudram Jayaraman
>            Priority: Blocker
>         Attachments: To-Apache-Jira-Screenshot1.gif
>
>
> Disclaimer: I am new to the world of LDAP authentication and am learning as I go. 
> I am in need of a custom object class where I can add custom attributes that is not available with inetorgperson. The current situation is that I think I have created a custom schema with the object class I need, but, I am still unable to choose this custom object class when I am creating a new entry.
> After a lot of trying and retrying, reading through multiple sites and suggestions, I finally created a new schema that looks very much like inetorgperson. I arrived here by following the steps below:
> 1) In my LDAP Browser, under ou=schema, I navigate to cn=inetorgperson
> 2) Right click on it -> Export -> LDIF Export.
> 3) I use this as the template and change all occurrences of "inetorgperson" to my custom name.
> 4) Towards the end of the LDIF file,  I changed the m-supObjectClass to point to inetorgperson
> 5) I then modify the LDIF file to add the custom attributes.
> 6) I then import this modified LDIF file.
> 7) I can now see my cn=instinetorgperson  right under the cn=inetorgperson.
> The attributes seems to be similar.
> But, I am still unable to choose this custom object class when I am creating a new entry.
> What other information would you need to help me out here.
> Thanks in advance

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DIRSTUDIO-831) Creating and using Custom Object Class in my Apache Directory Studio

Posted by "Karthik Samudram Jayaraman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448064#comment-13448064 ] 

Karthik Samudram Jayaraman commented on DIRSTUDIO-831:
------------------------------------------------------

Emmanuel,
  I have also uploaded an image hoping that it might throw some perspective of what I am looking at. Let me know if you need some other visual aid to explain what I am doing here.

Karthik
                
> Creating and using Custom Object Class in my Apache Directory Studio
> --------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-831
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-831
>             Project: Directory Studio
>          Issue Type: Question
>          Components: studio-ldifeditor
>    Affects Versions: 1.5.3
>         Environment: I am running Directory Studio Version: 1.5.3.v20100330 on Windows 7. I am not using the Apache DS.
>            Reporter: Karthik Samudram Jayaraman
>            Priority: Blocker
>         Attachments: To-Apache-Jira-Screenshot1.gif
>
>
> Disclaimer: I am new to the world of LDAP authentication and am learning as I go. 
> I am in need of a custom object class where I can add custom attributes that is not available with inetorgperson. The current situation is that I think I have created a custom schema with the object class I need, but, I am still unable to choose this custom object class when I am creating a new entry.
> After a lot of trying and retrying, reading through multiple sites and suggestions, I finally created a new schema that looks very much like inetorgperson. I arrived here by following the steps below:
> 1) In my LDAP Browser, under ou=schema, I navigate to cn=inetorgperson
> 2) Right click on it -> Export -> LDIF Export.
> 3) I use this as the template and change all occurrences of "inetorgperson" to my custom name.
> 4) Towards the end of the LDIF file,  I changed the m-supObjectClass to point to inetorgperson
> 5) I then modify the LDIF file to add the custom attributes.
> 6) I then import this modified LDIF file.
> 7) I can now see my cn=instinetorgperson  right under the cn=inetorgperson.
> The attributes seems to be similar.
> But, I am still unable to choose this custom object class when I am creating a new entry.
> What other information would you need to help me out here.
> Thanks in advance

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (DIRSTUDIO-831) Creating and using Custom Object Class in my Apache Directory Studio

Posted by "Karthik Samudram Jayaraman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karthik Samudram Jayaraman updated DIRSTUDIO-831:
-------------------------------------------------

    Attachment: To-Apache-Jira-Screenshot1.gif

This indicates the Standard inetorgperson schema under the standard ou=schema.
This also shows the cn=institutesinetorgperson schema which is the custom schema
                
> Creating and using Custom Object Class in my Apache Directory Studio
> --------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-831
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-831
>             Project: Directory Studio
>          Issue Type: Question
>          Components: studio-ldifeditor
>    Affects Versions: 1.5.3
>         Environment: I am running Directory Studio Version: 1.5.3.v20100330 on Windows 7. I am not using the Apache DS.
>            Reporter: Karthik Samudram Jayaraman
>            Priority: Blocker
>         Attachments: To-Apache-Jira-Screenshot1.gif
>
>
> Disclaimer: I am new to the world of LDAP authentication and am learning as I go. 
> I am in need of a custom object class where I can add custom attributes that is not available with inetorgperson. The current situation is that I think I have created a custom schema with the object class I need, but, I am still unable to choose this custom object class when I am creating a new entry.
> After a lot of trying and retrying, reading through multiple sites and suggestions, I finally created a new schema that looks very much like inetorgperson. I arrived here by following the steps below:
> 1) In my LDAP Browser, under ou=schema, I navigate to cn=inetorgperson
> 2) Right click on it -> Export -> LDIF Export.
> 3) I use this as the template and change all occurrences of "inetorgperson" to my custom name.
> 4) Towards the end of the LDIF file,  I changed the m-supObjectClass to point to inetorgperson
> 5) I then modify the LDIF file to add the custom attributes.
> 6) I then import this modified LDIF file.
> 7) I can now see my cn=instinetorgperson  right under the cn=inetorgperson.
> The attributes seems to be similar.
> But, I am still unable to choose this custom object class when I am creating a new entry.
> What other information would you need to help me out here.
> Thanks in advance

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DIRSTUDIO-831) Creating and using Custom Object Class in my Apache Directory Studio

Posted by "Karthik Samudram Jayaraman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448060#comment-13448060 ] 

Karthik Samudram Jayaraman commented on DIRSTUDIO-831:
------------------------------------------------------

Emmanuel,
  Appreciate the prompt reply. I am using the Apache directory Studio and have created a server within that. I am not using any other external LDAP server. So, Apache Directory Studio is where I am having problems with.

Am I making sense :) ? Or is my lack of experience in LDAP terminology throwing you off?


Karthik
                
> Creating and using Custom Object Class in my Apache Directory Studio
> --------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-831
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-831
>             Project: Directory Studio
>          Issue Type: Question
>          Components: studio-ldifeditor
>    Affects Versions: 1.5.3
>         Environment: I am running Directory Studio Version: 1.5.3.v20100330 on Windows 7. I am not using the Apache DS.
>            Reporter: Karthik Samudram Jayaraman
>            Priority: Blocker
>         Attachments: To-Apache-Jira-Screenshot1.gif
>
>
> Disclaimer: I am new to the world of LDAP authentication and am learning as I go. 
> I am in need of a custom object class where I can add custom attributes that is not available with inetorgperson. The current situation is that I think I have created a custom schema with the object class I need, but, I am still unable to choose this custom object class when I am creating a new entry.
> After a lot of trying and retrying, reading through multiple sites and suggestions, I finally created a new schema that looks very much like inetorgperson. I arrived here by following the steps below:
> 1) In my LDAP Browser, under ou=schema, I navigate to cn=inetorgperson
> 2) Right click on it -> Export -> LDIF Export.
> 3) I use this as the template and change all occurrences of "inetorgperson" to my custom name.
> 4) Towards the end of the LDIF file,  I changed the m-supObjectClass to point to inetorgperson
> 5) I then modify the LDIF file to add the custom attributes.
> 6) I then import this modified LDIF file.
> 7) I can now see my cn=instinetorgperson  right under the cn=inetorgperson.
> The attributes seems to be similar.
> But, I am still unable to choose this custom object class when I am creating a new entry.
> What other information would you need to help me out here.
> Thanks in advance

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DIRSTUDIO-831) Creating and using Custom Object Class in my Apache Directory Studio

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448039#comment-13448039 ] 

Emmanuel Lecharny commented on DIRSTUDIO-831:
---------------------------------------------

First thing you have to know : the schema is *not* standardized across LDAP servers : each one of them have their one  specific format, and we don't support anything but ApacheDS in Studio (at least, atm).

So bottom line, whatever you have done will work on ApacheDS, but not on your LDAP server.

Btw, which LDAP server are you using ?
                
> Creating and using Custom Object Class in my Apache Directory Studio
> --------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-831
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-831
>             Project: Directory Studio
>          Issue Type: Question
>          Components: studio-ldifeditor
>    Affects Versions: 1.5.3
>         Environment: I am running Directory Studio Version: 1.5.3.v20100330 on Windows 7. I am not using the Apache DS.
>            Reporter: Karthik Samudram Jayaraman
>            Priority: Blocker
>         Attachments: To-Apache-Jira-Screenshot1.gif
>
>
> Disclaimer: I am new to the world of LDAP authentication and am learning as I go. 
> I am in need of a custom object class where I can add custom attributes that is not available with inetorgperson. The current situation is that I think I have created a custom schema with the object class I need, but, I am still unable to choose this custom object class when I am creating a new entry.
> After a lot of trying and retrying, reading through multiple sites and suggestions, I finally created a new schema that looks very much like inetorgperson. I arrived here by following the steps below:
> 1) In my LDAP Browser, under ou=schema, I navigate to cn=inetorgperson
> 2) Right click on it -> Export -> LDIF Export.
> 3) I use this as the template and change all occurrences of "inetorgperson" to my custom name.
> 4) Towards the end of the LDIF file,  I changed the m-supObjectClass to point to inetorgperson
> 5) I then modify the LDIF file to add the custom attributes.
> 6) I then import this modified LDIF file.
> 7) I can now see my cn=instinetorgperson  right under the cn=inetorgperson.
> The attributes seems to be similar.
> But, I am still unable to choose this custom object class when I am creating a new entry.
> What other information would you need to help me out here.
> Thanks in advance

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DIRSTUDIO-831) Creating and using Custom Object Class in my Apache Directory Studio

Posted by "Karthik Samudram Jayaraman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448783#comment-13448783 ] 

Karthik Samudram Jayaraman commented on DIRSTUDIO-831:
------------------------------------------------------

Emmanuel,
   It worked!!!! OMG. I was racking my brains and testing my Googling skills for almost a week before I posted here. I guess I should have posted this earlier. Thanks so much for your help. Let me go on with my setup and will make sure I log an issue with you guys first :).

Once again, appreciate the prompt help.

karthik
                
> Creating and using Custom Object Class in my Apache Directory Studio
> --------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-831
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-831
>             Project: Directory Studio
>          Issue Type: Question
>          Components: studio-ldifeditor
>    Affects Versions: 1.5.3
>         Environment: I am running Directory Studio Version: 1.5.3.v20100330 on Windows 7. I am not using the Apache DS.
>            Reporter: Karthik Samudram Jayaraman
>            Priority: Blocker
>         Attachments: To-Apache-Jira-Screenshot1.gif
>
>
> Disclaimer: I am new to the world of LDAP authentication and am learning as I go. 
> I am in need of a custom object class where I can add custom attributes that is not available with inetorgperson. The current situation is that I think I have created a custom schema with the object class I need, but, I am still unable to choose this custom object class when I am creating a new entry.
> After a lot of trying and retrying, reading through multiple sites and suggestions, I finally created a new schema that looks very much like inetorgperson. I arrived here by following the steps below:
> 1) In my LDAP Browser, under ou=schema, I navigate to cn=inetorgperson
> 2) Right click on it -> Export -> LDIF Export.
> 3) I use this as the template and change all occurrences of "inetorgperson" to my custom name.
> 4) Towards the end of the LDIF file,  I changed the m-supObjectClass to point to inetorgperson
> 5) I then modify the LDIF file to add the custom attributes.
> 6) I then import this modified LDIF file.
> 7) I can now see my cn=instinetorgperson  right under the cn=inetorgperson.
> The attributes seems to be similar.
> But, I am still unable to choose this custom object class when I am creating a new entry.
> What other information would you need to help me out here.
> Thanks in advance

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (DIRSTUDIO-831) Creating and using Custom Object Class in my Apache Directory Studio

Posted by "Karthik Samudram Jayaraman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karthik Samudram Jayaraman resolved DIRSTUDIO-831.
--------------------------------------------------

       Resolution: Not A Problem
    Fix Version/s: 1.5.3

Excellent prompt support. Very impressed with the turnaround time with a response from the team.
                
> Creating and using Custom Object Class in my Apache Directory Studio
> --------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-831
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-831
>             Project: Directory Studio
>          Issue Type: Question
>          Components: studio-ldifeditor
>    Affects Versions: 1.5.3
>         Environment: I am running Directory Studio Version: 1.5.3.v20100330 on Windows 7. I am not using the Apache DS.
>            Reporter: Karthik Samudram Jayaraman
>            Priority: Blocker
>             Fix For: 1.5.3
>
>         Attachments: To-Apache-Jira-Screenshot1.gif
>
>
> Disclaimer: I am new to the world of LDAP authentication and am learning as I go. 
> I am in need of a custom object class where I can add custom attributes that is not available with inetorgperson. The current situation is that I think I have created a custom schema with the object class I need, but, I am still unable to choose this custom object class when I am creating a new entry.
> After a lot of trying and retrying, reading through multiple sites and suggestions, I finally created a new schema that looks very much like inetorgperson. I arrived here by following the steps below:
> 1) In my LDAP Browser, under ou=schema, I navigate to cn=inetorgperson
> 2) Right click on it -> Export -> LDIF Export.
> 3) I use this as the template and change all occurrences of "inetorgperson" to my custom name.
> 4) Towards the end of the LDIF file,  I changed the m-supObjectClass to point to inetorgperson
> 5) I then modify the LDIF file to add the custom attributes.
> 6) I then import this modified LDIF file.
> 7) I can now see my cn=instinetorgperson  right under the cn=inetorgperson.
> The attributes seems to be similar.
> But, I am still unable to choose this custom object class when I am creating a new entry.
> What other information would you need to help me out here.
> Thanks in advance

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira