Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4 - 1
##############################################################
2
#  LDAP/ACTIVE DIRECTORY USER PLUGIN SETTINGS
3
#
4
# Any of these directives that are required, are only required if the
5
# userplugin parameter is set to ldap.
6
 
7
# LDAP host name/IP address
8
# Optional, default = localhost
9
ldap_host =
10
 
11
# LDAP port
12
# Optional, default = 389
13
# Use 636 for ldaps
14
ldap_port = 389
15
 
16
# LDAP protocol
17
# Optional, default = ldap
18
# use 'ldaps' for SSL encryption. Make sure /etc/ldap/ldap.conf is
19
# configured correctly with TLS_CACERT
20
ldap_protocol = ldap
21
 
22
# LDAP URI
23
# Optional, override ldap_host, ldap_port and ldap_protocol if set
24
# e.g. ldaps://servername:port. You may also specify multiple space-separated
25
# URI's
26
ldap_uri =
27
 
28
# The charset that strings are stored in on the LDAP server. Normally this
29
# is utf-8, but this can differ according to your setup. The charset specified
30
# here must be supported by your iconv(1) setup. See iconv -l for all charset
31
ldap_server_charset = utf-8
32
 
33
# The DN of the user to bind as for normal operations (not used for
34
# authentication if ldap_authentication_method is set to "bind"
35
# Optional, default = empty (anonymous bind)
36
# The userPassword attribute must be readable for this user if the
37
# ldap_authentication_method option is set to password.
38
ldap_bind_user = cn=Administrator,cn=users,dc=zarafa,dc=com
39
 
40
# LDAP bind password
41
# Optional, default = empty (no password)
42
ldap_bind_passwd =
43
 
44
# The timeout for network operations in seconds
45
ldap_network_timeout = 30
46
 
47
# When an object (user/group/company) is changed, this attribute will also change:
48
# Active directory: uSNChanged
49
# LDAP: modifyTimestamp
50
ldap_last_modification_attribute = uSNChanged
51
 
52
# ldap_page_size limits the number of results from a query that will be downloaded at a time.
53
# Default ADS MaxPageSize is 1000.
54
ldap_page_size = 1000
55
 
56
##########
57
# Object settings
58
 
59
# Top level search base, every object should be available under this tree
60
ldap_search_base = dc=zarafa,dc=com
61
 
62
# attribute name which is/(should: was) used in ldap_user_search_filter
63
ldap_object_type_attribute = objectClass
64
ldap_user_type_attribute_value = user
65
ldap_group_type_attribute_value = group
66
ldap_contact_type_attribute_value = contact
67
ldap_company_type_attribute_value = organizationalUnit
68
ldap_addresslist_type_attribute_value = zarafaAddresslist
69
ldap_dynamicgroup_type_attribute_value = zarafaDynamicGroup
70
 
71
 
72
##########
73
# There should be no need to edit any values below this line
74
##########
75
 
76
##########
77
# User settings
78
 
79
# Extra search for users using this LDAP filter.  See ldap_search(3) or RFC
80
# 2254 for details on the filter syntax.
81
#
82
# Hint: Use the zarafaAccount attribute in the filter to differentiate
83
# between non-zarafa and zarafa users.
84
#
85
# Note: This filter should include contacts.
86
#
87
# Optional, default = empty (match everything)
88
# For active directory, use:
89
#   (objectCategory=Person)
90
# For LDAP with posix users:
91
#   no need to use the search filter.
92
ldap_user_search_filter = (objectCategory=Person)
93
 
94
# unique user id for find the user
95
# Required
96
# For active directory, use:
97
#    objectGuid ** WARNING: This WAS: objectSid ** Updates *WILL* fail! **
98
# For LDAP with posixAccount, use:
99
#    uidNumber
100
ldap_user_unique_attribute = objectGuid
101
 
102
# Type of unique user id
103
# default: text
104
# For active directory, use:
105
#		binary
106
# For LDAP with posix user, use:
107
#		text
108
ldap_user_unique_attribute_type = binary
109
 
110
# Optional, default = cn
111
# For active directory, use:
112
#   cn or displayName
113
# For LDAP with posix user, use:
114
#   cn
115
ldap_fullname_attribute = cn
116
 
117
# Optional, default = uid
118
# Active directory: sAMAccountName
119
# LDAP: uid
120
ldap_loginname_attribute = sAMAccountName
121
 
122
# Optional, default = userPassword
123
# Active directory: unicodePwd
124
# LDAP: userPassword
125
ldap_password_attribute = unicodePwd
126
 
