kopano-ldap.cfg.5 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994
  1. '\" t
  2. .\" Title: kopano-ldap.cfg
  3. .\" Author: [see the "Author" section]
  4. .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
  5. .\" Date: November 2016
  6. .\" Manual: Kopano Core user reference
  7. .\" Source: Kopano 8
  8. .\" Language: English
  9. .\"
  10. .TH "KOPANO\-LDAP\&.CFG" "5" "November 2016" "Kopano 8" "Kopano Core user reference"
  11. .\" -----------------------------------------------------------------
  12. .\" * Define some portability stuff
  13. .\" -----------------------------------------------------------------
  14. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. .\" http://bugs.debian.org/507673
  16. .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
  17. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. .ie \n(.g .ds Aq \(aq
  19. .el .ds Aq '
  20. .\" -----------------------------------------------------------------
  21. .\" * set default formatting
  22. .\" -----------------------------------------------------------------
  23. .\" disable hyphenation
  24. .nh
  25. .\" disable justification (adjust text to left margin only)
  26. .ad l
  27. .\" -----------------------------------------------------------------
  28. .\" * MAIN CONTENT STARTS HERE *
  29. .\" -----------------------------------------------------------------
  30. .SH "NAME"
  31. kopano-ldap.cfg \- The Kopano LDAP configuration file
  32. .SH "SYNOPSIS"
  33. .PP
  34. \fBldap\&.cfg\fR
  35. .SH "DESCRIPTION"
  36. .PP
  37. The
  38. ldap\&.cfg
  39. is a configuration file for LDAP user plugin\&. All options to correctly retrieve user and group information can be set here\&.
  40. .SH "FILE FORMAT"
  41. .PP
  42. The file consists of one big section, but parameters can be grouped by functionality\&.
  43. .PP
  44. The parameters are written in the form:
  45. .PP
  46. \fBname\fR
  47. =
  48. \fIvalue\fR
  49. .PP
  50. The file is line\-based\&. Each newline\-terminated line represents either a comment, nothing, a parameter or a directive\&. A line beginning with `#\*(Aq is considered a comment, and will be ignored by Kopano\&. Parameter names are case sensitive\&. Lines beginning with `!\*(Aq are directives\&.
  51. .PP
  52. Directives are written in the form:
  53. .PP
  54. !\fBdirective\fR
  55. \fI[argument(s)] \fR
  56. .PP
  57. The following directives exist:
  58. .PP
  59. \fBinclude\fR
  60. .RS 4
  61. Include and process
  62. \fIargument\fR
  63. .sp
  64. Example: !include common\&.cfg
  65. .RE
  66. .PP
  67. \fBpropmap\fR
  68. .RS 4
  69. Propmap delivers the capabilities to map additional attributes to addressbook properties (e\&.g\&. firstname, lastname, telephonenumber)\&.
  70. .sp
  71. In the propmap the configuration names must be the hex property tag of the requested property\&. The value given to the configuration name must be the LDAP attribute to which the property should be mapped\&.
  72. .sp
  73. Example: !propmap ldap\&.propmap\&.cfg
  74. .RE
  75. .SH "EXPLANATION OF EACH PARAMETER"
  76. .PP
  77. \fBldap_host\fR
  78. .RS 4
  79. The hostname or ip\-adress of the LDAP server\&.
  80. .sp
  81. Default:
  82. \fIlocalhost\fR
  83. .RE
  84. .PP
  85. \fBldap_port\fR
  86. .RS 4
  87. The port number of the LDAP server\&. LDAP normally runs on port 389\&.
  88. .sp
  89. Default:
  90. \fI389\fR
  91. .RE
  92. .PP
  93. \fBldap_protocol\fR
  94. .RS 4
  95. The protocol to be used to connect to the LDAP server\&. Can be either \*(Aqldap\*(Aq or \*(Aqldaps\*(Aq for SSL connections\&. You will probably have to specify port 636 for ldap_port also\&. Kopano will not use STARTTLS for such an SSL connection but instead will connect directly to an SSL encrypted port\&.
  96. .sp
  97. Default:
  98. \fIldap\fR
  99. .RE
  100. .PP
  101. \fBldap_uri\fR
  102. .RS 4
  103. Instead of using ldap_host, ldap_port and ldap_protocol, you may also use ldap_uri which should specify the URI of the LDAP server like \*(Aqldap://server:389\*(Aq\&. If ldap_uri is set, the values of ldap_host, ldap_port and ldap_protocol are ignored\&. You may also specify multiple space\-separated LDAP server URI\*(Aqs\&.
  104. .sp
  105. Default:
  106. .RE
  107. .PP
  108. \fBldap_server_charset\fR
  109. .RS 4
  110. The charset that the LDAP server uses to store strings\&. All strings sent to the LDAP server or retrieved from the server will be interpreted in this charset\&. In most setups, utf\-8 is used, but may also be iso\-8859\-15\&. All charsets supported by the system iconv() are supported here\&.
  111. .sp
  112. Default:
  113. \fIutf\-8\fR
  114. .RE
  115. .PP
  116. \fBldap_bind_user\fR
  117. .RS 4
  118. The bind dn as to connect to the LDAP server\&. Leave empty to connect anonymous\&.
  119. .sp
  120. Default value is empty\&.
  121. .RE
  122. .PP
  123. \fBldap_bind_passwd\fR
  124. .RS 4
  125. When ldap_bind_user is a valid DN, this should be filled in too\&.
  126. .sp
  127. Default value is empty\&.
  128. .RE
  129. .PP
  130. \fBldap_network_timeout\fR
  131. .RS 4
  132. The timeout for network operations in seconds\&.
  133. .sp
  134. Default:
  135. \fI30\fR
  136. .RE
  137. .PP
  138. \fBldap_last_modification_attribute\fR
  139. .RS 4
  140. This value is used to detect changes in the item in the LDAP server\&. Since it is a standard LDAP attribute, you should never have to change this\&. It is mainly used for addressbook synchronisation between your server and your offline data\&.
  141. .sp
  142. Default:
  143. \fImodifyTimeStamp\fR
  144. .RE
  145. .PP
  146. \fBldap_page_size\fR
  147. .RS 4
  148. Limit result sets in pages of this size, downloading fewer results at a time from the LDAP server\&.
  149. .sp
  150. Default:
  151. \fI1000\fR
  152. .RE
  153. .PP
  154. \fBldap_search_base\fR
  155. .RS 4
  156. This is the subtree entry where all objects are defined in the LDAP server\&.
  157. .sp
  158. Default:
  159. \fIdc=kopano,dc=com\fR
  160. .RE
  161. .PP
  162. \fBldap_object_type_attribute\fR
  163. .RS 4
  164. An object is defined by this attribute what type it is, eg\&. user, group, etc\&. Every object type should have a unique value in this attribute in order to define what which entry is\&.
  165. .sp
  166. The value of this attribute must be specified in the ldap_*_type_attribute_value settings\&. Each of those settings may specify multiple values for the type attribute, separated by comma\*(Aqs\&. All of these values must be present in the objects type attribute for a match to be made and the object to be recognised as that type\&.
  167. .sp
  168. It is possible for ambiguities to arise by setting the same string for multiple ldap_*_type_attribute_value settings\&. This ambiguity will be resolved by preferring objects with more matching values\&. If the ambiguity cannot be resolved in this way, then the first possibility is chosen from the list (addresslist, tenant, dynamic group, group, contact, user)\&.
  169. .sp
  170. Default:
  171. \fIobjectClass\fR
  172. .RE
  173. .PP
  174. \fBldap_user_type_attribute_value\fR
  175. .RS 4
  176. The value in
  177. \fBldap_object_type_attribute\fR
  178. which defines a user\&.
  179. .sp
  180. Default for OpenLDAP:
  181. \fIposixAccount\fR
  182. .sp
  183. Default for ADS:
  184. \fIuser\fR
  185. .RE
  186. .PP
  187. \fBldap_group_type_attribute_value\fR
  188. .RS 4
  189. The value in
  190. \fBldap_object_type_attribute\fR
  191. which defines a group\&.
  192. .sp
  193. Default for OpenLDAP:
  194. \fIposixGroup\fR
  195. .sp
  196. Default for ADS:
  197. \fIgroup\fR
  198. .RE
  199. .PP
  200. \fBldap_contact_type_attribute_value\fR
  201. .RS 4
  202. The value in
  203. \fBldap_object_type_attribute\fR
  204. which defines a contact\&.
  205. .sp
  206. Default for OpenLDAP:
  207. \fIinetOrgPerson\fR
  208. .sp
  209. Default for ADS:
  210. \fIcontact\fR
  211. .RE
  212. .PP
  213. \fBldap_company_type_attribute_value\fR
  214. .RS 4
  215. The value in
  216. \fBldap_object_type_attribute\fR
  217. which defines a tenant\&. This option is only used in multi\-tenancy installations\&.
  218. .sp
  219. Default for OpenLDAP:
  220. \fIorganizationalUnit\fR
  221. .sp
  222. Default for ADS:
  223. \fIkopano\-company\fR
  224. .RE
  225. .PP
  226. \fBldap_addresslist_type_attribute_value\fR
  227. .RS 4
  228. The value in
  229. \fBldap_object_type_attribute\fR
  230. which defines an addresslist\&.
  231. .sp
  232. Default:
  233. \fIkopano\-addresslist\fR
  234. .RE
  235. .PP
  236. \fBldap_dynamicgroup_type_attribute_value\fR
  237. .RS 4
  238. The value in
  239. \fBldap_object_type_attribute\fR
  240. which defines a dynamic group\&.
  241. .sp
  242. Default:
  243. \fIkopano\-dynamicgroup\fR
  244. .RE
  245. .PP
  246. \fBldap_user_search_filter\fR
  247. .RS 4
  248. Adds an extra filter to the user search\&.
  249. .sp
  250. Hint: Use the kopanoAccount attribute in the filter to differentiate between non\-kopano and kopano users\&.
  251. .sp
  252. Default for OpenLDAP is empty\&.
  253. .sp
  254. Default for ADS:
  255. \fI(objectCategory=Person)\fR
  256. .RE
  257. .PP
  258. \fBldap_user_unique_attribute\fR
  259. .RS 4
  260. This is the unique attribute of a user which is never going to change, unless the user is removed from LDAP\&. When this value changes, Kopano will remove the previous user and store from the database, and create a new user with this unique value\&.
  261. .sp
  262. Default for OpenLDAP:
  263. \fIuidNumber\fR
  264. .sp
  265. Default for ADS:
  266. \fIobjectGuid\fR
  267. .RE
  268. .PP
  269. \fBldap_user_unique_attribute_type\fR
  270. .RS 4
  271. Contents type for the
  272. \fBldap_user_unique_attribute\fR\&. This value can be
  273. \fIbinary\fR
  274. or
  275. \fItext\fR\&.
  276. .sp
  277. Default for OpenLDAP:
  278. \fItext\fR
  279. .sp
  280. Default for ADS:
  281. \fIbinary\fR
  282. .RE
  283. .PP
  284. \fBldap_fullname_attribute\fR
  285. .RS 4
  286. This value is the fullname of a user\&. It will be used on outgoing messages, and store names\&.
  287. .sp
  288. Default:
  289. \fIcn\fR
  290. .RE
  291. .PP
  292. \fBldap_loginname_attribute\fR
  293. .RS 4
  294. This value is the loginname of a user\&. This is what the user uses to login on kopano\&. The DAgent will use this value to open the store of the user\&.
  295. .sp
  296. Default for OpenLDAP:
  297. \fIuid\fR
  298. .sp
  299. Default for ADS:
  300. \fIsAMAccountName\fR
  301. .RE
  302. .PP
  303. \fBldap_password_attribute\fR
  304. .RS 4
  305. This value is the password of a user\&. When using
  306. \fBldap_authentication_method\fR
  307. =
  308. \fIpassword\fR, this value will be checked\&. The
  309. \fBldap_bind_user\fR
  310. should have enough access rights to read the password field\&.
  311. .sp
  312. Default for OpenLDAP:
  313. \fIuserPassword\fR
  314. .sp
  315. Default for ADS:
  316. \fIunicodePwd\fR
  317. .RE
  318. .PP
  319. \fBldap_authentication_method\fR
  320. .RS 4
  321. This value can be
  322. \fIbind\fR
  323. or
  324. \fIpassword\fR\&. When set to bind, the plugin will authenticate by opening a new connection to the LDAP server as the user with the given password\&. When set to password, the plugin will read and match the password field from the LDAP server itself\&. When set to password, the
  325. \fBldap_bind_user\fR
  326. should have enough access rights to read the password field\&.
  327. .sp
  328. Default for OpenLDAP:
  329. \fIbind\fR
  330. .sp
  331. Default for ADS:
  332. \fIbind\fR
  333. .RE
  334. .PP
  335. \fBldap_emailaddress_attribute\fR
  336. .RS 4
  337. This value is the email address of a user\&. It will be used to set the From on outgoing messages\&.
  338. .sp
  339. Default:
  340. \fImail\fR
  341. .RE
  342. .PP
  343. \fBldap_emailaliases_attribute\fR
  344. .RS 4
  345. This value is the email aliases of a user\&. It can be used to find extra valid email accounts for incoming email\&. These email addresses cannot be used for outgoing email\&.
  346. .sp
  347. Default:
  348. \fIkopanoAliases\fR
  349. .RE
  350. .PP
  351. \fBldap_isadmin_attribute\fR
  352. .RS 4
  353. This value indicates if a user has administrator rights\&. 0 or not presents means no\&. 1 means yes\&. In multi\-tenancy environment a value of 1 means that the user is administrator over his own tenant\&. A value of 2 means he is administrator over all companies within the environment\&.
  354. .sp
  355. Default:
  356. \fIkopanoAdmin\fR
  357. .RE
  358. .PP
  359. \fBldap_nonactive_attribute\fR
  360. .RS 4
  361. This value indicates if a user is nonactive\&. Nonactive users cannot login, but the store can be used as a shared store for other users\&.
  362. .sp
  363. Setting this value to 1 will make a mailbox nonactive\&. The nonactive attribute provided by the Kopano schema for nonactive users is
  364. \fIkopanoSharedStoreOnly\fR
  365. .sp
  366. Default:
  367. \fIkopanoSharedStoreOnly\fR
  368. .RE
  369. .PP
  370. \fBldap_resource_type_attribute\fR
  371. .RS 4
  372. This attribute can change the type of a non\-active user\&. The value of this attribute can be
  373. \fIroom\fR
  374. or
  375. \fIequipment\fR
  376. to make it such a resource\&. If this attribute is not present, or not one of the previously described values, the user will be a normal non\-active user\&.
  377. .sp
  378. Default:
  379. \fIkopanoResourceType\fR
  380. .RE
  381. .PP
  382. \fBldap_resource_capacity_attribute\fR
  383. .RS 4
  384. Resources often have a limited capacity\&. Use this attribute to control this value\&. user\&.
  385. .sp
  386. Default:
  387. \fIkopanoResourceCapacity\fR
  388. .RE
  389. .PP
  390. \fBldap_sendas_attribute\fR
  391. .RS 4
  392. This attribute contains the list of users for which the user can use the sendas feature\&.
  393. .sp
  394. Default:
  395. \fIkopanoSendAsPrivilege\fR
  396. .RE
  397. .PP
  398. \fBldap_sendas_attribute_type\fR
  399. .RS 4
  400. Contents type for the
  401. \fBldap_sendas_attribute\fR
  402. this value can be
  403. \fIdn\fR,
  404. \fIbinary\fR
  405. or
  406. \fItext\fR\&.
  407. .sp
  408. Default for OpenLDAP:
  409. \fItext\fR
  410. .sp
  411. Default for ADS:
  412. \fIdn\fR
  413. .RE
  414. .PP
  415. \fBldap_sendas_relation_attribute\fR
  416. .RS 4
  417. This value is used to find the users in the sendas list\&.
  418. .sp
  419. Defaults to empty value, using the
  420. \fBldap_user_unique_attribute\fR
  421. setting\&. By using the DN, you can also add groups to the sendas list\&.
  422. .sp
  423. Default for OpenLDAP is empty\&.
  424. .sp
  425. Default for ADS:
  426. \fIdistinguishedName\fR
  427. .RE
  428. .PP
  429. \fBldap_user_certificate_attribute\fR
  430. .RS 4
  431. The attribute which contains the user\*(Aqs public certificate to be used for encrypted S/MIME messages\&. Both Active Directory and OpenLDAP use the same ldap attribute by default\&. The format of the certificate should be the binary DER format\&.
  432. .sp
  433. Default:
  434. \fIuserCertificate\fR
  435. .RE
  436. .PP
  437. \fBldap_group_search_filter\fR
  438. .RS 4
  439. Adds an extra filter to the group search\&.
  440. .sp
  441. Hint: Use the kopanoAccount attribute in the filter to differentiate between non\-kopano and kopano groups\&.
  442. .sp
  443. Default for OpenLDAP is empty\&.
  444. .sp
  445. Default for ADS:
  446. \fI(objectCategory=Group)\fR
  447. .RE
  448. .PP
  449. \fBldap_group_unique_attribute\fR
  450. .RS 4
  451. This is the unique attribute of a group which is never going to change, unless the group is removed from LDAP\&. When this value changes, Kopano will remove the previous group from the database, and create a new group with this unique value\&.
  452. .sp
  453. Default for OpenLDAP:
  454. \fIgidNumber\fR
  455. .sp
  456. Default for ADS:
  457. \fIobjectSid\fR
  458. .RE
  459. .PP
  460. \fBldap_group_unique_attribute_type\fR
  461. .RS 4
  462. Contents type for the
  463. \fBldap_group_unique_attribute\fR
  464. this value can be
  465. \fIbinary\fR
  466. or
  467. \fItext\fR\&.
  468. .sp
  469. Default for OpenLDAP:
  470. \fItext\fR
  471. .sp
  472. Default for ADS:
  473. \fIbinary\fR
  474. .RE
  475. .PP
  476. \fBldap_groupname_attribute\fR
  477. .RS 4
  478. This value is the name of a group\&.
  479. .sp
  480. Default:
  481. \fIcn\fR
  482. .RE
  483. .PP
  484. \fBldap_groupmembers_attribute\fR
  485. .RS 4
  486. This value is the member list of a group\&.
  487. .sp
  488. Default for OpenLDAP:
  489. \fImemberUid\fR
  490. .sp
  491. Default for ADS:
  492. \fImember\fR
  493. .RE
  494. .PP
  495. \fBldap_groupmembers_attribute_type\fR
  496. .RS 4
  497. Contents type for the
  498. \fBldap_groupmembers_attribute\fR
  499. this value can be
  500. \fIdn\fR,
  501. \fIbinary\fR
  502. or
  503. \fItext\fR\&.
  504. .sp
  505. Default for OpenLDAP:
  506. \fItext\fR
  507. .sp
  508. Default for ADS:
  509. \fIdn\fR
  510. .RE
  511. .PP
  512. \fBldap_groupmembers_relation_attribute\fR
  513. .RS 4
  514. This value is used to find the users in a group if
  515. \fBldap_groupmembers_attribute_type\fR
  516. is
  517. \fItext\fR\&.
  518. .sp
  519. Defaults to empty value, using the
  520. \fBldap_user_unique_attribute\fR
  521. setting\&.
  522. .sp
  523. Default is empty\&.
  524. .RE
  525. .PP
  526. \fBldap_group_security_attribute\fR
  527. .RS 4
  528. If this attribute is present, you can make a group a security group\&. These groups can be used to place permissions on folders\&.
  529. .sp
  530. Default for OpenLDAP:
  531. \fIkopanoSecurityGroup\fR
  532. .sp
  533. Default for ADS:
  534. \fIgroupType\fR
  535. .RE
  536. .PP
  537. \fBldap_group_security_attribute_type\fR
  538. .RS 4
  539. The type of the
  540. \fBldap_group_security_attribute\fR
  541. is very different for ADS and OpenLDAP\&. The value of this option can be
  542. \fIboolean\fR
  543. or
  544. \fIads\fR\&. The ads option only looks at the highest bit in the numeric value of the groupType attribute\&.
  545. .sp
  546. Default for OpenLDAP:
  547. \fIboolean\fR
  548. .sp
  549. Default for ADS:
  550. \fIads\fR
  551. .RE
  552. .PP
  553. \fBldap_company_search_filter\fR
  554. .RS 4
  555. Add an extra filter to the tenant search\&.
  556. .sp
  557. Hint: Use the kopanoAccount attribute in the filter to differentiate between non\-kopano and kopano companies\&.
  558. .sp
  559. Default for OpenLDAP is empty\&.
  560. .sp
  561. Default for ADS:
  562. \fI(objectCategory=Company)\fR
  563. .RE
  564. .PP
  565. \fBldap_company_unique_attribute\fR
  566. .RS 4
  567. This is the unique attribute of a tenant which is never going to change, unless the tenant is removed from LDAP\&. When this value changes, Kopano will remove the previous tenant from the database, and create a new tenant with this unique value\&.
  568. .sp
  569. Default for OpenLDAP:
  570. \fIou\fR
  571. .sp
  572. Default for ADS:
  573. \fIobjectSid\fR
  574. .RE
  575. .PP
  576. \fBldap_company_unique_attribute_type\fR
  577. .RS 4
  578. Contents type for the
  579. \fBldap_company_unique_attribute\fR
  580. this value can be
  581. \fIbinary\fR
  582. or
  583. \fItext\fR\&.
  584. .sp
  585. Default for OpenLDAP:
  586. \fItext\fR
  587. .sp
  588. Default for ADS:
  589. \fIbinary\fR
  590. .RE
  591. .PP
  592. \fBldap_companyname_attribute\fR
  593. .RS 4
  594. This value is the name of a tenant\&.
  595. .sp
  596. Default:
  597. \fIcn\fR
  598. .RE
  599. .PP
  600. \fBldap_company_view_attribute\fR
  601. .RS 4
  602. This attribute contains the list of tenants which can view the members of the tenant where this attribute is set on\&. tenants which are not listed in this attribute cannot see the presence of the tenant space itself nor its members\&.
  603. .sp
  604. Default:
  605. \fIkopanoViewPrivilege\fR
  606. .RE
  607. .PP
  608. \fBldap_company_view_attribute_type\fR
  609. .RS 4
  610. Contents type for the
  611. \fBldap_company_view_attribute\fR
  612. this value can be
  613. \fIdn\fR,
  614. \fIbinary\fR
  615. or
  616. \fItext\fR\&.
  617. .sp
  618. Default for OpenLDAP:
  619. \fItext\fR
  620. .sp
  621. Default for ADS:
  622. \fIdn\fR
  623. .RE
  624. .PP
  625. \fBldap_company_view_relation_attribute\fR
  626. .RS 4
  627. The attribute of the tenant which is listed in
  628. \fBldap_company_view_attribute\fR\&.
  629. .sp
  630. Default: Empty, using the
  631. \fBldap_company_unique_attribute\fR
  632. .RE
  633. .PP
  634. \fBldap_company_admin_attribute\fR
  635. .RS 4
  636. This attribute contains the list of users outside of the selected tenant space who are administrator over the selected tenant space\&. Note that local users should not be listed as administrator here, those users need the
  637. \fBldap_isadmin_attribute\fR
  638. attribute\&.
  639. .sp
  640. Default:
  641. \fIkopanoAdminPrivilege\fR
  642. .RE
  643. .PP
  644. \fBldap_company_admin_attribute_type\fR
  645. .RS 4
  646. Contents type for the
  647. \fBldap_company_admin_attribute\fR
  648. this value can be
  649. \fIdn\fR,
  650. \fIbinary\fR
  651. or
  652. \fItext\fR\&.
  653. .sp
  654. Default for OpenLDAP:
  655. \fItext\fR
  656. .sp
  657. Default for ADS:
  658. \fIdn\fR
  659. .RE
  660. .PP
  661. \fBldap_company_admin_relation_attribute\fR
  662. .RS 4
  663. The attribute of the user which is listed in
  664. \fBldap_company_admin_attribute\fR\&.
  665. .sp
  666. Default: Empty, using the
  667. \fBldap_user_unique_attribute\fR
  668. .RE
  669. .PP
  670. \fBldap_company_system_admin_attribute\fR
  671. .RS 4
  672. This attribute contains the user who acts as the system administrator of this tenatn space\&. This can either be a local user or a user from a different tenant space\&. At the moment this user is set as the sender of quota warning emails\&.
  673. .sp
  674. Default:
  675. \fIkopanoSystemAdmin\fR
  676. .RE
  677. .PP
  678. \fBldap_company_system_admin_attribute_type\fR
  679. .RS 4
  680. Contents type for the
  681. \fBldap_company_system_admin_attribute\fR
  682. this value can be
  683. \fIdn\fR,
  684. \fIbinary\fR
  685. or
  686. \fItext\fR\&.
  687. .sp
  688. Default for OpenLDAP:
  689. \fItext\fR
  690. .sp
  691. Default for ADS:
  692. \fIdn\fR
  693. .RE
  694. .PP
  695. \fBldap_company_system_admin_relation_attribute\fR
  696. .RS 4
  697. The attribute of the user which is listed in
  698. \fBldap_system_admin_attribute\fR\&.
  699. .sp
  700. Default: Empty, using the
  701. \fBldap_user_unique_attribute\fR
  702. .RE
  703. .PP
  704. \fBldap_addresslist_search_filter\fR
  705. .RS 4
  706. Add a filter to the addresslist search\&.
  707. .sp
  708. Hint: Use the kopanoAccount attribute in the filter to differentiate between non\-kopano and kopano addresslists\&.
  709. .sp
  710. Default:
  711. \fI(objectClass=kopano\-addresslist)\fR
  712. .RE
  713. .PP
  714. \fBldap_addresslist_unique_attribute\fR
  715. .RS 4
  716. This is the unique attribute of a addresslist which is never going to change, unless the addresslist is removed from LDAP\&. When this value changes, Kopano will remove the previous addresslist from the database, and create a new addresslist with this unique value\&.
  717. .sp
  718. Default:
  719. \fIcn\fR
  720. .RE
  721. .PP
  722. \fBldap_addresslist_unique_attribute_type\fR
  723. .RS 4
  724. Contents type for the
  725. \fBldap_addresslist_unique_attribute\fR
  726. this value can be
  727. \fIdn\fR,
  728. \fIbinary\fR
  729. or
  730. \fItext\fR\&. On LDAP this value should be
  731. \fItext\fR\&. On ADS this value should be
  732. \fIdn\fR
  733. .sp
  734. Default:
  735. \fItext\fR
  736. .RE
  737. .PP
  738. \fBldap_addresslist_filter_attribute\fR
  739. .RS 4
  740. This is the name of the attribute on the addresslist object that specifies the filter to be applied for this addresslist\&. All users matching this filter AND matching the default ldap_user_search_filter will be included in the addresslist\&.
  741. .sp
  742. Default:
  743. \fIkopanoFilter\fR
  744. .RE
  745. .PP
  746. \fBldap_addresslist_search_base_attribute\fR
  747. .RS 4
  748. This is the name of the attribute on the addresslist object that specifies the search base to be applied for this addresslist\&.
  749. .sp
  750. Default:
  751. \fIkopanoBase\fR
  752. .RE
  753. .PP
  754. \fBldap_addresslist_name_attribute\fR
  755. .RS 4
  756. The attribute containing the name of the addresslist
  757. .sp
  758. Default:
  759. \fIcn\fR
  760. .RE
  761. .PP
  762. \fBldap_dynamicgroup_search_filter\fR
  763. .RS 4
  764. Add an extra filter to the dynamicgroup search\&.
  765. .sp
  766. Hint: Use the kopanoAccount attribute in the filter to differentiate between non\-kopano and kopano dynamic groups\&.
  767. .sp
  768. Default is empty\&.
  769. .RE
  770. .PP
  771. \fBldap_dynamicgroup_unique_attribute\fR
  772. .RS 4
  773. This is the unique attribute of a dynamicgroup which is never going to change, unless the dynamicgroup is removed from LDAP\&. When this value changes, Kopano will remove the previous dynamicgroup from the database, and create a new dynamicgroup with this unique value\&.
  774. .sp
  775. Default:
  776. \fIcn\fR
  777. .RE
  778. .PP
  779. \fBldap_dynamicgroup_unique_attribute_type\fR
  780. .RS 4
  781. Contents type for the
  782. \fBldap_dynamicgroup_unique_attribute\fR
  783. this value can be
  784. \fIbinary\fR
  785. or
  786. \fItext\fR\&. On LDAP this value should be
  787. \fItext\fR\&. On ADS this value should be
  788. \fIbinary\fR
  789. .sp
  790. Default:
  791. \fItext\fR
  792. .RE
  793. .PP
  794. \fBldap_dynamicgroup_filter_attribute\fR
  795. .RS 4
  796. This is the name of the attribute on the dynamicgroup object that specifies the filter to be applied for this dynamicgroup\&. All users matching this filter AND matching the default search filters for objects will be included in the dynamicgroup\&.
  797. .sp
  798. Default:
  799. \fIkopanoFilter\fR
  800. .RE
  801. .PP
  802. \fBldap_dynamicgroup_search_base_attribute\fR
  803. .RS 4
  804. This is the name of the attribute on the dynamicgroup object that specifies the search base to be applied for this dynamicgroup\&.
  805. .sp
  806. Default:
  807. \fIkopanoBase\fR
  808. .RE
  809. .PP
  810. \fBldap_dynamicgroup_name_attribute\fR
  811. .RS 4
  812. The attribute containing the name of the dynamicgroup\&.
  813. .sp
  814. Default:
  815. \fIcn\fR
  816. .RE
  817. .PP
  818. \fBldap_quotaoverride_attribute\fR
  819. .RS 4
  820. Default:
  821. \fIkopanoQuotaOverride\fR
  822. .RE
  823. .PP
  824. \fBldap_warnquota_attribute\fR
  825. .RS 4
  826. Default:
  827. \fIkopanoQuotaWarn\fR
  828. .RE
  829. .PP
  830. \fBldap_softquota_attribute\fR
  831. .RS 4
  832. Default:
  833. \fIkopanoQuotaSoft\fR
  834. .RE
  835. .PP
  836. \fBldap_hardquota_attribute\fR
  837. .RS 4
  838. Default:
  839. \fIkopanoQuotaHard\fR
  840. .RE
  841. .PP
  842. \fBldap_userdefault_quotaoverride_attribute\fR
  843. .RS 4
  844. Default:
  845. \fIkopanoUserDefaultQuotaOverride\fR
  846. .RE
  847. .PP
  848. \fBldap_userdefault_warnquota_attribute\fR
  849. .RS 4
  850. Default:
  851. \fIkopanoUserDefaultQuotaWarn\fR
  852. .RE
  853. .PP
  854. \fBldap_userdefault_softquota_attribute\fR
  855. .RS 4
  856. Default:
  857. \fIkopanoUserDefaultQuotaSoft\fR
  858. .RE
  859. .PP
  860. \fBldap_userdefault_hardquota_attribute\fR
  861. .RS 4
  862. Default:
  863. \fIkopanoUserDefaultQuotaHard\fR
  864. .RE
  865. .PP
  866. \fBldap_quota_multiplier\fR
  867. .RS 4
  868. This value is used to multiply the quota values to bytes\&. When the values in LDAP are in Kb, use 1024 here\&.
  869. .sp
  870. Default:
  871. \fI1\fR
  872. .RE
  873. .PP
  874. \fBldap_quota_userwarning_recipients_attribute\fR
  875. .RS 4
  876. This attribute contains the list of users who will receive an email when a user exceeds his quota\&. User who exceeds his quota will be automatically added to the recipients list, this list only indicates who else will be notified\&.
  877. .sp
  878. Default:
  879. \fIkopanoQuotaUserWarningRecipients\fR
  880. .RE
  881. .PP
  882. \fBldap_quota_userwarning_recipients_attribute_type\fR
  883. .RS 4
  884. Contents type for the
  885. \fBldap_quota_userwarning_recipients_attribute\fR
  886. this value can be
  887. \fIdn\fR,
  888. \fIbinary\fR
  889. or
  890. \fItext\fR\&. On LDAP this value should be
  891. \fItext\fR\&. On ADS this value should be
  892. \fIdn\fR
  893. .sp
  894. Default:
  895. \fItext\fR
  896. .RE
  897. .PP
  898. \fBldap_quota_userwarning_recipients_relation_attribute\fR
  899. .RS 4
  900. The attribute of the user which is listed in
  901. \fBldap_quota_userwarning_recipients_attribute\fR
  902. .sp
  903. Default: Empty, using
  904. \fIldap_user_unique_attribute\fR
  905. .RE
  906. .PP
  907. \fBldap_quota_companywarning_recipients_attribute\fR
  908. .RS 4
  909. This attribute contains the list of users who will receive an email when a tenant exceeds its quota\&. The system administrator of the tenant that is over quota will automatically be added to the recipients list, this list only indicates who else will be notified\&.
  910. .sp
  911. Default:
  912. \fIkopanoQuotaCompanyWarningRecipients\fR
  913. .RE
  914. .PP
  915. \fBldap_quota_companywarning_recipients_attribute_type\fR
  916. .RS 4
  917. Contents type for the
  918. \fBldap_quota_companywarning_recipients_attribute\fR
  919. this value can be
  920. \fIdn\fR,
  921. \fIbinary\fR
  922. or
  923. \fItext\fR\&. On LDAP this value should be
  924. \fItext\fR\&. On ADS this value should be
  925. \fIdn\fR
  926. .sp
  927. Default:
  928. \fItext\fR
  929. .RE
  930. .PP
  931. \fBldap_quota_companywarning_recipients_relation_attribute\fR
  932. .RS 4
  933. The attribute of the user which is listed in
  934. \fBldap_quota_companywarning_recipients_attribute\fR
  935. .sp
  936. Default: Empty, using
  937. \fIldap_user_unique_attribute\fR
  938. .RE
  939. .PP
  940. \fBldap_addressbook_hide_attribute\fR
  941. .RS 4
  942. The attribute indicating the object must be hidden from the addressbook\&. The object will still be detected as kopano user and is allowed to login and work as regular kopano user, but will not be visible in the addressbook for other users\&.
  943. .sp
  944. Default:
  945. \fIkopanoHidden\fR
  946. .RE
  947. .PP
  948. \fBldap_object_search_filter\fR
  949. .RS 4
  950. When searching in the addressbook, this filter will be used\&. Normally, the storage server will only search in the unique attribute, loginname, fullname and emailaddress\&. You might want to search in more fields, like \*(Aqlastname\*(Aq\&. Kopano also uses a postfix wildcard only\&. Using the \*(Aq*\*(Aq wildcard with prefixes makes a search slower, but can return more results\&.
  951. .sp
  952. Hint: Use the kopanoAccount attribute in the filter to differentiate between non\-kopano and kopano objects\&.
  953. .sp
  954. You can set a custom search filter here\&. \*(Aq%s\*(Aq will be replaced with the string being searched\&.
  955. .sp
  956. Active Directory has a shortcut for searching in the addressbook using the \*(Aqanr\*(Aq attribute\&. This is recommended on ADS installations\&.
  957. .sp
  958. Default:
  959. .sp
  960. Recommended for ADS installations:
  961. \fI(anr=%s)\fR
  962. .sp
  963. Optional for OpenLDAP installations:
  964. \fI(|(mail=%s*)(uid=%s*)(cn=*%s*)\:(fullname=*%s*)(givenname=*%s*)(lastname=*%s*)(sn=*%s*))\fR
  965. .RE
  966. .PP
  967. \fBldap_filter_cutoff_elements\fR
  968. .RS 4
  969. When the ldap plugin retrieves information from the LDAP Server, large queries can be created to retrieve data for multiple objects at once\&. These large queries can perform badly on some LDAP server implementations\&. This option limits the number of elements that can be retrieved in one search filter and therefore limits the size of the filter\&. Instead, a broader search filter is created which retrieves all objects from the LDAP server\&. This results in slightly higher processing overhead and network activity, but with the bonus that the query can be served by the LDAP server much faster (a factor of 40 in 5000\-object queries has been observed)\&.
  970. .sp
  971. Setting this value to 0 will never limit the filter, setting it to a value of 1 will always limit the filter (since all queries will be retrieving one or more objects)\&.
  972. .sp
  973. Default:
  974. \fI1000\fR
  975. .RE
  976. .SH "FILES"
  977. .PP
  978. /etc/kopano/server\&.cfg
  979. .RS 4
  980. The server configuration file\&.
  981. .RE
  982. .PP
  983. /etc/kopano/ldap\&.cfg
  984. .RS 4
  985. The Kopano LDAP configuration file\&.
  986. .RE
  987. .SH "AUTHOR"
  988. .PP
  989. Written by Kopano\&.
  990. .SH "SEE ALSO"
  991. .PP
  992. \fBkopano-server\fR(8),
  993. \fBkopano-server.cfg\fR(5)