directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre-Arnaud Marcelot>
Subject Re: [ApacheDS] Unable to create a partition with DS 2.0.0 M5 and Studio 2.0.0 v2
Date Thu, 23 Feb 2012 12:56:28 GMT
Thanks Javier for giving us a hand here and the detailed tutorial.


On 23 févr. 2012, at 13:24, Javier Estrada wrote:

> Jadfer,
> I went through this exercise yesterday.  I'll summarize what I did.
> 1. In Apache Directory Studio create a server and run it.
> 2. Right-click on the server and select Open Configuration.
> 3. Select Partitions on the bottom tab, then click on the Add button.
> 4. Rename the partition on the right-hand side.  (e.g., ID: myPartition, Suffix: dc=mypartition,dc=com)
> 5. Save the config.ldif file.
> 5. Restart the server.  This will reload the config.ldif for the server and create the
> 6. On the LDAP Browser, select the Root DSE node.
> 7. Right-click on the Root DSE node and select New, then New Context Entry.
> 8. On the dialog box, select the [Use existing entry as template] option and then click
on the [Browse...] button
> 9. On the Select DN dialog box that appears, select the ou=system and then click OK.
> 10. Now back on the New Context Entry dialog, select the [Next] button.
> 11. On the next dialog that offers you Object Classes, just click [Next] again.
> 12. Enter the DN that corresponds to your partition (dc=mypartition,dc=com), then click
> 13. Fill the ou attribute (e.g., "mypartition") that appears in the next dialog and then
click [Finish].
> Regards,
> --Javier
> -----Original Message-----
> From: Jadfer [] 
> Sent: Wednesday, February 22, 2012 12:43 PM
> To:
> Subject: Re: [ApacheDS] Unable to create a partition with DS 2.0.0 M5 and Studio 2.0.0
> I have tried manually creating the partition and am not totally sure how to 
> use Studio to make a partition as I have found no docs for v2 or anything 
> that tells you how to make a partition using Studio.
> In the end it keeps giving me a protocol error. A bonus would be to find out 
> exactly how to create a partition in Studio with the wizard. I know how to 
> run the wizard, I am not sure what choices to use.
> --------------------------------------------------
> From: "Pierre-Arnaud Marcelot" <>
> Sent: Wednesday, February 22, 2012 3:08 AM
> To: <>
> Cc: "Jadfer" <>
> Subject: Re: [ApacheDS] Unable to create a partition with DS 2.0.0 M5 and 
> Studio 2.0.0 v2
>> Hi Jadfer,
>> Take a look at the 'example' partition (dc=example,dc=com).
>> This partition contains the minimum set of indexes.
>> Or, you can use Apache Directory Studio and the new Apache DS 2.0 
>> Configuration editor to create your own partition visually (maybe try to 
>> remove your incomplete partition definition before doing that).
>> Regards,
>> Pierre-Arnaud
>> On 21 févr. 2012, at 20:01, Jadfer wrote:
>>> I recently downloaded the current versions of DS and Studio. I simply 
>>> need 4 usernames for a program that requires Active Directory to supply 
>>> the user accounts.
>>> I have been creating the new ldap entry on the server for the partition 
>>> id, partition suffix at a minimum to get it created. It requires that I 
>>> add the partition indexed attributes (what do I enter? I don't know what 
>>> it should be.) so I just put '1'. I also added the OU as well as it 
>>> wouldn't work any other way.
>>> I keep getting protocol error 2, and I don't know how to get around it.
>>> Any ideas?
>>> Thanks

View raw message