Re: [Evolution-hackers] RFC: camel-sasl try empty password first

2011-04-02 Thread David Woodhouse
On Fri, 2011-04-01 at 19:30 -0400, Matthew Barnes wrote: I think the flags approach is fine. Long as you're breaking ABI (which is perfectly okay right now), you might consider combining the 'try_empty_password' and 'needs_password' booleans into a single CamelServiceAuthFlags enum to

[Evolution-hackers] RFC: camel-sasl try empty password first

2011-04-01 Thread David Woodhouse
I'm working on single-sign-on support for NTLM, where we don't actually *know* the password, but just delegate the whole challenge/response thing to a helper program. That helper program is /usr/bin/ntlm_auth; the only current implementation is the Samba one which works when you've logged into

Re: [Evolution-hackers] RFC: camel-sasl try empty password first

2011-04-01 Thread Matthew Barnes
On Fri, 2011-04-01 at 23:46 +0100, David Woodhouse wrote: Thus the patch below. Anyone got a better suggestion for how to handle it? A patch to actually use this facility in the NTLM authenticator will follow, of course... One alternative approach might be to to stop letting the