84ddb91797aa894f258033d6e5674c1885044c58Timo Sirainen# Authentication for LDAP users. Included from 10-auth.conf.
3d9db880fa0ad8fc3f35b07d1e694f82b1cc4ef4Timo Sirainen driver = ldap
3d9db880fa0ad8fc3f35b07d1e694f82b1cc4ef4Timo Sirainen # Path for LDAP configuration file, see example-config/dovecot-ldap.conf.ext
3d9db880fa0ad8fc3f35b07d1e694f82b1cc4ef4Timo Sirainen# "prefetch" user database means that the passdb already provided the
3d9db880fa0ad8fc3f35b07d1e694f82b1cc4ef4Timo Sirainen# needed information and there's no need to do a separate userdb lookup.
3d9db880fa0ad8fc3f35b07d1e694f82b1cc4ef4Timo Sirainen# driver = prefetch
3d9db880fa0ad8fc3f35b07d1e694f82b1cc4ef4Timo Sirainen driver = ldap
04052d7cacaa866a3f00afb4e104fa46c04c1dd7Timo Sirainen # Default fields can be used to specify defaults that LDAP may override
04052d7cacaa866a3f00afb4e104fa46c04c1dd7Timo Sirainen #default_fields = home=/home/virtual/%u
46f58321834ae2b1ab3acdf9a987ab489a0d98abTimo Sirainen# If you don't have any user-specific settings, you can avoid the userdb LDAP
46f58321834ae2b1ab3acdf9a987ab489a0d98abTimo Sirainen# lookup by using userdb static instead of userdb ldap, for example:
46f58321834ae2b1ab3acdf9a987ab489a0d98abTimo Sirainen #driver = static
46f58321834ae2b1ab3acdf9a987ab489a0d98abTimo Sirainen #args = uid=vmail gid=vmail home=/var/vmail/%u