Mattermost LDAP setup with Foxpass

Create an LDAP binder named "mattermost" in the Foxpass portal. Record the generated password.

Then use the settings below to configure Mattermost.

"LdapSettings": {
        "Enable": true,
        "LdapServer": "ldap.foxpass.com",
        "LdapPort": 636,
        "ConnectionSecurity": "TLS",
        "BaseDN": "dc=YOURDOMAIN,dc=com",
        "BindUsername": "cn=mattermost,dc=example,dc=com",
        "BindPassword": "BINDPASSWORD",
        "UserFilter": "",
        "FirstNameAttribute": "gn",
        "LastNameAttribute": "sn",
        "EmailAttribute": "mail",
        "UsernameAttribute": "uid",
        "NicknameAttribute": "",
        "IdAttribute": "uid",
        "SyncIntervalMinutes": 60,
        "SkipCertificateVerification": false,
        "QueryTimeout": 60,
        "MaxPageSize": 0,
        "LoginFieldName": "LDAP Credentials"
    },