[PATCH v2 7/7] wldap32: supply SASL credentials in a mechanism-specific form

Dmitry Timoshkov dmitry at baikal.ru
Sat Feb 13 06:22:50 CST 2021


Damjan Jovanovic <damjan.jov at gmail.com> wrote:

> Hans reported GSSAPI and GSS-SPNEGO want an empty AUTH_CB_USER.
> I verified DIGEST-MD5 wants AUTH_CB_AUTHNAME and doesn't mind if
> AUTH_CB_USER is supplied. Dmitry reported that for his mechanism
> (some variation of Kerberos?) AUTH_CB_AUTHNAME is used for initial
> tickets but AUTH_CB_USER is mandatory thereafter. This patch should
> hopefully make all those mechanisms happy.

There's some miscommuniation here it seems, I don't see AUTH_CB_AUTHNAME
in the callback at all. I'd still suggest simply add AUTH_CB_AUTHNAME as
an alias for existing AUTH_CB_USER and don't add any code for mechanisms.

-- 
Dmitry.



More information about the wine-devel mailing list