Hello,
I’m trying to connect my Windows Active Directory to Dovecot 2.4.1 via LDAPS
with a self-signed certificate.
Authentication works correctly using the template method.
I’m using a DN template for the bind DN.
The ldap_base and passdb_ldap_filter field is present in my config because its
required, otherwise it doen't work, maybe a internal requirement.
Authentication succeeds, but sending mail fails.
ldap_uris = ldaps://gr4.lan
ldap_base = cn=Users,dc=gr4,dc=lan
ssl_client_require_valid_cert = no # self-signed certificate
passdb {
driver = ldap
passdb_ldap_filter = (objectClass=*)
passdb_ldap_bind = yes
bind_userdn = cn=%{user},cn=Users,dc=gr4,dc=lan
}
userdb {
driver = static
args = uid=vmail gid=vmail
}
So, the command doveadm auth test user@domain work but not doveadm user
user@domain
The issue in on Debian 13.
Also i have print a doveadm -Dv user [email protected]
root@deb13:/etc/dovecot/conf.d/ doveadm-Dv user [email protected]
Debug: Loading modules from directory: /usr/lib/dovecot/modules/doveadm
Debug: Skipping module doveadm_acl plugin, because dlopen() failed:
/usr/lib/dovecot/modules/doveadm/lib1@_doveadm_acl plugin.so: undefined symbol:
acl_user_moc
ule (this is usually intentional, so just ignore this message)
Debug: Skipping module doveadm_quota_plugin, because dlopen() failed:
/usr/lib/dovecot/modules/doveadm/11b10_doveadm_quota_plugin.so: undefined
symbol: quota_us
er module (this is usually Intentional, so just ignore this message)
Debug: Module loaded:
/usr/lib/dovecot/modules/doveadm/lib10_doveadm_sieve_plugin.so
Debug: Skipping module doveadm_fts_plugin, because dlopen() failed:
/usr/lib/dovecot/modules/doveadm/1ib20_doveadm_fts_plugin.so: undefined symbol:
fts_backend_
rescan (this is usually intentional, so just ignore this message)
Debug: Skipping module doveadm_fts_flatcurve plugin, because dlopen() failed:
/usr/lib/dovecot/modules/doveadm/libdoveadm_fts_flatcurve_plugin.so: undefined
syn
bol: fts flatcurve_user_module (this is usually intentional, so just ignore
this message)
Debug: Skipping module doveadm_mail_crypt plugin, because dlopen() failed:
/usr/lib/dovecot/modules/doveadn/libdoveadm_mail_crypt_plugin.so: undefined
symbol: c
rypt_acl_setting_parser_info (this is usually intentional, so just ignore this
message)
Jan 24 18:51:29 Debug: Loading modules from directory:
/usr/lib/dovecot/modules/doveadm
Jan 24 18:51:29 Debug: Skipping module doveadm_acl_plugin, because dlopen()
failed: /usr/lib/dovecot/modules/doveadm/libie_doveadm_acl_plugin.so: undefined
symb
ol: acl user module (this is usually intentional, so just ignore this message)
Jan 24 18:51:29 Debug: Skipping nodule doveadm_quota_plugin, because diopen()
failed: /usr/lib/dovecot/modules/doveadm/lib1@_doveadm_quota_plugin.so:
undefined this message)
symbol : quota_user_module (this is usually intentional, so just ignore Jan 24
18:51:29 Debug: Skipping module doveadm_fts_plugin, because dlopen() failed:
/usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_plugin.so: undefined symb
Fol: fts backend_rescan (this is usually intentional, so just ignore this
message)
Jan 24 18:51:29 Debug: Skipping module doveadm_fts_flatcurve_plugin, because
dlopen() failed:
/usr/lib/dovecot/modules/doveadm/libdoveadm_fts_flatcurve_plugin.s
o: undefined symbol: fts flatcurve_user_module (this is usually intentional, so
just ignore this message) Skipping module doveadm_mail_crypt plugin, because
dlopen() failed:
/usr/lib/dovecot/modules/doveadm/libdoveadm_mail_crypt_plugin.so: und
Jan 24 18:51:29 Debug:
ef ined symbol: crypt_acl_setting_parser info (this is usually intentional, so
just ignore this message)
// this is normal
Jan 24 18:51:29 doveadm([email protected]) <2777><>: Debug: auth-master: userdb
lookup (pol@gr4, lan): Started userdb lookup
Jan 24 18:51:29 doveadm([email protected]) <2777>>: Debug: auth-master: conn
unix:/run/dovecot/auth-userdb: Connecting
Jan 24 18:51:29 doveadm([email protected]) <2777><>: Debug: auth-master: conn
unix:/run/dovecot/auth-userdb (pid=2693,uid=e): Client connected (fd=9) Jan 24
18:51:35 doveadm([email protected]) <2777>: Debug: auth-master: conn
unix:/run/dovecot/auth-userdb (pid=2693,uid=0): auth input: //why its empty
??? on passwd file its not
Jan 24 18:51:35 doveadm([email protected]) <2777>: Error: auth-master: userdb
lookup([email protected]): Auth USER Lookup failed //help !
Jan 24 18:51:35 doveadm([email protected]) <2777><>: Debug: auth-master: userdb
lookup(polegr4.lan): auth USER Input:
Jan 24 18:51:35 doveadm([email protected]) <2777>>: Debug: auth-master: userdb
lookup([email protected]): Userdb lookup failed
userdb lookup: Internal error occurred. Refer to server log for more
information.
Jan 24 18:51:35 Debug: auth-master: conn unix:/run/dovecot/auth-userdb
(pid=2693,uid=0): Disconnected: Connection closed (fd=9)
field value
Thank for help.
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]