[[pmg_ldap_configuration_file]]
ifdef::manvolnum[]
ldap.conf(5)
============
:pmg-toplevel:

NAME
----

ldap.conf - Proxmox Mail Gateway LDAP Configuration


SYNOPSIS
--------

`/etc/pmg/ldap.conf`


DESCRIPTION
-----------
endif::manvolnum[]
ifndef::manvolnum[]
LDAP Configuration
==================
endif::manvolnum[]

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 separate sections, and lines starting with a `#`
character are treated as comments and are also ignored.


Options
-------

include::generated/ldap.conf.5-opts.adoc[]


ifdef::manvolnum[]
include::pmg-copyright.adoc[]
endif::manvolnum[]
