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