I ment in your 2.4.1 config Aki
> On 03/02/2026 14:44 EET Ruud Baart via dovecot <[email protected]> wrote: > > > Don't think so > > /etc/dovecot/conf.d# grep -H userpassword * > /etc/dovecot/conf.d# grep -H userPassword * > auth-ldap.conf.ext: password = %{ldap:userPassword} > > Op 3-2-2026 om 13:35 schreef Aki Tuomi via dovecot: > > Could it be that you have > > > > 'userpassword' instead of 'userPassword' in your config? > > > > Aki > > > >> On 03/02/2026 13:21 EET Ruud Baart via dovecot <[email protected]> > >> wrote: > >> > >> Dovecot 2.4.1 works fine on my Debian Trixie server. I use LDAP as > >> backend for the users. > >> > >> I don't have problems. Authentication works fine. However logging show > >> every time the following line: > >> > >> auth-worker(<user > >> name@domain,::1)<109040><3v5ddOlJvrgAAAAAAAAAAAAAAAAAAAAB>: request [7]: > >> Error: ldap: auth_passdb_post settings: Failed to parse configuration: > >> Failed to expand passdb_fields/password setting variables: ldap: No such > >> attribute 'userpassword' > >> > >> The LDAP authentication works correct. So I don't understand this > >> message. > >> > >> My correct working LDAP configuration in auth-ldap.conf.ext: > >> > >> passdb ldap { > >> passdb_use_worker = yes > >> passdb_ldap_filter = > >> (&(objectClass=PromptMailUser)(accountStatus=TRUE)(mailDeliveryaddress=%{user})) > >> ldap_bind = yes > >> fields { > >> user = %{ldap:mailDeliveryaddress} > >> password = %{ldap:userPassword} > >> } > >> } > >> > >> userdb ldap { > >> userdb_use_worker = yes > >> userdb_ldap_filter = > >> (&(objectClass=PromptMailUser)(accountStatus=TRUE)(mailDeliveryaddress=%{user})) > >> fields { > >> home = %{ldap:mailBase} > >> mail = %{ldap:mailMessageStore} > >> mail_path = %{ldap:mailMessageStore} > >> quota_storage_size = %{ldap:dovecotQuota} > >> } > >> } > >> > >> _______________________________________________ > >> 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] > > -- > > Cordialement, > > * > > R.J. Baart > Portable: +33 7 88398245 > > * Don't think so > > /etc/dovecot/conf.d# grep -H userpassword * > /etc/dovecot/conf.d# grep -H userPassword * > auth-ldap.conf.ext: password = %{[1]ldap:userPassword} > > Op 3-2-2026 om 13:35 schreef Aki Tuomi via dovecot: > > Could it be that you have > > 'userpassword' instead of 'userPassword' in your config? > > Aki > > On 03/02/2026 13:21 EET Ruud Baart via dovecot > [2]<[email protected]> wrote: > > Dovecot 2.4.1 works fine on my Debian Trixie server. I use LDAP as > backend for the users. > > I don't have problems. Authentication works fine. However logging show > every time the following line: > > auth-worker(<user > name@domain,::1)<109040><3v5ddOlJvrgAAAAAAAAAAAAAAAAAAAAB>: request > [7]: > Error: ldap: auth_passdb_post settings: Failed to parse configuration: > Failed to expand passdb_fields/password setting variables: ldap: No > such > attribute 'userpassword' > > The LDAP authentication works correct. So I don't understand this > message. > > My correct working LDAP configuration in auth-ldap.conf.ext: > > passdb ldap { > passdb_use_worker = yes > passdb_ldap_filter = > > (&(objectClass=PromptMailUser)(accountStatus=TRUE)(mailDeliveryaddress=%{user})) > ldap_bind = yes > fields { > user = %{[3]ldap:mailDeliveryaddress} > password = %{[4]ldap:userPassword} > } > } > > userdb ldap { > userdb_use_worker = yes > userdb_ldap_filter = > > (&(objectClass=PromptMailUser)(accountStatus=TRUE)(mailDeliveryaddress=%{user})) > fields { > home = %{[5]ldap:mailBase} > mail = %{[6]ldap:mailMessageStore} > mail_path = %{[7]ldap:mailMessageStore} > quota_storage_size = %{[8]ldap:dovecotQuota} > } > } > > _______________________________________________ > dovecot mailing list -- [9][email protected] > To unsubscribe send an email to [10][email protected] > > _______________________________________________ > dovecot mailing list -- [11][email protected] > To unsubscribe send an email to [12][email protected] > > -- > > Cordialement, > > R.J. Baart > Portable: +33 7 88398245 > > References > > Visible links > 1. file:///tmp/tmpw_nfu2nq/ldap:userPassword > 2. mailto:[email protected] > 3. file:///tmp/tmpw_nfu2nq/ldap:mailDeliveryaddress > 4. file:///tmp/tmpw_nfu2nq/ldap:userPassword > 5. file:///tmp/tmpw_nfu2nq/ldap:mailBase > 6. file:///tmp/tmpw_nfu2nq/ldap:mailMessageStore > 7. file:///tmp/tmpw_nfu2nq/ldap:mailMessageStore > 8. file:///tmp/tmpw_nfu2nq/ldap:dovecotQuota > 9. mailto:[email protected] > 10. mailto:[email protected] > 11. mailto:[email protected] > 12. mailto:[email protected] > _______________________________________________ > 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]
