Thursday, October 6, 2011

Creating partitions in ApacheDS

With ApacheDS as you may know, we can create our  customized partitions in order to keep our data according to  our requirements.
Lets have a look on creating partitions..

Steps
  • As I mentioned in my previous post , install and create a connection for the LDAP server.
  •  Double click on server link. You will see the server.xml's graphical view. From that select 'Partitions' tab

  • Under partitions section you will see default two partitions are listed out
    • System
    • example
  • Click on the 'Add' button. You will see a new partition will be created. Provide ID and suffix. Click on 'Save' button @ toolbar.

  • You can do this @ server.xml by adding new .Go to the ApcheDS installation directory find the server.xml and copy one of the existing "example" partition.
  • Now you  created a new partition called "acme.com". But you can not view the partition at LDAP browser. For that you have to create a new 'context entry' for the newly created partition.
  • Go to LDAP browser,'Root DSE '-->Right click->'New Context entry' .Select 'Create entry from scratch' option.
  • Select 'ObjectClass' as 'Domain' click  'Add' so you will see added object classes at your right pane.

  • Now enter the DN as you provided when you create the partition.
    • eg: dc=acme,dc=com
  • Click 'next' and Finish.You will see the newly created entry at LDAP browser .

  • When you try to make connections to newly created partition , You have to create a user/uid for this partition .

3 comments:

  1. Thanks for posting the detail on how to create partitions in Apaches. The whole procedure seems to me easy to carry out as per your explanation. Great work!
    digital certificates

    ReplyDelete
  2. Hi
    I am using the ApacheDS 2 and your description from here on:
    Now you created a new partition called "acme.com". But you can not view the partition at LDAP browser. For that you have to create a new 'context entry' for the newly created partition.
    is obsolete, only you have to restart the server and the Studio shows the new partition.

    ReplyDelete
  3. Thanks fro the info Johanes..would be useful to others..

    ReplyDelete