value

Specifies an attribute's value.

Definition

  <!ELEMENT value          (#PCDATA | component)*>
  <!ATTLIST value
            type              (%Attr-type;)    #IMPLIED
            association-ref   CDATA            #IMPLIED
            naming            (%Boolean;)      "false">
  
  

Attributes

type
Specifies the syntax of the directory attribute.
  • If the type is structured, the <value> element contains at least one <component> element.
  • If the type is octet, the <value> element contains base64 encoded binary data.
  • If the type is neither structured or octet, the <value> element contains text.
association-ref
When present, marks the value as referential and contains the association value (see association). When a syntax is marked referential, the attribute's value must be the distinguished name of an existing entry in eDirectory. eDirectory validates these values, modifies them if the entry's name changes, and deletes them if the entry is deleted.
naming
Reserved; used internally by the DirXML engine to mark the attribute as a directory attribute that names the entry. Such marked attributes require a rename command rather than a modify command to modify the value.

Elements

<component>
Specifies an individual field of a structured attribute.

Parent

The following elements are parents of the <value> element:

Remarks

eDirectory supports 28 syntax definitions that can be used for an attribute's type. DirXML supports only 10. The following table shows how the 28 definitions have been mapped to the 10 definitions and the component names that have been supplied for the various structured syntax definitions.

Table 7-2 Mapping eDirectory syntax to DirXML syntax

eDirectory Syntax Name

DirXML Type

Components and Notes

SYN_UNKOWN

octet

base64 encoded data

SYN_DIST_NAME

dn

referential

SYN_CE_STRING

string

 

SYN_CI_STRING

string

 

SYN_PR_STRING

string

 

SYN_NU_STRING

string

 

SYN_CI_LIST

structured

one or more string components

SYN_BOOLEAN

state

"true" or "false"

SYN_INTEGER

int

 

SYN_OCTET_STRING

octet

base64 encoded data

SYN_TEL_NUMBER

teleNumber

 

SYN_FAX_NUMBER

structured

three components:

  • faxNumber
  • faxBitCount
  • faxParameters

base64 encoded data

SYN_NET_ADDRESS

structured

two components

  • netAddrType
  • netAddr

base64 encoded data

SYN_OCTET_LIST

structured

one or more octet components.

base64 encoded data

SYN_EMAIL_ADDRESS

structured

two components:

  • eMailType
  • eMailAddr

SYN_PATH

structured

three components:

  • nameSpace
  • volume (referential)
  • path

SYN_REPLICA_POINTER

structured

four components

  • server (referential)
  • replicaType
  • replicaNumber
  • count

SYN_OBJECT_ACL

structured

three components

  • protectedName
  • trustee (referential)
  • privileges

SYN_PO_ADDRESS

structured

6 string components

SYN_TIMESTAMP

structured

three components:

  • seconds
  • replicaNumber
  • eventID

SYN_CLASS_NAME

className

 

SYN_STREAM

octet

64base encoded data

SYN_COUNTER

counter

 

SYN_BACK_LINK

structured

two components:

  • serverDn (referential)
  • remoteId

SYN_TIME

time

 

SYN_TYPED_NAME

structured

three components:

  • dn (referential)
  • level
  • interval

SYN_HOLD

structured

two components:

  • holdEntryDn (referential)
  • holdAmount

SYN_INTERVAL

interval

 

For more information about the eDirectory syntax definitions, see the NDS Schema Reference.