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 = localhost
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=admin,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 = modifyTimestamp
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 = posixAccount
65
ldap_group_type_attribute_value = posixGroup
66
ldap_contact_type_attribute_value = zarafa-contact
67
ldap_company_type_attribute_value = organizationalUnit
68
ldap_addresslist_type_attribute_value = zarafa-addresslist
69
ldap_dynamicgroup_type_attribute_value = zarafa-dynamicgroup
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 =
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
# Note: contacts also use this field for uniqueness. If you change this,
101
# you might need to update the zarafa.schema file too, and change
102
# the MUST uidNumber to whatever you set here.dnl
103
ldap_user_unique_attribute = uidNumber
104
 
105
# Type of unique user id
106
# default: text
107
# For active directory, use:
108
#		binary
109
# For LDAP with posix user, use:
110
#		text
111
ldap_user_unique_attribute_type = text
112
 
113
# Optional, default = cn
114
# For active directory, use:
115
#   cn or displayName
116
# For LDAP with posix user, use:
117
#   cn
118
ldap_fullname_attribute = cn
119
 
120
# Optional, default = uid
121
# Active directory: sAMAccountName
122
# LDAP: uid
123
ldap_loginname_attribute = uid
124
 
125
# Optional, default = userPassword
126
# Active directory: unicodePwd
127
# LDAP: userPassword
128
ldap_password_attribute = userPassword
129
 
130
# If set to bind, users are authenticated by trying to bind to the
131
# LDAP tree using their username + password.  Otherwise, the
132
# ldap_password_attribute is requested and checked.
133
# Optional, default = bind
134
# Choices: bind, password
135
# Active directory: bind
136
# LDAP: bind
137
ldap_authentication_method = bind
138
 
139
# Optional, default = mail
140
# Active directory: mail
141
# LDAP: mail
142
ldap_emailaddress_attribute = mail
143
 
144
# Optional, default = zarafaAliases
145
# Active directory: zarafaAliases
146
# LDAP: zarafaAliases
147
ldap_emailaliases_attribute = zarafaAliases
148
 
149
# Whether the user is an admin.  The field is interpreted as a
150
# boolean, 0 and false (case insensitive) meaning no, all other values
151
# yes.
152
# Optional, default = zarafaAdmin
153
# Active directory: zarafaAdmin
154
# LDAP: zarafaAdmin
155
ldap_isadmin_attribute = zarafaAdmin
156
 
157
# Whether a user is a non-active user. This means that the user will
158
# not count towards your user count, but the user will also not be
159
# able to log in
160
# Optional, default = zarafaSharedStoreOnly
161
# Active directory: zarafaSharedStoreOnly
162
# LDAP: zarafaSharedStoreOnly
163
ldap_nonactive_attribute = zarafaSharedStoreOnly
164
 
165
# A nonactive store, or resource, can be specified to be a user, room or equipment.
166
# Set it to 'room' or 'equipment' to make such types. If set to empty,
167
# or wrong word, or 'user' it will be a nonactive user.
168
# Optional, default = zarafaResourceType
169
# Active directory: zarafaResourceType
170
# LDAP: zarafaResourceType
171
ldap_resource_type_attribute = zarafaResourceType
172
 
173
# Numeric resource capacity
174
# Optional, default = zarafaResourceCapacity
175
# Active directory: zarafaResourceCapacity
176
# LDAP: zarafaResourceCapacity
177
ldap_resource_capacity_attribute = zarafaResourceCapacity
178
 
179
# Optional
180
# The attribute which indicates which users are allowed
181
# to send on behalf of the selected user
182
ldap_sendas_attribute = zarafaSendAsPrivilege
183
 
184
# Optional, default = text
185
# Active directory: dn
186
# LDAP: text
187
ldap_sendas_attribute_type = text
188
 
189
# The attribute of the user and group which is listed in
190
# the ldap_sendas_attribute
191
# Empty default, using ldap_user_unique_attribute
192
ldap_sendas_relation_attribute =
193
 
194
# Optional, default = userCertificate
195
# Active directory: userCertificate
196
# LDAP: userCertificate;binary
197
ldap_user_certificate_attribute = userCertificate;binary
198
 
199
# Load extra user properties from the propmap file
200
!propmap /etc/zarafa/ldap.propmap.cfg
201
 
202
##########
203
# Group settings
204
 
205
# Search for groups using this LDAP filter.  See ldap_search(3) for
206
# details on the filter syntax.
207
# Hint: Use the zarafaAccount attribute in the filter to differentiate
208
# between non-zarafa and zarafa groups.
209
# Optional, default = empty (match everything)
210
# For active directory, use:
211
#   (objectCategory=Group)
212
# For LDAP with posix groups, use:
213
#   no need to set the search filter
214
ldap_group_search_filter =
215
 
216
# unique group id for find the group
217
# Required
218
# For active directory, use:
219
#    objectSid
220
# For LDAP with posix group, use:
221
#    gidNumber
222
ldap_group_unique_attribute = gidNumber
223
 
