the new context entry's (the first entry of the partition) DN should
be dc=MyCompany,dc=com NOT ou=MyCompany
(you can later create ou=MyCompany under dc=MyCompany,dc=com with the
DN ou=MyCompany,dc=MyCompany,dc=com)

On Fri, Jan 6, 2012 at 7:00 AM, Herson Cruz <[email protected]> wrote:
> Hi all,
>
> I've done the following steps in order to create a new partition for my 
> ou=MyCompany
>
> 1. Copy example partition entry and then paste it with a new name as:
>
>        
> ads-partitionId=MyCompany,ou=partitions,ads-directoryServiceId=default,ou=config
>
> 2. Changed attribute ads-partitionsuffix to dc=MyCompany,dc=com
>
> 3. On ads-directoryServiceId=default,ou=config have added attribute 
> ads-partitions=MyCompany
>
> 4. When trying to create a new ou under Root DSE or trying to copy ou=system 
> and paste it with a new name (MyCompany) I get the following error:
>
> [LDAP: error code 32 - NO_SUCH_OBJECT: failed for MessageType : ADD_REQUEST
> Message ID : 89
>    Add Request :
> Entry
>    dn[n]: ou=MyCompany
>    objectClass: top
>    objectClass: organizationalUnit
>    objectClass: extensibleObject
>    ou: MyCompany
> : ERR_268 Cannot find a partition for ou= MyCompany]
>
>
> What should I be missing?
>
> Any help is very much appreciated, thanks in advance.
>
> Herson.



-- 
Kiran Ayyagari

Reply via email to