placement

Specifies the distinguished name for the new entry.

Description

The dn is generated by concatenating together, in order, the text and the specified <elements>. Any leading or trailing white space is removed unless it is enclosed by a CDATA section.

Definition

  <!ELEMENT placement       (#PCDATA | 
                             copy-name | 
                             copy-attr | 
                             copy-path | 
                             copy-path-suffix)* >
  
  <!ELEMENT copy-attr        EMPTY>
  <!ATTLIST copy-attr
            attr-name        CDATA      #REQUIRED>
  
  <!ELEMENT copy-name        EMPTY>
  
  <!ELEMENT copy-path        EMPTY>
  
  <!ELEMENT copy-path-suffix EMPTY>
  
  

Attributes for <copy-attr>

attr-name
Specifies the attribute name.

Elements

<copy-name>
Specifies that the rdn of the src-dn attribute from the <add> element is copied and used as part of the dn. If the <copy-name> element is specified and the src-dn in the <add> element is empty, the placement rule is skipped.
<copy-attr>
Specifies that the first value of the attribute specified by attr-name is copied from the <add> element and used as part of the destination dn. If the attribute does not exist in the <add> element, the placement rule is skipped.

Structured attribute types are not supported.

<copy-path>
Specifies that the src-dn attribute from the <add> element is copied to be used as the destination dn. The DirXML engine used the src-dn-format and dest-dn-format attributes to convert the name to the proper format. Conversion from typeless format to a typed format is unsupported unless the source is eDirectory.
<copy-path-suffix>
Specifies that only a portion of the src-dn attribute from the <add> element is copied to be used as the destination dn. The portion of the src-dn attribute that matches the <match-path> element is stripped from the name. If no <match-path> element is specified, the whole src-dn is copied.

The DirXML engine used the src-dn-format and dest-dn-format attributes to convert the name to the proper format. Conversion from typeless format to a typed format is unsupported unless the source is eDirectory.

Parent