DNWithString is defined in Draft-armijo-ldap-syntax-00 as:
DNWithString: 1.2.840.113556.1.4.904
Encoded as a :
DNWithString = StringTag ':' Count ':' String ':' DN
OctetTag = 'S' | 's'
Count = positive decimal number, counting number of bytes in String
String = <normally encoded (i.e. UTF8 for V3) string> // Note: the number
of bytes in the string encoding of the String is Count.
DN = <normal string encoding of a DN>
As an example, the string encoding of the combination of "test" and
DC=Microsoft,DC=Com is
B:4:test:DC=Microsoft,DC=Com
As an example, the string encoding of the combination of XYZ (where X, Y,
and Z all have two byte UTF-8 encodings) and DC=Microsoft,DC=Com is
B:6:XYZ:DC=Microsoft,DC=Com