-
Notifications
You must be signed in to change notification settings - Fork 0
/
ldap_template.txt
53 lines (49 loc) · 1.29 KB
/
ldap_template.txt
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
dn: o=EIONET,l=Europe
objectClass: top
objectClass: organization
o: EIONET
description: Eionet site directory
structuralObjectClass: organization
dn: ou=Organisations,o=EIONET,l=Europe
description: Organisations
ou: Organisations
objectClass: top
objectClass: organizationalUnit
structuralObjectClass: organizationalUnit
dn: ou=Users,o=EIONET,l=Europe
objectClass: top
objectClass: organizationalUnit
ou: Users
description: Users
structuralObjectClass: organizationalUnit
{% for item in eionetitems %}\
dn: uid=${item.user},ou=Users,o=EIONET,l=Europe
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: eionetAccount
objectClass: top
cn: ${item.user}
sn: ${item.user}
givenName: ${item.user}
mail: ${item.user}@example.com
uid: ${item.user}
userPassword: ${item.password}
{% end %}
{% if bdritems %}
dn: ou=Business Reporters,o=EIONET,l=Europe
ou: Business Reporters
description: Users who report to the Business Reportnet
objectClass: top
objectClass: organizationalUnit
{% for item in bdritems %}\
dn: uid=${item.user},ou=Business Reporters,o=EIONET,l=Europe
objectClass: top
objectClass: organizationalRole
objectClass: simpleSecurityObject
objectClass: uidObject
cn: ${item.company} / ${item.country}
uid: ${item.user}
userPassword: ${item.password}
{% end %}
{% end %}