Hello again friends in apacheds when i attempt to add the following new partition with ldapadd, I get an error
# foobar.ldif dn: dc=foobar,dc=com objectclass: domain objectclass: top dc: foobar -bash-4.1# ldapadd -H ldap://localhost:10389 -D 'uid=admin,ou=system' -w 'xxxxxx' -f instances/default/conf/foobar.ldif adding new entry "dc=foobar,dc=com" ldap_add: No such object (32) additional info: NO_SUCH_OBJECT: failed for MessageType : ADD_REQUEST Message ID : 2 Add Request : Entry dn[n]: dc=foobar,dc=com objectclass: domain objectclass: top dc: cyclecloud : ERR_268 Cannot find a partition for dc=foobar,dc=com Is there something else I need to create first in order to create a new partition? On Thu, Apr 10, 2014 at 5:33 PM, Bryan Berry <bryan.be...@gmail.com> wrote: > Thanks kiran, i will try that out > On Apr 9, 2014 5:21 PM, "Kiran Ayyagari" <kayyag...@apache.org> wrote: > >> On Wed, Apr 9, 2014 at 3:53 PM, Bryan Berry <bryan.be...@gmail.com> >> wrote: >> >> > I would like to create a new partition programmatically, ideally using >> > something like the commandline tool ldapadd, to create a new partition. >> Is >> > >> using ldapadd you can only add the partition's configuration, to make the >> partition available you need to restart the server >> >> > there any way to do this w/out writing java code? alternately is there >> any >> > way to prepopulate a partition in a new ldap instance by putting a copy >> of >> > a partition database? >> > >> if you have the data files in a compatible format then moving them to >> partitions >> folder and adding the appropriate configuration should do the trick >> >> >> >> -- >> Kiran Ayyagari >> http://keydap.com >> >