NAME

ldap.conf - Proxmox Mail Gateway LDAP Configuration

SYNOPSIS

/etc/pmg/ldap.conf

DESCRIPTION

The file /etc/pmg/ldap.conf contains the LDAP configuration.

File Format

The file is divided into a section for each LDAP profile. Each section has the following format:

ldap: NAME
         OPTION value
         ...

Blank lines in the file separates sections, and lines starting with a # character are treated as comments and are also ignored.

Options

accountattr: <string> (default = sAMAccountName, uid)

Account attribute name name.

basedn: <string>

Base domain name.

binddn: <string>

Bind domain name.

bindpw: <string>

Bind password.

comment: <string>

Description.

disable: <boolean>

Flag to disable/deactivate the entry.

filter: <string>

LDAP filter.

groupbasedn: <string>

Base domain name for groups.

groupclass: <string> (default = group, univentionGroup, ipausergroup)

List of objectclasses for groups.

mailattr: <string> (default = mail, userPrincipalName, proxyAddresses, othermailbox, mailAlternativeAddress)

List of mail attribute names.

mode: <ldap | ldaps> (default = ldap)

LDAP protocol mode (ldap or ldaps).

port: <integer> (1 - 65535)

Specify the port to connect to.

profile: <string>

Profile ID.

server1: <string>

Server address.

server2: <string>

Fallback server address. Userd when the first server is not available.

Copyright © 2007-2019 Proxmox Server Solutions GmbH

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/