Aurora Corporate documentation

Access global address book on LDAP

In Aurora Corporate, additionally to personal address book, global address book is available. In web interface, it's presented as Team tab under Contacts screen. Technically, entries on that list aren't contacts, it's a list of users on this Aurora Corporate installation. Thus, global address book is read-only, it can only be exported as CSV/VCF file from Contacts screen, and its entries are used for To/CC/BCC email address autocompletion on message compose screen.

Using LDAP global address book module, it's possible to replace standard global address book of Aurora with list of contacts obtained from LDAP server.

NB: This module requires LDAP extension for PHP.

Please see Adding modules documentation page for instructions on installing the module. There's also a simpler approach available:

  • Download the module from https://github.com/afterlogic/aurora-module-team-contacts-ldap/archive/master.zip
  • under modules directory of Aurora Corporate installation, create TeamContactsLdap subdirectory
  • extract contents of aurora-module-team-contacts-ldap-master directory of ZIP archive into subdirectory you've created
  • under Database Settings screen of admin interface, press "Update configuration" button

NB: It's important to disable TeamContacts module, that's done by setting Disabled to true in data/settings/modules/TeamContacts.config.json configuration file.

You'll need to configure the module by editing data/settings/modules/TeamContactsLdap.config.json file. Below you'll find the sample configuration file content.

{
    "Disabled": [
        false,
        "bool",
        null,
        "Setting to true disables the module"
    ],
    "Host": [
        "127.0.0.1",
        "string",
        null,
        "LDAP server host"
    ],
    "Port": [
        389,
        "int",
        null,
        "LDAP server port"
    ],
    "SearchDn": [
        "ou=users,dc=example,dc=org",
        "string",
        null,
        "Base Search DN for users lookup"
    ],
    "BindDn": [
        "cn=admin,dc=example,dc=org",
        "string",
        null,
        "Bind DN used for authentication"
    ],
    "BindPassword": [
        "adminpassword",
        "string",
        null,
        "Password used for authentication on LDAP server. Will be automatically encrypted"
    ],
    "ContactObjectClass": [
        "posixAccount",
        "string",
        null,
        "Object class used for user lookup"
    ],
    "UidFieldName": [
        "uid",
        "string",
        null,
        "Denotes the field used as UID"
    ],
    "EmailFieldName": [
        "mail",
        "string",
        null,
        "Denotes the field used as email address"
    ],
    "NameFieldName": [
        "cn",
        "string",
        null,
        "Denotes the field used as name"
    ],
    "SkipEmptyEmail": [
        true,
        "bool",
        null,
        "If true, only users with email addresses will be listed"
    ],
    "ContactMap": [
        {
            "displayName": "FullName",
            "cn": "FullName",
            "mail": "BusinessEmail",
            "title": "BusinessJobTitle",
            "company": "BusinessCompany",
            "department": "BusinessDepartment",
            "telephoneNumber": "BusinessPhone",
            "physicalDeliveryOfficeName": "BusinessOffice"
        },
        "array",
        null,
        "Mapping between LDAP fields and contact fields"
    ]
}