127
# If set to bind, users are authenticated by trying to bind to the
128
# LDAP tree using their username + password.  Otherwise, the
129
# ldap_password_attribute is requested and checked.
130
# Optional, default = bind
131
# Choices: bind, password
132
# Active directory: bind
133
# LDAP: bind
134
ldap_authentication_method = bind
135
 
136
# Optional, default = mail
137
# Active directory: mail
138
# LDAP: mail
139
ldap_emailaddress_attribute = mail
140
 
141
# Optional, default = zarafaAliases
142
# Active directory: zarafaAliases
143
# LDAP: zarafaAliases
144
ldap_emailaliases_attribute = otherMailbox
145
 
146
# Whether the user is an admin.  The field is interpreted as a
147
# boolean, 0 and false (case insensitive) meaning no, all other values
148
# yes.
149
# Optional, default = zarafaAdmin
150
# Active directory: zarafaAdmin
151
# LDAP: zarafaAdmin
152
ldap_isadmin_attribute = zarafaAdmin
153
 
154
# Whether a user is a non-active user. This means that the user will
155
# not count towards your user count, but the user will also not be
156
# able to log in
157
# Optional, default = zarafaSharedStoreOnly
158
# Active directory: zarafaSharedStoreOnly
159
# LDAP: zarafaSharedStoreOnly
160
ldap_nonactive_attribute = zarafaSharedStoreOnly
161
 
162
# A nonactive store, or resource, can be specified to be a user, room or equipment.
163
# Set it to 'room' or 'equipment' to make such types. If set to empty,
164
# or wrong word, or 'user' it will be a nonactive user.
165
# Optional, default = zarafaResourceType
166
# Active directory: zarafaResourceType
167
# LDAP: zarafaResourceType
168
ldap_resource_type_attribute = zarafaResourceType
169
 
170
# Numeric resource capacity
171
# Optional, default = zarafaResourceCapacity
172
# Active directory: zarafaResourceCapacity
173
# LDAP: zarafaResourceCapacity
174
ldap_resource_capacity_attribute = zarafaResourceCapacity
175
 
176
# Optional
177
# The attribute which indicates which users are allowed
178
# to send on behalf of the selected user
179
ldap_sendas_attribute = zarafaSendAsPrivilege
180
 
181
# Optional, default = text
182
# Active directory: dn
183
# LDAP: text
184
ldap_sendas_attribute_type = dn
185
 
186
# The attribute of the user and group which is listed in
187
# the ldap_sendas_attribute
188
# Empty default, using ldap_user_unique_attribute
189
ldap_sendas_relation_attribute = distinguishedName
190
 
191
# Optional, default = userCertificate
192
# Active directory: userCertificate
193
# LDAP: userCertificate;binary
194
ldap_user_certificate_attribute = userCertificate
195
 
196
# Load extra user properties from the propmap file
197
!propmap /etc/zarafa/ldap.propmap.cfg
198
 
199
##########
200
# Group settings
201
 
202
# Search for groups using this LDAP filter.  See ldap_search(3) for
203
# details on the filter syntax.
204
# Hint: Use the zarafaAccount attribute in the filter to differentiate
205
# between non-zarafa and zarafa groups.
206
# Optional, default = empty (match everything)
207
# For active directory, use:
208
#   (objectCategory=Group)
209
# For LDAP with posix groups, use:
210
#   no need to set the search filter
211
ldap_group_search_filter = (objectCategory=Group)
212
 
213
# unique group id for find the group
214
# Required
215
# For active directory, use:
216
#    objectSid
217
# For LDAP with posix group, use:
218
#    gidNumber
219
ldap_group_unique_attribute = objectSid
220
 
221
# Type of unique group id
222
# default: text
223
# For active directory, use:
224
#		binary
225
# For LDAP with posix group, use:
226
#		text
227
ldap_group_unique_attribute_type = binary
228
 
229
# Optional, default = cn
230
# Active directory: cn
231
# LDAP: cn
232
ldap_groupname_attribute = cn
233
 
234
# Optional, default = member
235
# Active directory: member
236
# LDAP: memberUid
237
ldap_groupmembers_attribute = member
238
 
239
# Optional, default = text
240
# Active directory: dn
241
# LDAP: text
242
ldap_groupmembers_attribute_type = dn
243
 
244
# The attribute of the user which is listed in ldap_groupmember_attribute
245
# Active directory: empty, matching dn's
246
# LDAP: uid, matching users in ldap_loginname_attribute
247
ldap_groupmembers_relation_attribute =
248
 
