(resending to the list; I apologize, I'm not using my usual email client)
Hello,
That's actually great news. The perspective of working in-tree didn't make me particularly happy.
Could you point me to any documentation or examples? While I can find many plugins in the repo and around the Internet, I could find none which add authdb drivers.
Best Regards, Riccardo P. Bestetti
Da: Aki Tuomi aki.tuomi@open-xchange.com
Inviato: venerdì 9 agosto 2019 13:56
A: Riccardo Paolo Bestetti riccardo.kyogre@live.it; dovecot@dovecot.org dovecot@dovecot.org
Oggetto: Re: Auth driver
On 9.8.2019 14.51, Riccardo Paolo Bestetti via dovecot wrote:
Greetings!
I'm planning to implement a new auth driver. It's going to be, in concept, similar to the Lua and CheckPassword drivers, in that it allows an user program to carry out the authentication and user enumeration steps.
If you do this, please make it as 3rd party repository. Dovecot auth
supports plugins.
Aki
I’m not familiar with dovecot code, but as I’m using ldap, so I know that the ldap authdb support is not part of dovecot-core package, and is provided as a plugin in an extra package.
And a quick look at the libauthdb_ldap.so file (installed by the dovecot-ldap package) shows me these symbols: authdb_ldap_init / passdb_ldap_plugin
So I guess that you don’t have to search very far to find such examples.
Le 9 août 2019 à 14:08, Riccardo Paolo Bestetti via dovecot dovecot@dovecot.org a écrit :
(resending to the list; I apologize, I'm not using my usual email client)
Hello,
That's actually great news. The perspective of working in-tree didn't make me particularly happy.
Could you point me to any documentation or examples? While I can find many plugins in the repo and around the Internet, I could find none which add authdb drivers.
Best Regards, Riccardo P. Bestetti
Da: Aki Tuomi aki.tuomi@open-xchange.com
Inviato: venerdì 9 agosto 2019 13:56
A: Riccardo Paolo Bestetti riccardo.kyogre@live.it; dovecot@dovecot.org dovecot@dovecot.org
Oggetto: Re: Auth driver
On 9.8.2019 14.51, Riccardo Paolo Bestetti via dovecot wrote:
Greetings!
I'm planning to implement a new auth driver. It's going to be, in concept, similar to the Lua and CheckPassword drivers, in that it allows an user program to carry out the authentication and user enumeration steps.
If you do this, please make it as 3rd party repository. Dovecot auth
supports plugins.
Aki
On 9 Aug 2019, at 15.08, Riccardo Paolo Bestetti via dovecot dovecot@dovecot.org wrote:
Could you point me to any documentation or examples? While I can find many plugins in the repo and around the Internet, I could find none which add authdb drivers.
https://dovecot.org/patches/2.2/passdb-openam.c https://dovecot.org/patches/2.2/passdb-openam.c although it's not using autotools to do it in a nice way. For the autotools stuff you can use some other plugins as example. Pigeonhole for example, although it's much more complicated than most. https://dovecot.org/patches/2.2/mail-filter.tar.gz https://dovecot.org/patches/2.2/mail-filter.tar.gz probably has also (I didn't look into it).
participants (3)
-
Jean-Daniel
-
Riccardo Paolo Bestetti
-
Timo Sirainen