Download Zarafa Collaboration Platform
Transcript
Configuring the server As separation character between the username and companyname a character should be chosen that does not appear inside the username or companyname itself. Valid characters for example are @ and \. Some example loginname_format for a user named "John Doe" who is member of "Exampleorg": • %u > john • %u@%c > john@exampleorg 1 • \\%c\%u > \\exampleorg\john Although having a loginname that contains a %c is mandatory for the DB plugin, it is optional for the LDAP plugin. Managing unique loginname_s is easier in LDAP because it is possible to use the email address as the _loginname attribute. See the LDAP configuration file for more information about the loginname attribute. Note When passing a username to the zarafa-admin tool it should be formatted as configured. For example if the loginname_format configuration value includes company name variable (%c), the company name should be passed to the zarafa-admin tool everytime a username is needed. 6.2.2.3. Configuring store name When relations between multiple tenants (companies) are allowed, it is possible that users share their store with users from other tenants. To easily differentiate stores from different tenants, the store name can be formatted to contain the tenant’s name (companyname) to which the user/store belongs. In server.cfg the configuration option storename_format is provided for exactly this purpose. In the format different variables are provided which can be used to different kinds of information. • %u — The username • %f — The fullname of the user • %c — The companyname, name of the tenant, to which the user belongs Some examples for a user named ‘John Doe’ who is member of the tenant ‘Exampleorg’: • %u > john • %f > John Doe • %f (%c) > John Doe (Exampleorg) 6.2.2.4. Configuring the LDAP plugin When using the DB plugin no additional configuration is required. For the LDAP plugin there are several configuration options that might require changes. For a multi-tenancy LDAP setup it’s necessary to have the different company in the LDAP tree and below every company container the users, groups and contacts within that specific company. It’s not possible to assign a user to a specific company by an LDAP attribute. See the screenshot below for an example LDAP structure. 61