Skip to content

Commit eee1516

Browse files
sirainencmouse
authored andcommitted
auth/ldap: Update DN template section
1 parent 3d4b7fc commit eee1516

File tree

1 file changed

+6
-4
lines changed
  • docs/core/config/auth/databases

1 file changed

+6
-4
lines changed

docs/core/config/auth/databases/ldap.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff 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+
312315
The main reason to use DN template is to avoid doing the DN lookup, so
313316
that the authentication consists only of one LDAP request.
314317

315318
With 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

322324
If 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,

0 commit comments

Comments
 (0)