I tried to fill it with the documentation, no luck. That’s why I am posting here and hoping for help.
I entered any combination of sAMAccount, mail, userPrefferred mail.
I can successfully test the connection, both tls or ldap.
No luck with user login when user is set to ldap.
The documentation does not state anything about %u,%n,%s,* for filter
Nor does it state anything clear about the mapping.
Just asking für a working example and I will test it.
After you have now the user attributes of my samba AD
what to set where in the case?
Is there a proper way to debug it?
| Oct 26 14:17:17 fd8610806487 dovecot: auth-worker(141796): conn unix:auth-worker (pid=130,uid=401): auth-worker<1>: sql(watchdog@invalid,172.22.1.3): unknown user
seems to do sql instead of ldap,
php-fpm-mailcow-1 | 172.22.1.8 - 26/Oct/2026:14:21:18 +0100 “HEAD /forwardinghosts.php” 200
php-fpm-mailcow-1 | [26-Oct-2026 14:21:21] WARNING: [pool web-worker] child 58 said into stderr: “NOTICE: PHP message: mailcow UI: Invalid password for thomas@xxxx.de by 192.168.178.56”
php-fpm-mailcow-1 | 172.22.1.8 - 26/Oct/2026:14:21:21 +0100 “POST /index.php” 200
php-fpm-mailcow-1 | 172.22.1.8 - 26/Oct/2026:14:21:21 +0100 “GET /json_api.php” 200
php-fpm-mailcow-1 | 172.22.1.8 - 26/Oct/2026:14:21:23 +0100 “GET /forwardinghosts.php” 200
php-fpm-mailcow-1 | [26-Oct-2026 14:22:03] WARNING: [pool web-worker] child 77 said into stderr: “NOTICE: PHP message: mailcow UI: Invalid password for thomas by 192.168.178.56”
php-fpm-mailcow-1 | 172.22.1.8 - 26/Oct/2026:14:22:03 +0100 “POST /index.php” 200
php-fpm-mailcow-1 | 172.22.1.8 - 26/Oct/2026:14:22:03 +0100 “GET /json_api.php” 200