Re: [PATCH v2 2/2] wincred: improve compatibility with windows versions

2014-09-10 Thread Erik Faye-Lund
On Thu, Jan 10, 2013 at 1:10 PM, Karsten Blees karsten.bl...@gmail.com wrote: static int match_cred(const CREDENTIALW *cred) { - return (!wusername || !wcscmp(wusername, cred-UserName)) - match_attr(cred, Lgit_protocol, protocol) - match_attr(cred, Lgit_host,

[PATCH v2 2/2] wincred: improve compatibility with windows versions

2013-01-10 Thread Karsten Blees
On WinXP, the windows credential helper doesn't work at all (due to missing Cred[Un]PackAuthenticationBuffer APIs). On Win7, the credential format used by wincred is incompatible with native Windows tools (such as the control panel applet or 'cmdkey.exe /generic'). These Windows tools only set the