1. If iAttributeList was not provided as an argument, then an iAttributeList MUST be constructed that MUST contain the names of all Enterprise ADM element attributes listed in section

  2. Let EnterpriseAttributeList be a list of mSMQEnterpriseSettings attribute names, initialized to be empty. For each mSMQEnterpriseSettings attribute listed in the following table, if the corresponding Enterprise ADM element attribute name appears in iAttributeList and that attribute is populated in iDirectoryObject, add the mSMQEnterpriseSettings attribute name to EnterpriseAttributeList and compute the value for the attribute as shown. Enterprise ADM element attribute names that appear in iAttributeList but do not appear in the following table or in subsections referenced by the table MUST be ignored in this step.

    mSMQEnterpriseSettings attribute

    Attribute value computation

    mSMQNameStyle ([MS-ADA2] section 2.553)

    If iDirectoryObject.WeakenedSecurity equals disabled,

    mSMQNameStyle is 0x00

    Else if iDirectoryObject.WeakenedSecurity equals enabled,

    mSMQNameStyle is 0x01.

    mSMQCSPName ([MS-ADA2] section 2.535)

    Computed from iDirectoryObject.NonLDAPCapableQueueManagerNotification. See section

    mSMQLongLived ([MS-ADA2] section 2.551)

    Integer copied from iDirectoryObject.DefaultTimeToLive.

    mSMQVersion ([MS-ADA2] section 2.585)

    If iDirectoryObject.OldDirectory is TRUE,

    mSMQVersion is 3


    mSMQVersion is 200.

  3. A Set Object Properties Using LDAP (section event MUST be generated with the following arguments:

    • iPath := the distinguished name specified in section 2.2.1 for an mSMQEnterpriseSettings object.

    • iAttributes := a list of name-value pairs consisting of the attribute names in EnterpriseAttributeList and the corresponding values, as computed in step 2.

  4. If the Set Object Properties Using LDAP event returns an rStatus that is not DirectoryOperationResult.Success, rStatus MUST be set to the rStatus returned by the Set Object Properties Using LDAP event, and processing MUST end.