Skip to content

Commit bd4c0ae

Browse files
sirainencmouse
authored andcommitted
auth/ldap: Clarify user iteration
1 parent 77a1a48 commit bd4c0ae

File tree

1 file changed

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

1 file changed

+5
-6
lines changed

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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -395,14 +395,13 @@ userdb ldap {
395395

396396
### User Iteration
397397

398-
For using `doveadm -A` or `-u` with wildcards:
398+
For using `doveadm -A` or `-u` with wildcards you need to configure the userdb
399+
to support user iteration. This is done by adding
400+
[[setting,userdb_ldap_iterate_filter]] and
401+
[[setting,userdb_ldap_iterate_fields]] settings to the userdb:
399402
```
400-
ldap_uris = ldap://ldap.example.org
401-
ldap_auth_dn = cn=admin,dc=example,dc=org
402-
ldap_auth_dn_password = secret
403-
ldap_base = dc=example,dc=org
404-
405403
userdb ldap {
404+
# filter = ...
406405
iterate_filter = (objectClass=posixAccount)
407406
iterate_fields {
408407
user = %{ldap:uid}

0 commit comments

Comments
 (0)