[SOLVED] Re: Special authentication use case

Philippe MARASSE philippe.marasse at ch-poitiers.fr
Fri Feb 17 12:31:48 UTC 2023


Hello,

Confirmed that LUA authentication is working.

BTW, a feature request : is it possible to have the complete DN of the 
certificate available during LUA authentication ?

Regards.


Le 02/02/2023 à 14:09, Philippe MARASSE a écrit :
> Folks,
>
> I'm trying to configure dovecot SASL with two use cases :
>   - First with XOAUTH2 : I've managed to get it working, pretty right 
> out of the box, developers have done a great job :-)
>   - Second with Client TLS Certificate with no luck.
>
> Let me explain, the certificate brought by the client does not have 
> any clue of associated email, I have to check that username (=email) 
> sent by the client is really related to some information included in 
> the certificate (I have to extract the OU and then lookup into a table 
> of authorized mails for that OU).
>
> Is it possible to do that with dovecot ? I think yes but I'm looking 
> for direction to achieve that. Lua maybe ?
>
> Our configuration :
>   - OS : Debian 11
>
> $ /usr/sbin/dovecot --version
> 2.3.13 (89f716dc2)
>
> Regards.
>

-- 
Philippe MARASSE

Responsable pôle Infrastructures - DSIO
Centre Hospitalier Henri Laborit
CS 10587 - 370 avenue Jacques Cœur
86021 Poitiers Cedex
Tel : 05.49.44.57.19

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4095 bytes
Desc: Signature cryptographique S/MIME
URL: <https://dovecot.org/pipermail/dovecot/attachments/20230217/9b4d1ddd/attachment-0001.bin>


More information about the dovecot mailing list