3 objectClass: domainRelatedObject
5 associatedDomain: example.com
7 dn: ou=LDAPv3,dc=example,dc=com
8 objectClass: organizationalUnit
10 description: RFC 2253 compliant DN string representation
12 dn: cn=Must Succeed,ou=LDAPv3,dc=example,dc=com
13 objectClass: groupOfNames
15 member: cn=Must Succeed,ou=LDAPv3,dc=example,dc=com
17 member: uid=jsmith,dc=example,dc=net
18 member: cn=J. Smith+ou=Sales,dc=example,dc=net
19 member: cn=John Smith\2C III,dc=example,dc=net
20 member: ou=Sales\3B Data\2BAlgorithms,dc=example,dc=net
21 member:: Y249QmVmb3JlDUFmdGVyLGRjPWV4YW1wbGUsZGM9bmV0
22 member: cn=\23John Smith\20,dc=example,dc=net
23 member:: Y249THXEjWnEhw==
24 seeAlso: cn=John Smith\2C III,dc=example,dc=net
25 seeAlso: ou=Sales\3B Data\2BAlgorithms,dc=example,dc=net
26 seeAlso: cn=\23John Smith\20,dc=example,dc=net
27 description: "member" values contain specific DN forms;
28 description: "seeAlso" values contain DN forms already defined as "member",
29 description: but in a different string representation;
30 description: the following "description" values contain the "member" and
31 description: "seeAlso" DN string representations used above.
33 description: UID=jsmith,DC=example,DC=net
34 description: OU=Sales+CN=J. Smith,DC=example,DC=net
35 description: CN=John Smith\, III,DC=example,DC=net
36 description: CN=John Smith\2C III,DC=example,DC=net
37 description: OU=Sales\; Data\+Algorithms,DC=example,DC=net
38 description: OU=Sales\3B Data\2BAlgorithms,DC=example,DC=net
39 description: CN=Before\0dAfter,DC=example,DC=net
40 description: CN=\23John Smith\20,DC=example,DC=net
41 description: CN=\#John Smith\ ,DC=example,DC=net
42 description: CN=Lu\C4\8Di\C4\87
44 dn: cn=Unescaped Equals,ou=LDAPv3,dc=example,dc=com
45 objectClass: groupOfNames
47 member: cn=Unescaped Equals,ou=LDAPv3,dc=example,dc=com
48 member: cn=A*x\3Db is a linear algebra problem,ou=LDAPv3,dc=example,dc=com
49 description: cn=A*x=b is a linear algebra problem,ou=LDAPv3,dc=example,dc=com
52 dn: ou=LDAPv2,dc=example,dc=com
53 objectClass: organizationalUnit
55 description: RFC 1779 compliant DN string representation
57 dn: cn=May Succeed 1,ou=LDAPv2,dc=example,dc=com
58 objectClass: groupOfNames
61 description: " " // space, quote characters (") are not part of the string
63 dn: cn=May Succeed 3,ou=LDAPv2,dc=example,dc=com
64 objectClass: groupOfNames
66 member: uid=jsmith,o=example,c=US
67 description: UID=jsmith, O=example, C=US // spaces
69 dn: cn=May Succeed 4,ou=LDAPv2,dc=example,dc=com
70 objectClass: groupOfNames
72 member: uid=jsmith,o=example,c=US
73 description: UID=jsmith;O=example;C=US // semi-colons
75 dn: cn=May Succeed 6,ou=LDAPv2,dc=example,dc=com
76 objectClass: groupOfNames
78 member: cn=John Smith,o=example,c=US
79 description: CN="John Smith",O=example,C=US // quotes
81 dn: ou=Related Syntaxes,dc=example,dc=com
82 objectClass: organizationalUnit
85 dn: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com
86 objectClass: groupOfUniqueNames
87 cn: Name and Optional UID
88 uniqueMember: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com
91 uniqueMember: dc=example,dc=com#'1000'B
92 uniqueMember: dc=example,dc=com#'0'B
93 description: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com //
95 description: #'1'B // empty "" DN
96 description: #'0010'B // empty "" DN with leading '0's
97 description: dc=example,dc=com#'1000'B // with DN portion
98 description: dc=example,dc=com#'0'B // with DN portion and just one '0'
100 dn: cn=Should Parse as DN,cn=Name and Optional UID,ou=Related Syntaxes,dc=exam
102 objectClass: groupOfUniqueNames
103 cn: Should Parse as DN
104 uniqueMember: dc=example,dc=com#0'B
105 uniqueMember: dc=example,dc=com#'0B
106 uniqueMember: dc=example,dc=com '0'B
107 description: dc=example,dc=com#0'B // malformed UID?
108 description: dc=example,dc=com#'0B // malformed UID?
109 description: dc=example,dc=com '0'B // malformed UID?
111 dn: cn=Must Succeed,ou=LDAPv3,dc=example,dc=com
112 objectClass: groupOfNames
114 member: cn=Must Succeed,ou=LDAPv3,dc=example,dc=com
116 member: uid=jsmith,dc=example,dc=net
117 member: cn=J. Smith+ou=Sales,dc=example,dc=net
118 member: cn=John Smith\2C III,dc=example,dc=net
119 member: ou=Sales\3B Data\2BAlgorithms,dc=example,dc=net
120 member:: Y249QmVmb3JlDUFmdGVyLGRjPWV4YW1wbGUsZGM9bmV0
121 member: cn=\23John Smith\20,dc=example,dc=net
122 member:: Y249THXEjWnEhw==
123 seeAlso: cn=John Smith\2C III,dc=example,dc=net
124 seeAlso: ou=Sales\3B Data\2BAlgorithms,dc=example,dc=net
125 seeAlso: cn=\23John Smith\20,dc=example,dc=net
126 description: "member" values contain specific DN forms;
127 description: "seeAlso" values contain DN forms already defined as "member",
128 description: but in a different string representation;
129 description: the following "description" values contain the "member" and
130 description: "seeAlso" DN string representations used above.
132 description: UID=jsmith,DC=example,DC=net
133 description: OU=Sales+CN=J. Smith,DC=example,DC=net
134 description: CN=John Smith\, III,DC=example,DC=net
135 description: CN=John Smith\2C III,DC=example,DC=net
136 description: OU=Sales\; Data\+Algorithms,DC=example,DC=net
137 description: OU=Sales\3B Data\2BAlgorithms,DC=example,DC=net
138 description: CN=Before\0dAfter,DC=example,DC=net
139 description: CN=\23John Smith\20,DC=example,DC=net
140 description: CN=\#John Smith\ ,DC=example,DC=net
141 description: CN=Lu\C4\8Di\C4\87
143 dn: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com
144 objectClass: groupOfUniqueNames
145 cn: Name and Optional UID
146 uniqueMember: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com
149 uniqueMember: dc=example,dc=com#'1000'B
150 uniqueMember: dc=example,dc=com#'0'B
151 description: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com //
153 description: #'1'B // empty "" DN
154 description: #'0010'B // empty "" DN with leading '0's
155 description: dc=example,dc=com#'1000'B // with DN portion
156 description: dc=example,dc=com#'0'B // with DN portion and just one '0'
158 dn: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com
159 objectClass: groupOfUniqueNames
160 cn: Name and Optional UID
161 uniqueMember: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com
164 uniqueMember: dc=example,dc=com#'1000'B
165 uniqueMember: dc=example,dc=com#'0'B
166 description: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com //
168 description: #'1'B // empty "" DN
169 description: #'0010'B // empty "" DN with leading '0's
170 description: dc=example,dc=com#'1000'B // with DN portion
171 description: dc=example,dc=com#'0'B // with DN portion and just one '0'