0 Replies Latest reply: Nov 29, 2012 5:55 PM by delhi RSS

    Violation in Adding a New Attribute to an User-Defined Object Class

    delhi
      Hi All,

      I am using below LDIF file to add a new custom attribute "ExportType3" and add it in my existing custom object class "Export":

      dn: cn=subschemasubentry
      changetype: modify
      add: attributetypes
      attributetypes: ( 2.5.4.72 NAME 'ExportType3' SUP name SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' )

      dn: cn=subschemasubentry
      changetype: modify

      delete: objectclass

      objectclass: ( 2.5.4.67 NAME 'Export' SUP top AUXILIARY MAY ( accessibility $ assistant $ authPassword $ c $ division $ krbPrincipalName $ middleName $ orclActiveEndDate $ orclActiveStartDate $ orclDateOfBirth $ orclDefaultProfileGroup $ orclDisplayPersonalInfo $ orclGender $ orclHireDate $ orclIsEnabled $ orclIsVisible $ orclMaidenName $ orclPKCS12Hint $ orclPassword $ orclPasswordHint $ orclPasswordHintAnswer $ orclPasswordVerifier $ orclSAMAccountName $ orclSecondaryUID $ orclTimeZone $ orclUIAccessibilityMode $ orclUserProvMode $ orclWirelessAccountNumber $ orclWorkflowNotificationPref $ userPKCS12 $ workgroup $ AccountType ) )
      -
      add: objectclass

      objectclass: ( 2.5.4.67 NAME 'Export' SUP top AUXILIARY MAY ( accessibility $ assistant $ authPassword $ c $ division $ krbPrincipalName $ middleName $ orclActiveEndDate $ orclActiveStartDate $ orclDateOfBirth $ orclDefaultProfileGroup $ orclDisplayPersonalInfo $ orclGender $ orclHireDate $ orclIsEnabled $ orclIsVisible $ orclMaidenName $ orclPKCS12Hint $ orclPassword $ orclPasswordHint $ orclPasswordHintAnswer $ orclPasswordVerifier $ orclSAMAccountName $ orclSecondaryUID $ orclTimeZone $ orclUIAccessibilityMode $ orclUserProvMode $ orclWirelessAccountNumber $ orclWorkflowNotificationPref $ userPKCS12 $ workgroup $ AccountType $ ExportType3 ) )

      The attribute "ExportType3" gets added in OID schema however it is not attached to my exisiting object class. The LDAPMODIFY tool gave me below error:

      modifying entry cn=subschemasubentry
      ldap_modify: Object class violation

      Any pointer to resolve the issue?

      Regards,
      Sunny