-
Notifications
You must be signed in to change notification settings - Fork 166
/
test_example.ldif
244 lines (217 loc) · 6.33 KB
/
test_example.ldif
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
#################################
#################################
#################################
# groups and peoples:
# * group1: cartman, chandler
# * group2: morgan, bilbo
# * group3: morgan, cartman, chandler
# * groupAll: morgan, cartman, chandler, bilbo
#
# regions and gods:
# * europe: jesus
# * north america: jesus
# * south america: jesus
# * asia: allah
# * africa: jesus, allah
# * [no group]: spaghetti
#
# roles and users:
# * developers: userDev
# * it: userDevOps
# * speakers (external): userSpeaker (ext)
#
# additionally:
# * speaker is developer
# * developer is from it
#
################################
################################
################################
################################
version: 1
dn: ou=People,dc=example,dc=com
objectClass: top
objectClass: organizationalUnit
ou: People
dn: cn=Morgan Freeman,ou=People,dc=example,dc=com
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
cn: Morgan Freeman
sn: Freeman
uid: morgan
userPassword:: e1NNRDV9cTg2ZHlvbGRRRk5pZ04waVprMDgzYnZrVEY3bFdacFk=
dn: cn=Eric Cartman,ou=People,dc=example,dc=com
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
cn: Eric Cartman
sn: Cartman
uid: cartman
userPassword:: e1NNRDV9czdnM0NVekVCMGQxMm5CM0N3VGFrQmp3K0VGMTE3cFg=
dn: cn=Chanandler Bong,ou=People,dc=example,dc=com
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
cn: Chanandler Bong
sn: Bong
uid: bong
userPassword:: e1NIQX1zOXFuZTB3RXFWVWJoNEhRTVpIK0NZOHlYbWM9
dn: cn=Bìlbö Bággįnš,ou=People,dc=example,dc=com
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
cn: Bìlbö Bággįnš
sn: Bìlbö Bággįnš
uid: Bìlbö Bággįnš
userPassword:: e1NNRDV9czdnM0NVekVCMGQxMm5CM0N3VGFrQmp3K0VGMTE3cFg=
dn: cn=Danny DeVito,ou=People,dc=example,dc=com
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
cn: Danny DeVito
sn: DeVito
uid: devito
userPassword:: e1NNRDV9czdnM0NVekVCMGQxMm5CM0N3VGFrQmp3K0VGMTE3cFg=
dn: ou=Groups,dc=example,dc=com
objectClass: top
objectClass: organizationalUnit
ou: Groups
dn: cn=group1,ou=Groups,dc=example,dc=com
objectClass: top
objectClass: groupOfUniqueNames
cn: group1
o: Group 1
description: Group 1 description
uniqueMember: cn=Eric Cartman,ou=People,dc=example,dc=com
uniqueMember: cn=Chanandler Bong,ou=People,dc=example,dc=com
dn: cn=group2,ou=Groups,dc=example,dc=com
objectClass: top
objectClass: groupOfUniqueNames
cn: group2
o: Group 2
description: Group 2 description
uniqueMember: cn=Morgan Freeman,ou=People,dc=example,dc=com
uniqueMember: cn=Bìlbö Bággįnš,ou=People,dc=example,dc=com
dn: cn=group3,ou=Groups,dc=example,dc=com
objectClass: top
objectClass: groupOfUniqueNames
cn: group3
o: Group 3
description: Group 3 description
uniqueMember: cn=Chanandler Bong,ou=People,dc=example,dc=com
uniqueMember: cn=Eric Cartman,ou=People,dc=example,dc=com
uniqueMember: cn=Morgan Freeman,ou=People,dc=example,dc=com
dn: cn=groupAll,ou=Groups,dc=example,dc=com
objectClass: top
objectClass: groupOfUniqueNames
cn: groupAll
o: Group All
description: Group All description
uniqueMember: cn=Chanandler Bong,ou=People,dc=example,dc=com
uniqueMember: cn=Eric Cartman,ou=People,dc=example,dc=com
uniqueMember: cn=Morgan Freeman,ou=People,dc=example,dc=com
uniqueMember: cn=Bìlbö Bággįnš,ou=People,dc=example,dc=com
dn: ou=Gods,dc=example,dc=com
objectClass: top
objectClass: organizationalUnit
ou: Gods
dn: cn=Jesus Christ,ou=Gods,dc=example,dc=com
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
cn: Jesus Christ
sn: Jesus
uid: jesus
userPassword:: e1NNRDV9cTg2ZHlvbGRRRk5pZ04waVprMDgzYnZrVEY3bFdacFk=
title: cn=europe,ou=Regions,dc=example,dc=com
title: cn=north america,ou=Regions,dc=example,dc=com
title: cn=south america,ou=Regions,dc=example,dc=com
title: cn=africa,ou=Regions,dc=example,dc=com
dn: cn=Allah,ou=Gods,dc=example,dc=com
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
cn: Allah
sn: Allah
uid: allah
userPassword:: e1NNRDV9czdnM0NVekVCMGQxMm5CM0N3VGFrQmp3K0VGMTE3cFg=
title: cn=asia,ou=Regions,dc=example,dc=com
title: cn=africa,ou=Regions,dc=example,dc=com
dn: cn=Spaghetti Monster,ou=Gods,dc=example,dc=com
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
cn: Spaghetti Monster
sn: Spaghetti
uid: spaghetti
userPassword:: e1NNRDV9czdnM0NVekVCMGQxMm5CM0N3VGFrQmp3K0VGMTE3cFg=
dn: ou=Users,dc=example,dc=com
objectClass: top
objectClass: organizationalUnit
ou: Users
dn: cn=UserDevOps,ou=Users,dc=example,dc=com
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
cn: UserDevOps
sn: UserDevOps
uid: userdevops
userPassword:: e1NNRDV9cTg2ZHlvbGRRRk5pZ04waVprMDgzYnZrVEY3bFdacFk=
memberOf: cn=it,ou=Roles,dc=example,dc=com
dn: cn=UserDev,ou=Users,dc=example,dc=com
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
cn: UserDev
sn: UserDev
uid: userdev
userPassword:: e1NNRDV9cTg2ZHlvbGRRRk5pZ04waVprMDgzYnZrVEY3bFdacFk=
memberOf: cn=developers,ou=Roles,dc=example,dc=com
dn: cn=UserSpeaker (ext),ou=Users,dc=example,dc=com
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
cn: UserSpeaker (ext)
sn: UserSpeaker (ext)
uid: userspeaker
userPassword:: e1NNRDV9cTg2ZHlvbGRRRk5pZ04waVprMDgzYnZrVEY3bFdacFk=
memberOf: cn=speakers (external),ou=Roles,dc=example,dc=com
dn: ou=Roles,dc=example,dc=com
objectClass: top
objectClass: organizationalUnit
ou: Roles
dn: cn=it,ou=Roles,dc=example,dc=com
objectClass: top
objectClass: groupOfUniqueNames
cn: it
o: IT group
description: IT
uniqueMember: cn=UserDevOps,ou=Users,dc=example,dc=com
uniqueMember: cn=developers,ou=Roles,dc=example,dc=com
dn: cn=developers,ou=Roles,dc=example,dc=com
objectClass: top
objectClass: groupOfUniqueNames
cn: developers
o: Developers group
description: Devs
uniqueMember: cn=UserDev,ou=Users,dc=example,dc=com
uniqueMember: cn=speakers (external),ou=Roles,dc=example,dc=com
dn: cn=speakers (external),ou=Roles,dc=example,dc=com
objectClass: top
objectClass: groupOfUniqueNames
cn: speakers (external)
o: Speakers group
description: Speakers
uniqueMember: cn=UserSpeaker (ext),ou=Users,dc=example,dc=com