OCSManager Configuration File

The ocsmanager.ini configuration file is divided into different section. The parser starts by looking at the [main] section to choose which further section to lookup.

[main] section

auth parameter

The auth parameter specifies the authentication scheme to use for users. You can specify one the possible following values:
  • auth = file
    retrieve users and passwords from a text file
  • auth = ldap
    retrieve users and passwords from a ldap server
  • auth = single
    specify a unique username/password combination to authenticate on the server

If auth = file is specified, the parser looks for the [auth:file] section.
If auth = ldap is specified, the parser looks for the [auth:ldap] section.
If auth = single is specified, the parser looks for the [auth:single] section.

mapistore_root

The mapistore_root parameter specifies the folder where openchange.ldb has to be fetched. This is generally considered as the root/top folder of mapistore when used along OpenChange server.

mapistore_data

The mapistore_data parameter specifies the root folder where mapistore specific data has to be fetched. This is the folder containing all the backend specific data.

debug

The debug parameter enables or not mapistore management debugging. This parameter accepts the following values: yes or no

[auth:file] section

This section is parsed only if auth = file option is specified in the [main] section.

file parameter

This parameter specifies the file from which username and passwords should be loaded.

 file = users.ini 

[auth:ldap] section

This section is parsed only if auth = ldap option is specified in the [main] section.

host parameter

Specify the ldap host to connect to.

 host = ldap://localhost 

port parameter

Specify the LDAP service port on which to connect.

 port = 389 

bind_dn parameter

Specify the binding DN for the service Manager. An account with the privileges to look over users is required.

 bind_dn = cn=ocsmanager,dc=oc,dc=local

bind_pw parameter

Specify the password of the service Manager account.

 bind_pw = secret 

basedn parameter

Specify the base DN where to search users.

 basedn = cn=Users,dc=oc,dc=local

filter parameter

Specify the filter to apply on base DN to retrieve users.

 filter = (cn=%s) 

attrs parameter

Specify the attributes to retrieve from the user record.

 attrs = userPassword, x-isActive 

[auth:single] section

This section is parsed only if auth = single option is specified in the [main] section.

username parameter

Specify the username to use for this single account.

 username = test 

password parameter

Specify the password for this account. You can either specify a plain text password or the SSHA hash.

password = secret 
password = {SSHA}hhRfdH2TW5AO0palotupFju8Ak5Isi4e

Also available in: HTML TXT