3.1.6.11.2.2 QualifiedPathname
The QualifiedPathname ADM attribute MUST be computed from the values in the iValues argument of the mSMQQueue attributes distinguishedName and mSMQQueueNameExt and the value of DNSname:
Let QName, ExtName, and OutputName be Unicode strings, initially set to empty.
QName MUST be the "<queue name>" extracted from the distinguishedName attribute in the iValues argument and transformed to a Unicode string. The "<queue name>" as an element of the distinguished name of an mSMQQueue object is specified in section 2.2.1. If the value in the iValues argument of the distinguishedName attribute is empty, rStatus MUST be set to DirectoryOperationResult.GenericError, and processing MUST end.
If the QName is 64 Unicode characters long, ExtName MUST be set to the value of the mSMQQueueNameExt attribute and transformed to a Unicode string; then QName MUST be truncated by removing the last nine Unicode characters. If the value in the iValues argument of the mSMQQueueNameExt attribute is empty, ExtName MUST remain empty.
The value of the dNSHostName attribute MUST be copied to OutputName.
A Unicode backslash character ('\') MUST be appended to OutputName.
The value of QName MUST be appended to OutputName.
If ExtName is not an empty string, the value of ExtName MUST be appended to OutputName.
All alphabetic characters in the value OutputName MUST be converted to lowercase.
The value of rDirectoryObject.QualifiedPathname MUST be set to the value of OutputName.