3.1.6.11.4 Site

  1. A Site ADM element instance MUST be created, and rDirectoryObject MUST be set to this new Site ADM element instance.

  2. The attributes listed in the iADMAttributeList argument MUST be set on rDirectoryObject, using the attribute names in the iLDAPAttributeList argument and the corresponding values in the iValues argument, according to the following table. If the value of the LDAP attribute required to compute the Site ADM element attribute is empty in the iValues argument, depending on the attribute, either a default value MUST be supplied, or that is an error condition.<15> If an error condition occurs, rStatus MUST be set to DirectoryOperationResult.GenericError, rDirectoryObject is undefined, and processing MUST end.

    Site ADM element attribute

    Attribute value computation

    If not set, default value or error?

    Identifier

    GUID copied from objectGUID ([MS-ADA3] section 2.44).

    Error

    Name

    Unicode string transformed from cn ([MS-ADA1] section 2.110).

    Error

    IntraSiteReplicationInterval

    Integer copied from mSMQInterval1 ([MS-ADA2] section 2.545).

    Default value

    InterSiteReplicationInterval

    Integer copied from mSMQInterval2 ([MS-ADA2] section 2.546).

    Default value

    FullPath

    Distinguished name copied from distinguishedName ([MS-ADA1] section 2.177).

    Error

    Foreign

    If mSMQSiteForeign ([MS-ADA2] section 2.576) equals 0x01,

    Foreign is TRUE

    Else if mSMQSiteForeign equals 0x00,

    Foreign is FALSE.

    Default value

    MigratedFromMsmq10

    If mSMQNt4Stub ([MS-ADA2] section 2.555) equals 1,

    MigratedFromMsmq10 is TRUE

    Else if mSMQNt4Stub equals 0

    MigratedFromMsmq10 is FALSE.

    Error

    Security

    Security descriptor copied from nTSecurityDescriptor ([MS-ADA3] section 2.37).

    Error

  3. rStatus MUST be set to DirectoryOperationResult.Success, and processing MUST end.