File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
docs/core/config/auth/databases Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -309,15 +309,17 @@ Example:
309309
310310### DN Template
311311
312+ You can do authentication binding using DN template by configuring it in the
313+ [[ setting,passdb_ldap_bind_userdn]] setting.
314+
312315The main reason to use DN template is to avoid doing the DN lookup, so
313316that the authentication consists only of one LDAP request.
314317
315318With IMAP and POP3 logins, the same optimization can be done by using
316319[[ link,auth_prefetch]] and returning userdb info in the DN lookup (a total
317- of two LDAP requests per login in both cases).
318-
319- If you're also using Dovecot for SMTP AUTH, it doesn't do a userdb lookup
320- so the prefetch optimization doesn't help.
320+ of two LDAP requests per login in both cases). If you're also using Dovecot
321+ for SMTP AUTH, it doesn't do a userdb lookup so the prefetch optimization
322+ doesn't help.
321323
322324If you're using DN template, there is no LDAP lookup that returns fields, so
323325[[ setting,passdb_fields]] can't access any ` %{ldap:*} ` variables. Also,
You can’t perform that action at this time.
0 commit comments