249
# A group can also be used for security, eg. setting permissions on folders.
250
# This makes a group a security group. The zarafaSecurityGroup value is boolean.
251
# Optional, default = zarafaSecurityGroup
252
# Active directory = groupType
253
# LDAP: zarafaSecurityGroup
254
ldap_group_security_attribute = groupType
255
 
256
# In ADS servers, a special bitmask action is required on the groupType field.
257
# This is actived by setting the ldap_group_security_attribute_type to `''ads`''
258
# Otherwise, just the presence of the field will make the group security enabled.
259
# Optional, default = boolean
260
# Active directory = ads
261
# LDAP: boolean
262
ldap_group_security_attribute_type = ads
263
 
264
##########
265
# Company settings
266
 
267
# Search for companies using this LDAP filter.
268
# Hint: Use the zarafaAccount attribute in the filter to differentiate
269
# between non-zarafa and zarafa companies.
270
# Optional, default = empty (match everything)
271
# For active directory, use:
272
#   (objectCategory=Company)
273
# For LDAP with posix users, use:
274
#   no need to set the filter
275
ldap_company_search_filter =
276
 
277
# unique company id for find the company
278
# Active directory: objectGUID
279
# LDAP: ou
280
ldap_company_unique_attribute = objectGUID
281
 
282
# Optional, default = text
283
# Active directory: binary
284
# LDAP: text
285
ldap_company_unique_attribute_type = binary
286
 
287
# Optional, default = ou
288
# Active directory: ou
289
# LDAP: ou
290
ldap_companyname_attribute = ou
291
 
292
# Optional
293
# The attribute which indicates which companies are allowed
294
# to view the members of the selected company
295
ldap_company_view_attribute = zarafaViewPrivilege
296
 
297
# Optional, default = text
298
ldap_company_view_attribute_type = dn
299
 
300
# The attribute of the company which is listed in the
301
# ldap_company_view_attribute
302
# Empty default, using ldap_company_unique_attribute
303
ldap_company_view_relation_attribute =
304
 
305
# Optional
306
# The attribute which indicates which users from different companies
307
# are administrator over the selected company.
308
ldap_company_admin_attribute = zarafaAdminPrivilege
309
 
310
# Optional, default = text
311
# Active directory: dn
312
# LDAP: text
313
ldap_company_admin_attribute_type = dn
314
 
315
# The attribute of the company which is listed in the
316
# ldap_company_admin_attribute
317
# Empty default, using ldap_user_unique_attribute
318
ldap_company_admin_relation_attribute =
319
 
320
# The attribute which indicates which user is the system administrator
321
# for the specified company.
322
ldap_company_system_admin_attribute = zarafaSystemAdmin
323
 
324
# Optional, default = text
325
# Active directory: dn
326
# LDAP: text
327
ldap_company_system_admin_attribute_type = dn
328
 
329
# The attribute of the company which is listed in the
330
# ldap_company_system_admin attribute
331
# Empty default, using ldap_user_unique_attribute
332
ldap_company_system_admin_relation_attribute =
333
 
334
 
335
##########
336
# Addresslist settings
337
 
338
# Add a filter to the addresslist search
339
# Hint: Use the zarafaAccount attribute in the filter to differentiate
340
# between non-zarafa and zarafa addresslists.
341
# Optional, default = empty (match everything)
342
ldap_addresslist_search_filter =
343
 
344
# This is the unique attribute of a addresslist which is never going
345
# to change, unless the addresslist is removed from LDAP. When this
346
# value changes, Zarafa will remove the previous addresslist from the
347
# database, and create a new addresslist with this unique value
348
ldap_addresslist_unique_attribute = cn
349
 
350
# This value can be 'text' or 'binary'. For OpenLDAP, only text is used.
351
ldap_addresslist_unique_attribute_type = text
352
 
353
# This is the name of the attribute on the addresslist object that
354
# specifies the filter to be applied for this addresslist. All users
355
# matching this filter AND matching the default
356
# ldap_user_search_filter will be included in the addresslist
357
ldap_addresslist_filter_attribute = zarafaFilter
358
 
359
# This is the name of the attribute on the addresslist object that
360
# specifies the search base to be applied for this addresslist.
361
ldap_addresslist_search_base_attribute = zarafaBase
362
 
363
# The attribute containing the name of the addresslist
364
ldap_addresslist_name_attribute = cn
365
 
366
 
