-
Notifications
You must be signed in to change notification settings - Fork 1
/
ldapConfig.xml
160 lines (155 loc) · 5.44 KB
/
ldapConfig.xml
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
<?xml version="1.0" encoding="UTF-8" ?>
<ldap_config>
<url>ldap://192.168.91.131:389/</url>
<user>cn=Manager,dc=uniquity,dc=me</user>
<password>Xzi90gWLUe4p3bQQkmLknKmB8ghA8y</password>
<context>ou=Users,domainName=uniquity.me,o=domains,dc=uniquity,dc=me</context>
<interval>DAILY</interval>
<read_only>true</read_only>
<subtree_search>true</subtree_search>
<sync_on_start>true</sync_on_start>
<object_classes>
<class>person</class>
<class>inetOrgPerson</class>
</object_classes>
<org_units>
<unit>ou=Users,domainName=uniquity.me,o=domains,dc=uniquity,dc=me</unit>
</org_units>
<endpoint>
<type>shindig-graph</type>
<create_own_entries>true</create_own_entries>
<delete_own_entries>false</delete_own_entries>
<create_ldap_entries>false</create_ldap_entries>
<delete_ldap_entries>false</delete_ldap_entries>
<properties>
<user>admin</user>
<host>http://127.0.0.1:8080/</host>
<fields>id,name,displayName,organizations,thumbnailUrl,emails,phoneNumbers</fields>
<pic-folder>/Users/thomas/Lokale_Dokumente/AMiProSI/Code/Shindig/pictures/</pic-folder>
<pic-url>http://127.0.0.1:8080/pictures/</pic-url>
</properties>
<mapping>
<rule>
<ldap_property>mail</ldap_property>
<end_point_property>id</end_point_property>
<direction>FROM_LDAP</direction>
<operation>COPY</operation>
</rule>
<rule>
<ldap_property>cn</ldap_property>
<end_point_property>name.formatted</end_point_property>
<direction>FROM_LDAP</direction>
<operation>COPY</operation>
</rule>
<rule>
<ldap_property>cn</ldap_property>
<end_point_property>displayName</end_point_property>
<direction>FROM_LDAP</direction>
<operation>COPY</operation>
</rule>
<rule>
<ldap_property>givenName</ldap_property>
<end_point_property>name.givenName</end_point_property>
<direction>FROM_LDAP</direction>
<operation>COPY</operation>
</rule>
<rule>
<ldap_property>sn</ldap_property>
<end_point_property>name.familyName</end_point_property>
<direction>FROM_LDAP</direction>
<operation>COPY</operation>
</rule>
<rule>
<ldap_property>jpegPhoto</ldap_property>
<end_point_property>thumbnail</end_point_property>
<direction>FROM_LDAP</direction>
<operation>COPY</operation>
</rule>
<rule>
<ldap_property>mail</ldap_property>
<end_point_property>emails</end_point_property>
<direction>FROM_LDAP</direction>
<operation>COPY</operation>
</rule>
<rule>
<ldap_property>telephoneNumber</ldap_property>
<end_point_property>phoneNumbers</end_point_property>
<direction>FROM_LDAP</direction>
<operation>COPY</operation>
</rule>
<rule>
<ldap_property>roomNumber</ldap_property>
<end_point_property>org_location</end_point_property>
<direction>FROM_LDAP</direction>
<operation>COPY</operation>
</rule>
<rule>
<ldap_property>physicalDeliveryOfficeName</ldap_property>
<end_point_property>org_site</end_point_property>
<direction>FROM_LDAP</direction>
<operation>COPY</operation>
</rule>
<rule>
<ldap_property>title</ldap_property>
<end_point_property>job_title</end_point_property>
<direction>FROM_LDAP</direction>
<operation>COPY</operation>
</rule>
<rule>
<ldap_property>manager</ldap_property>
<end_point_property>managerId</end_point_property>
<direction>FROM_LDAP</direction>
<operation>COPY</operation>
</rule>
<rule>
<ldap_property>secretary</ldap_property>
<end_point_property>secretary</end_point_property>
<direction>FROM_LDAP</direction>
<operation>COPY</operation>
</rule>
<rule>
<ldap_property>departmentNumber</ldap_property>
<end_point_property>department</end_point_property>
<direction>FROM_LDAP</direction>
<operation>COPY</operation>
</rule>
<rule>
<ldap_property>ou</ldap_property>
<end_point_property>orgUnit</end_point_property>
<direction>FROM_LDAP</direction>
<operation>COPY</operation>
</rule>
<rule>
<ldap_property>mail</ldap_property>
<end_point_property>id</end_point_property>
<direction>BOTH</direction>
<operation>COPY_ON_CREATE</operation>
</rule>
<rule>
<ldap_property>cn</ldap_property>
<end_point_property>name.formatted</end_point_property>
<direction>BOTH</direction>
<operation>COPY_ON_CREATE</operation>
</rule>
<rule>
<ldap_property>cn</ldap_property>
<end_point_property>displayName</end_point_property>
<direction>BOTH</direction>
<operation>COPY_ON_CREATE</operation>
</rule>
<rule>
<ldap_property>givenName</ldap_property>
<end_point_property>name.givenName</end_point_property>
<direction>BOTH</direction>
<operation>COPY_ON_CREATE</operation>
</rule>
<rule>
<ldap_property>sn</ldap_property>
<end_point_property>name.familyName</end_point_property>
<direction>BOTH</direction>
<operation>COPY_ON_CREATE</operation>
</rule>
</mapping>
</endpoint>
<!--test end point printing LDAP user info-->
</ldap_config>