224
# Type of unique group id
225
# default: text
226
# For active directory, use:
227
#		binary
228
# For LDAP with posix group, use:
229
#		text
230
ldap_group_unique_attribute_type = text
231
 
232
# Optional, default = cn
233
# Active directory: cn
234
# LDAP: cn
235
ldap_groupname_attribute = cn
236
 
237
# Optional, default = member
238
# Active directory: member
239
# LDAP: memberUid
240
ldap_groupmembers_attribute = memberUid
241
 
242
# Optional, default = text
243
# Active directory: dn
244
# LDAP: text
245
ldap_groupmembers_attribute_type = text
246
 
247
# The attribute of the user which is listed in ldap_groupmember_attribute
248
# Active directory: empty, matching dn's
249
# LDAP: uid, matching users in ldap_loginname_attribute
250
ldap_groupmembers_relation_attribute = uid
251
 
252
# A group can also be used for security, eg. setting permissions on folders.
253
# This makes a group a security group. The zarafaSecurityGroup value is boolean.
254
# Optional, default = zarafaSecurityGroup
255
# Active directory = groupType
256
# LDAP: zarafaSecurityGroup
257
ldap_group_security_attribute = zarafaSecurityGroup
258
 
259
# In ADS servers, a special bitmask action is required on the groupType field.
260
# This is actived by setting the ldap_group_security_attribute_type to `''ads`''
261
# Otherwise, just the presence of the field will make the group security enabled.
262
# Optional, default = boolean
263
# Active directory = ads
264
# LDAP: boolean
265
ldap_group_security_attribute_type = boolean
266
 
267
##########
268
# Company settings
269
 
270
# Search for companies using this LDAP filter.
271
# Hint: Use the zarafaAccount attribute in the filter to differentiate
272
# between non-zarafa and zarafa companies.
273
# Optional, default = empty (match everything)
274
# For active directory, use:
275
#   (objectCategory=Company)
276
# For LDAP with posix users, use:
277
#   no need to set the filter
278
ldap_company_search_filter =
279
 
280
# unique company id for find the company
281
# Active directory: objectGUID
282
# LDAP: ou
283
ldap_company_unique_attribute = ou
284
 
285
# Optional, default = text
286
# Active directory: binary
287
# LDAP: text
288
ldap_company_unique_attribute_type = text
289
 
290
# Optional, default = ou
291
# Active directory: ou
292
# LDAP: ou
293
ldap_companyname_attribute = ou
294
 
295
# Optional
296
# The attribute which indicates which companies are allowed
297
# to view the members of the selected company
298
ldap_company_view_attribute = zarafaViewPrivilege
299
 
300
# Optional, default = text
301
ldap_company_view_attribute_type = text
302
 
303
# The attribute of the company which is listed in the
304
# ldap_company_view_attribute
305
# Empty default, using ldap_company_unique_attribute
306
ldap_company_view_relation_attribute =
307
 
308
# Optional
309
# The attribute which indicates which users from different companies
310
# are administrator over the selected company.
311
ldap_company_admin_attribute = zarafaAdminPrivilege
312
 
313
# Optional, default = text
314
# Active directory: dn
315
# LDAP: text
316
ldap_company_admin_attribute_type = text
317
 
318
# The attribute of the company which is listed in the
319
# ldap_company_admin_attribute
320
# Empty default, using ldap_user_unique_attribute
321
ldap_company_admin_relation_attribute =
322
 
323
# The attribute which indicates which user is the system administrator
324
# for the specified company.
325
ldap_company_system_admin_attribute = zarafaSystemAdmin
326
 
327
# Optional, default = text
328
# Active directory: dn
329
# LDAP: text
330
ldap_company_system_admin_attribute_type = text
331
 
332
# The attribute of the company which is listed in the
333
# ldap_company_system_admin attribute
334
# Empty default, using ldap_user_unique_attribute
335
ldap_company_system_admin_relation_attribute =
336
 
337
 
338
##########
339
# Addresslist settings
340
 
341
# Add a filter to the addresslist search
342
# Hint: Use the zarafaAccount attribute in the filter to differentiate
343
# between non-zarafa and zarafa addresslists.
344
# Optional, default = empty (match everything)
345
ldap_addresslist_search_filter =
346
 
347
# This is the unique attribute of a addresslist which is never going
348
# to change, unless the addresslist is removed from LDAP. When this
349
# value changes, Zarafa will remove the previous addresslist from the
350
# database, and create a new addresslist with this unique value
351
ldap_addresslist_unique_attribute = cn
352
 
353
# This value can be 'text' or 'binary'. For OpenLDAP, only text is used.
354
ldap_addresslist_unique_attribute_type = text
355
 