367
##########
368
# Dynamicgroup settings
369
 
370
# Add a filter to the dynamicgroup search
371
# Hint: Use the zarafaAccount attribute in the filter to differentiate
372
# between non-zarafa and zarafa dynamic groups.
373
# Optional, default = empty (match everything)
374
ldap_dynamicgroup_search_filter =
375
 
376
# This is the unique attribute of a dynamicgroup which is never going
377
# to change, unless the dynamicgroup is removed from LDAP. When this
378
# value changes, Zarafa will remove the previous dynamicgroup from the
379
# database, and create a new dynamicgroup with this unique value
380
ldap_dynamicgroup_unique_attribute = cn
381
 
382
# This value can be 'text' or 'binary'. For OpenLDAP, only text is used.
383
ldap_dynamicgroup_unique_attribute_type = text
384
 
385
# This is the name of the attribute on the dynamicgroup object that
386
# specifies the filter to be applied for this dynamicgroup. All users
387
# matching this filter AND matching the default
388
# ldap_user_search_filter will be included in the dynamicgroup
389
ldap_dynamicgroup_filter_attribute = zarafaFilter
390
 
391
# This is the name of the attribute on the dynamicgroup object that
392
# specifies the search base to be applied for this dynamicgroup.
393
ldap_dynamicgroup_search_base_attribute = zarafaBase
394
 
395
# The attribute containing the name of the dynamicgroup
396
ldap_dynamicgroup_name_attribute = cn
397
 
398
 
399
##########
400
# Quota settings
401
 
402
# Optional
403
# The attribute which indicates which users (besides the user who exceeds his quota)
404
# should also receive a warning mail when a user exceeds his quota.
405
ldap_quota_userwarning_recipients_attribute = zarafaQuotaUserWarningRecipients
406
 
407
# Optional, default = text
408
# Active directory: dn
409
# LDAP: text
410
ldap_quota_userwarning_recipients_attribute_type = text
411
 
412
# Optional, default empty
413
ldap_quota_userwarning_recipients_relation_attribute =
414
 
415
# Optional
416
# The attribute which indicates which users should receive a warning mail
417
# when a company exceeds his quota.
418
ldap_quota_companywarning_recipients_attribute = zarafaQuotaCompanyWarningRecipients
419
 
420
# Optional, default = text
421
# Active directory: dn
422
# LDAP: text
423
ldap_quota_companywarning_recipients_attribute_type = text
424
 
425
# Optional, default empty
426
ldap_quota_companywarning_recipients_relation_attribute =
427
 
428
# Whether to override the system wide quota settings
429
ldap_quotaoverride_attribute = zarafaQuotaOverride
430
 
431
ldap_warnquota_attribute = zarafaQuotaWarn
432
ldap_softquota_attribute = zarafaQuotaSoft
433
ldap_hardquota_attribute = zarafaQuotaHard
434
 
435
# Whether to override the system wide quota settings for all users within the company
436
ldap_userdefault_quotaoverride_attribute = zarafaUserDefaultQuotaOverride
437
 
438
ldap_userdefault_warnquota_attribute = zarafaUserDefaultQuotaWarn
439
ldap_userdefault_softquota_attribute = zarafaUserDefaultQuotaSoft
440
ldap_userdefault_hardquota_attribute = zarafaUserDefaultQuotaHard
441
 
442
# Mapping from the quota attributes to a number of bytes.  Qmail-LDAP
443
# schema uses bytes (1), ADS uses kilobytes (1024*1024).
444
ldap_quota_multiplier = 1048576
445
 
446
##########
447
# Misc. settings
448
 
449
# Attribute which indicates if the user should be hidden from addressbook
450
ldap_addressbook_hide_attribute = zarafaHidden
451
 
452
# LDAP object search filter. %s in this filter will be replaced with
453
# the object being searched.
454
# Hint: Use the zarafaAccount attribute in the filter to differentiate
455
# between non-zarafa and zarafa objects.
456
# Default: empty
457
# ADS recommended: (anr=%s)
458
# OpenLDAP optional: (|(mail=%s*)(uid=%s*)(cn=*%s*)(fullname=*%s*)(givenname=*%s*)(lastname=*%s*)(sn=*%s*))
459
ldap_object_search_filter = (anr=%s)
460
 
461
# If a request want more objects than this value, it will download the
462
# full ldap tree (from the base with the search filter) and discard
463
# wat was not required. This is faster for large requests.
464
# Default: 1000
465
ldap_filter_cutoff_elements = 1000
466