5 Replies Latest reply: Jan 3, 2013 9:12 AM by idamGod RSS

    ldapadd command fails

    918074
      Hi

      I have Installed OUD 11.1.2 and created an instance. Now for configuring LDAPSync with OUD and OIM, I am importing the containers into OUD with ldapadd command. But it throws the below error
      [oracle@oia bin]$ ldapadd -h Sravani-PC -p 389 -D "cn=Directory Manager" -w "Passw0rd1" -c -f /home/oracle/Desktop/OUDContainers.ldif
      adding new entry cn=oracleAccounts,dc=mycorp,dc=com
      ldap_add: Type or value exists
      ldap_add: additional info: The provided LDAP attribute objectClass contains duplicate values
      And the ldif command looks like

      dn:cn=oracleAccounts,dc=mycorp,dc=com
      cn:oracleAccounts
      objectClass:top
      objectClass:orclContainer

      dn:cn=Users,cn=oracleAccounts,dc=mycorp,dc=com
      cn:Users
      objectClass:top
      objectClass:orclContainer

      dn:cn=Groups,cn=oracleAccounts,dc=mycorp,dc=com
      cn:Groups
      objectClass:top
      objectClass:orclContainer

      dn:cn=Reserve,cn=oracleAccounts,dc=mycorp,dc=com
      cn:Reserve
      objectClass:top
      objectClass:orclContainer

      I am following this link to complete the prerequisites before configuring LDAPSync
      http://docs.oracle.com/cd/E27559_01/install.1112/e27301/preconfigoud.htm#CHDCEJKD

      I am following this link to complete the prerequisites before configuring LDAPSync am following this link to complete the prerequisites before configuring LDAPSync
      http://docs.oracle.com/cd/E27559_01/install.1112/e27301/preconfigoud.htm#CHDCEJKDhttp://docs.oracle.com/cd/E27559_01/install.1112/e27301/preconfigoud.htm#CHDCEJKD

      Pls help