Previous Topic: Example: Using Auto-Registered Attributes

Next Topic: Replicate Password Policy Attributes to Another LDAP Directory

Use Both Auto-Registered Attributes and Extensible Attributes

You can allow an object class to use auto-registered attributes and also any attributes defined in the DSA schema. This allows the class to use all attributes already defined in the schema, and also to contain any attribute that is not already defined in the DSA schema.

To allow an object class to use all defined and non-defined attributes

  1. Open the schema file, and find the object class that you want to update.
  2. Add both all-attributes and auto-register-attributes to the may-contain list, as follows:
    schema set object-class prefix:2 = {
    ...
    may-contain
    	auto-register-attributes
    	all-attributes
    ...
    };
    
  3. Initialize the DSA.


Copyright © 2009 CA. All rights reserved. Email CA about this topic