Actually now that I look at your config it cannot be valid 2.4.1 config anyways.

this should be valid:

passdb ldap {
  bind = yes
  bind_userdn = cn=%{user},cn=Users,dc=gr4,dc=lan
}

userdb static {
   fields {
     uid=vmail
     gid=vmail
   }
}

Also can you provide `doveconf -n`?

Aki

> On 24/01/2026 21:00 EET ByteWave  via dovecot <[email protected]> wrote:
> 
>  
> an 24 19:51:57 auth: Debug: conn unix:/run/dovecot/auth-userdb 
> (pid=3125,uid=0): Server accepted connection (fd=21) 1 protocol=doveadm
> an 24 19:51:57 auth: Debug: master in: USER
> an 24 19:51:57 auth(pol): Debug: static: Performing userdb lookup
> an 24 19:51:57 auth (pol): Debug: Idap: Performing passdb lookup
> an 24 19:51:57 auth (pol): Debug: Idap: pass search: 
> base=cn=Users,dc=gr4,dc=lan scope subtree filter=(&(objectClass=user) 
> (SAMAccountName=pol)) fields=
> an 24 19:51:58 auth (pol): Debug: Idap: Finished passdb lookup
> an 24 19:52:00 auth (pol): Debug: static: Finished userdb lookup
> an 24 19:52:03 auth: Debug: userdb out: FAIL 1
> an 24 19:52:03 auth: Debug: conn unix:/run/dovecot/auth-userdb 
> (pid=3125,uid=0): auth-master client: Disconnected: Connection closed (fd=21)
> 
> I don't understand anything, why is it using filter fields etc when I'm 
> asking it to use the template format ???
> _______________________________________________
> dovecot mailing list -- [email protected]
> To unsubscribe send an email to [email protected]

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to