356
# This is the name of the attribute on the addresslist object that
357
# specifies the filter to be applied for this addresslist. All users
358
# matching this filter AND matching the default
359
# ldap_user_search_filter will be included in the addresslist
360
ldap_addresslist_filter_attribute = zarafaFilter
361
 
362
# This is the name of the attribute on the addresslist object that
363
# specifies the search base to be applied for this addresslist.
364
ldap_addresslist_search_base_attribute = zarafaBase
365
 
366
# The attribute containing the name of the addresslist
367
ldap_addresslist_name_attribute = cn
368
 
369
 
370
##########
371
# Dynamicgroup settings
372
 
373
# Add a filter to the dynamicgroup search
374
# Hint: Use the zarafaAccount attribute in the filter to differentiate
375
# between non-zarafa and zarafa dynamic groups.
376
# Optional, default = empty (match everything)
377
ldap_dynamicgroup_search_filter =
378
 
379
# This is the unique attribute of a dynamicgroup which is never going
380
# to change, unless the dynamicgroup is removed from LDAP. When this
381
# value changes, Zarafa will remove the previous dynamicgroup from the
382
# database, and create a new dynamicgroup with this unique value
383
ldap_dynamicgroup_unique_attribute = cn
384
 
385
# This value can be 'text' or 'binary'. For OpenLDAP, only text is used.
386
ldap_dynamicgroup_unique_attribute_type = text
387
 
388
# This is the name of the attribute on the dynamicgroup object that
389
# specifies the filter to be applied for this dynamicgroup. All users
390
# matching this filter AND matching the default
391
# ldap_user_search_filter will be included in the dynamicgroup
392
ldap_dynamicgroup_filter_attribute = zarafaFilter
393
 
394
# This is the name of the attribute on the dynamicgroup object that
395
# specifies the search base to be applied for this dynamicgroup.
396
ldap_dynamicgroup_search_base_attribute = zarafaBase
397
 
398
# The attribute containing the name of the dynamicgroup
399
ldap_dynamicgroup_name_attribute = cn
400
 
401
 
402
##########
403
# Quota settings
404
 
405
# Optional
406
# The attribute which indicates which users (besides the user who exceeds his quota)
407
# should also receive a warning mail when a user exceeds his quota.
408
ldap_quota_userwarning_recipients_attribute = zarafaQuotaUserWarningRecipients
409
 
410
# Optional, default = text
411
# Active directory: dn
412
# LDAP: text
413
ldap_quota_userwarning_recipients_attribute_type = text
414
 
415
# Optional, default empty
416
ldap_quota_userwarning_recipients_relation_attribute =
417
 
418
# Optional
419
# The attribute which indicates which users should receive a warning mail
420
# when a company exceeds his quota.
421
ldap_quota_companywarning_recipients_attribute = zarafaQuotaCompanyWarningRecipients
422
 
423
# Optional, default = text
424
# Active directory: dn
425
# LDAP: text
426
ldap_quota_companywarning_recipients_attribute_type = text
427
 
428
# Optional, default empty
429
ldap_quota_companywarning_recipients_relation_attribute =
430
 
431
# Whether to override the system wide quota settings
432
ldap_quotaoverride_attribute = zarafaQuotaOverride
433
 
434
ldap_warnquota_attribute = zarafaQuotaWarn
435
ldap_softquota_attribute = zarafaQuotaSoft
436
ldap_hardquota_attribute = zarafaQuotaHard
437
 
438
# Whether to override the system wide quota settings for all users within the company
439
ldap_userdefault_quotaoverride_attribute = zarafaUserDefaultQuotaOverride
440
 
441
ldap_userdefault_warnquota_attribute = zarafaUserDefaultQuotaWarn
442
ldap_userdefault_softquota_attribute = zarafaUserDefaultQuotaSoft
443
ldap_userdefault_hardquota_attribute = zarafaUserDefaultQuotaHard
444
 
445
# Mapping from the quota attributes to a number of bytes.  Qmail-LDAP
446
# schema uses bytes (1), ADS uses kilobytes (1024*1024).
447
ldap_quota_multiplier = 1
448
 
449
##########
450
# Misc. settings
451
 
452
# Attribute which indicates if the user should be hidden from addressbook
453
ldap_addressbook_hide_attribute = zarafaHidden
454
 
455
# LDAP object search filter. %s in this filter will be replaced with
456
# the object being searched.
457
# Hint: Use the zarafaAccount attribute in the filter to differentiate
458
# between non-zarafa and zarafa objects.
459
# Default: empty
460
# ADS recommended: (anr=%s)
461
# OpenLDAP optional: (|(mail=%s*)(uid=%s*)(cn=*%s*)(fullname=*%s*)(givenname=*%s*)(lastname=*%s*)(sn=*%s*))
462
ldap_object_search_filter =
463
 
464
# If a request want more objects than this value, it will download the
465
# full ldap tree (from the base with the search filter) and discard
466
# wat was not required. This is faster for large requests.
467
# Default: 1000
468
ldap_filter_cutoff_elements = 1000
469