.. _authentication-ldap_authentication: ========================= LDAP Authentication ========================= See :ref:`LDAP ` for more details. .. code-block:: none passdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } userdb { driver = prefetch } userdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } These enable ``LDAP`` to be used as ``passdb`` and ``userdb``. The userdb prefetch allows ``IMAP`` or ``POP3`` logins to do only a single LDAP lookup by returning the userdb information already in the passdb lookup. :ref:`authentication-prefetch_userdb` has more details on the prefetch userdb. See :ref:`common LDAP configuration ` and :ref:`auth LDAP configuration ` for the setting parameters available in the ldap conf.ext (i.e, /etc/dovecot/dovecot-ldap.conf.ext shown in the above example),