> On 09/06/2025 13:35 EEST Brent Clark via dovecot <dovecot@dovecot.org> wrote:
> 
>  
> Good day everyone,
> 
> I’m trying to authenticate against a constant database (CDB) file.
> 
> After reading the /cdb_path/ description in the 2.4.1 manual 
> (⟨https://doc.dovecot.org/2.4.1/core/summaries/settings.html#cdb_path⟩ 
> <https://doc.dovecot.org/2.4.1/core/summaries/settings.html#cdb_path%E2%9F%A9>)
>  
> I added the following to the conf file.:
> 
> |passdb cdb { cdb_path = /srv/mail/passwd.cdb } userdb cdb { cdb_path = 
> /srv/mail/passwd.cdb } |
> 
> 
> But dovecot says
> 
> |auth: Fatal: Unknownpassdb driver 'cdb'|
> 
> 
> dovecot --version
> 2.4.1-4+debian11 (7d8c0e5759)
> 
> I cant see anything in the changelogs.
> Is the “cdb” driver still available in 2.4.1, or was it renamed/removed?
> 
> Any pointers (or a minimal working example) would be greatly appreciated.
> 
> Kind Regards
> Brent ClarkGood day everyone,
> I’m trying to authenticate against a constant database (CDB) file.
> After reading the cdb_path description in the 2.4.1 manual (⟨https://
> doc.dovecot.org/2.4.1/core/summaries/settings.html#cdb_path⟩) I added the
> following to the conf file.:
> passdb cdb {
>   cdb_path = /srv/mail/passwd.cdb
> }
> 
> userdb cdb {
>   cdb_path = /srv/mail/passwd.cdb
> }
> 
> But dovecot says
> auth: Fatal: Unknown passdb driver 'cdb'
> 
> dovecot --version
> 2.4.1-4+debian11 (7d8c0e5759)
> 
> I cant see anything in the changelogs.
> Is the “cdb” driver still available in 2.4.1, or was it renamed/removed?
> 
> Any pointers (or a minimal working example) would be greatly appreciated.
> 
> Kind Regards
> Brent Clark

Hi,

I don't think cdb has ever been a directly supported passdb/userdb. It was 
supported with dict driver, which has been removed.

This is mentioned in the upgrading 2.3 -> 2.4 page,

Dict passdb & userdb driver     Use Lua authentication database instead.

so if you want to continue with cdb, you should switch to lua. Or you can use 
sqlite instead.

Aki

_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to