We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77a1a48 commit bd4c0aeCopy full SHA for bd4c0ae
docs/core/config/auth/databases/ldap.md
@@ -395,14 +395,13 @@ userdb ldap {
395
396
### User Iteration
397
398
-For using `doveadm -A` or `-u` with wildcards:
+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:
402
```
-ldap_uris = ldap://ldap.example.org
-ldap_auth_dn = cn=admin,dc=example,dc=org
-ldap_auth_dn_password = secret
403
-ldap_base = dc=example,dc=org
404
-
405
userdb ldap {
+ # filter = ...
406
iterate_filter = (objectClass=posixAccount)
407
iterate_fields {
408
user = %{ldap:uid}
0 commit comments