1# Searching database... 2dn: dc=example,dc=com 3objectClass: domain 4objectClass: domainRelatedObject 5dc: example 6associatedDomain: example.com 7 8dn: ou=LDAPv2,dc=example,dc=com 9objectClass: organizationalUnit 10ou: LDAPv2 11description: RFC 1779 compliant DN string representation 12 13dn: ou=LDAPv3,dc=example,dc=com 14objectClass: organizationalUnit 15ou: LDAPv3 16description: RFC 2253 compliant DN string representation 17 18dn: cn=May Succeed 1,ou=LDAPv2,dc=example,dc=com 19objectClass: groupOfNames 20cn: May Succeed 1 21member: 22description: " " // space, quote characters (") are not part of the string 23 24dn: cn=May Succeed 3,ou=LDAPv2,dc=example,dc=com 25objectClass: groupOfNames 26cn: May Succeed 3 27member: uid=jsmith,o=example,c=US 28description: UID=jsmith, O=example, C=US // spaces 29 30dn: cn=May Succeed 4,ou=LDAPv2,dc=example,dc=com 31objectClass: groupOfNames 32cn: May Succeed 4 33member: uid=jsmith,o=example,c=US 34description: UID=jsmith;O=example;C=US // semi-colons 35 36dn: cn=May Succeed 6,ou=LDAPv2,dc=example,dc=com 37objectClass: groupOfNames 38cn: May Succeed 6 39member: cn=John Smith,o=example,c=US 40description: CN="John Smith",O=example,C=US // quotes 41 42dn: cn=Must Succeed,ou=LDAPv3,dc=example,dc=com 43objectClass: groupOfNames 44cn: Must Succeed 45member: cn=Must Succeed,ou=LDAPv3,dc=example,dc=com 46member: 47member: uid=jsmith,dc=example,dc=net 48member: cn=J. Smith+ou=Sales,dc=example,dc=net 49member: cn=John Smith\2C III,dc=example,dc=net 50member: ou=Sales\3B Data\2BAlgorithms,dc=example,dc=net 51member:: Y249QmVmb3JlDUFmdGVyLGRjPWV4YW1wbGUsZGM9bmV0 52member: cn=\23John Smith\20,dc=example,dc=net 53member:: Y249THXEjWnEhw== 54member: testUUID=597ae2f6-16a6-1027-98f4-abcdefabcdef,dc=Example 55seeAlso: cn=John Smith\2C III,dc=example,dc=net 56seeAlso: ou=Sales\3B Data\2BAlgorithms,dc=example,dc=net 57seeAlso: cn=\23John Smith\20,dc=example,dc=net 58description: "member" values contain specific DN forms; 59description: "seeAlso" values contain DN forms already defined as "member", 60description: but in a different string representation; 61description: the following "description" values contain the "member" and 62description: "seeAlso" DN string representations used above. 63description: "" 64description: UID=jsmith,DC=example,DC=net 65description: OU=Sales+CN=J. Smith,DC=example,DC=net 66description: CN=John Smith\, III,DC=example,DC=net 67description: CN=John Smith\2C III,DC=example,DC=net 68description: OU=Sales\; Data\+Algorithms,DC=example,DC=net 69description: OU=Sales\3B Data\2BAlgorithms,DC=example,DC=net 70description: CN=Before\0dAfter,DC=example,DC=net 71description: CN=\23John Smith\20,DC=example,DC=net 72description: CN=\#John Smith\ ,DC=example,DC=net 73description: CN=Lu\C4\8Di\C4\87 74description: testUUID=597ae2f6-16a6-1027-98f4-abcdefABCDEF,DC=Example 75 76dn: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com 77objectClass: groupOfUniqueNames 78cn: Name and Optional UID 79uniqueMember: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com 80uniqueMember: #'1'B 81uniqueMember: #'0010'B 82uniqueMember: dc=example,dc=com#'1000'B 83uniqueMember: dc=example,dc=com#''B 84description: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com // 85 only DN portion 86description: #'1'B // empty "" DN 87description: #'0010'B // empty "" DN with leading '0's 88description: dc=example,dc=com#'1000'B // with DN portion 89description: dc=example,dc=com#''B // with DN portion + bitstring with no bits 90 91dn: ou=Related Syntaxes,dc=example,dc=com 92objectClass: organizationalUnit 93ou: Related Syntaxes 94 95dn: cn=Should Parse as DN,cn=Name and Optional UID,ou=Related Syntaxes,dc=exam 96 ple,dc=com 97objectClass: groupOfUniqueNames 98cn: Should Parse as DN 99uniqueMember: dc=example,dc=com#0'B 100uniqueMember: dc=example,dc=com#'0B 101uniqueMember: dc=example,dc=com '0'B 102description: dc=example,dc=com#0'B // malformed UID? 103description: dc=example,dc=com#'0B // malformed UID? 104description: dc=example,dc=com '0'B // malformed UID? 105 106dn: cn=Unescaped Equals,ou=LDAPv3,dc=example,dc=com 107objectClass: groupOfNames 108cn: Unescaped Equals 109member: cn=Unescaped Equals,ou=LDAPv3,dc=example,dc=com 110member: cn=A*x\3Db is a linear algebra problem,ou=LDAPv3,dc=example,dc=com 111description: cn=A*x=b is a linear algebra problem,ou=LDAPv3,dc=example,dc=com 112 // unescaped EQUALS 113 114# Searching database for DN="OU=Sales+CN=J. Smith,DC=example,DC=net"... 115dn: cn=Must Succeed,ou=LDAPv3,dc=example,dc=com 116objectClass: groupOfNames 117cn: Must Succeed 118member: cn=Must Succeed,ou=LDAPv3,dc=example,dc=com 119member: 120member: uid=jsmith,dc=example,dc=net 121member: cn=J. Smith+ou=Sales,dc=example,dc=net 122member: cn=John Smith\2C III,dc=example,dc=net 123member: ou=Sales\3B Data\2BAlgorithms,dc=example,dc=net 124member:: Y249QmVmb3JlDUFmdGVyLGRjPWV4YW1wbGUsZGM9bmV0 125member: cn=\23John Smith\20,dc=example,dc=net 126member:: Y249THXEjWnEhw== 127member: testUUID=597ae2f6-16a6-1027-98f4-abcdefabcdef,dc=Example 128seeAlso: cn=John Smith\2C III,dc=example,dc=net 129seeAlso: ou=Sales\3B Data\2BAlgorithms,dc=example,dc=net 130seeAlso: cn=\23John Smith\20,dc=example,dc=net 131description: "member" values contain specific DN forms; 132description: "seeAlso" values contain DN forms already defined as "member", 133description: but in a different string representation; 134description: the following "description" values contain the "member" and 135description: "seeAlso" DN string representations used above. 136description: "" 137description: UID=jsmith,DC=example,DC=net 138description: OU=Sales+CN=J. Smith,DC=example,DC=net 139description: CN=John Smith\, III,DC=example,DC=net 140description: CN=John Smith\2C III,DC=example,DC=net 141description: OU=Sales\; Data\+Algorithms,DC=example,DC=net 142description: OU=Sales\3B Data\2BAlgorithms,DC=example,DC=net 143description: CN=Before\0dAfter,DC=example,DC=net 144description: CN=\23John Smith\20,DC=example,DC=net 145description: CN=\#John Smith\ ,DC=example,DC=net 146description: CN=Lu\C4\8Di\C4\87 147description: testUUID=597ae2f6-16a6-1027-98f4-abcdefABCDEF,DC=Example 148 149# Searching database for entryUUID-named DN="testUUID=597ae2f6-16a6-1027-98f4-ABCDEFabcdef,DC=Example"... 150dn: cn=Must Succeed,ou=LDAPv3,dc=example,dc=com 151objectClass: groupOfNames 152cn: Must Succeed 153member: cn=Must Succeed,ou=LDAPv3,dc=example,dc=com 154member: 155member: uid=jsmith,dc=example,dc=net 156member: cn=J. Smith+ou=Sales,dc=example,dc=net 157member: cn=John Smith\2C III,dc=example,dc=net 158member: ou=Sales\3B Data\2BAlgorithms,dc=example,dc=net 159member:: Y249QmVmb3JlDUFmdGVyLGRjPWV4YW1wbGUsZGM9bmV0 160member: cn=\23John Smith\20,dc=example,dc=net 161member:: Y249THXEjWnEhw== 162member: testUUID=597ae2f6-16a6-1027-98f4-abcdefabcdef,dc=Example 163seeAlso: cn=John Smith\2C III,dc=example,dc=net 164seeAlso: ou=Sales\3B Data\2BAlgorithms,dc=example,dc=net 165seeAlso: cn=\23John Smith\20,dc=example,dc=net 166description: "member" values contain specific DN forms; 167description: "seeAlso" values contain DN forms already defined as "member", 168description: but in a different string representation; 169description: the following "description" values contain the "member" and 170description: "seeAlso" DN string representations used above. 171description: "" 172description: UID=jsmith,DC=example,DC=net 173description: OU=Sales+CN=J. Smith,DC=example,DC=net 174description: CN=John Smith\, III,DC=example,DC=net 175description: CN=John Smith\2C III,DC=example,DC=net 176description: OU=Sales\; Data\+Algorithms,DC=example,DC=net 177description: OU=Sales\3B Data\2BAlgorithms,DC=example,DC=net 178description: CN=Before\0dAfter,DC=example,DC=net 179description: CN=\23John Smith\20,DC=example,DC=net 180description: CN=\#John Smith\ ,DC=example,DC=net 181description: CN=Lu\C4\8Di\C4\87 182description: testUUID=597ae2f6-16a6-1027-98f4-abcdefABCDEF,DC=Example 183 184# Searching database for nameAndOptionalUID="dc=example,dc=com"... 185# Searching database for nameAndOptionalUID="dc=example,dc=com#'001000'B"... 186# Searching database for nameAndOptionalUID="dc=example,dc=com#'1000'B"... 187dn: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com 188objectClass: groupOfUniqueNames 189cn: Name and Optional UID 190uniqueMember: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com 191uniqueMember: #'1'B 192uniqueMember: #'0010'B 193uniqueMember: dc=example,dc=com#'1000'B 194uniqueMember: dc=example,dc=com#''B 195description: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com // 196 only DN portion 197description: #'1'B // empty "" DN 198description: #'0010'B // empty "" DN with leading '0's 199description: dc=example,dc=com#'1000'B // with DN portion 200description: dc=example,dc=com#''B // with DN portion + bitstring with no bits 201 202# Searching database for uniqueMember~="dc=example,dc=com" (approx)... 203dn: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com 204objectClass: groupOfUniqueNames 205cn: Name and Optional UID 206uniqueMember: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com 207uniqueMember: #'1'B 208uniqueMember: #'0010'B 209uniqueMember: dc=example,dc=com#'1000'B 210uniqueMember: dc=example,dc=com#''B 211description: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com // 212 only DN portion 213description: #'1'B // empty "" DN 214description: #'0010'B // empty "" DN with leading '0's 215description: dc=example,dc=com#'1000'B // with DN portion 216description: dc=example,dc=com#''B // with DN portion + bitstring with no bits 217 218# Searching database for uniqueMember~="dc=example,dc=com#'1000'B" (approx)... 219dn: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com 220objectClass: groupOfUniqueNames 221cn: Name and Optional UID 222uniqueMember: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com 223uniqueMember: #'1'B 224uniqueMember: #'0010'B 225uniqueMember: dc=example,dc=com#'1000'B 226uniqueMember: dc=example,dc=com#''B 227description: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com // 228 only DN portion 229description: #'1'B // empty "" DN 230description: #'0010'B // empty "" DN with leading '0's 231description: dc=example,dc=com#'1000'B // with DN portion 232description: dc=example,dc=com#''B // with DN portion + bitstring with no bits 233 234