Vincent Pelletier:
> Hello,
> 
> While debugging an smtp process segfault during sasl authentication
> with gmail servers in xoauth2 (xoauth2 authentication which I am in the
> process of setting up, so I have no idea if this is a recent
> regression), I discover this:

FYI, All Postfix implementations have the same xxx_get_passwd()
implementation, since this code was contributed in 1999:

Postfix 1.0 - 2.2:

    static int smtp_sasl_get_passwd(sasl_conn_t *conn, void *context,
                                        int id, sasl_secret_t **psecret)

Postfix 2.3 and later:

    static int xsasl_cyrus_client_get_passwd(sasl_conn_t *conn, void *context,
                                            int id, sasl_secret_t **psecret)

So either these functions were never called, or something has changed.

If the functions were never called, then we can change Postfix
without breakage. Otherwise, any new Postfix changes will have to
be versioned.

        Wietse

Reply via email to