29 Apr
2010
29 Apr
'10
9:30 p.m.
On Thu, 2010-04-29 at 13:44 -0400, Monika Janek wrote:
password_query = SELECT NULL AS password, host, destuser, 'Y' AS nopassword, 'Y' AS nologin, 'Y' AS nodelay, 'Y' AS proxy FROM proxy WHERE user = '%u'
I take this as to just check the SQL for the existence of the username then pass the authentication onto the internal server. I tried putting in 'starttls' into the query string but it didn't work.
Looks like the current code is being kind of stupid here. It requires that you do:
'yes' as ssl, 'Y' as starttls
ssl's values can be either "yes" or "any-cert", anything else gets ignored. I changed v2.0 now so that it makes more sense and you could simply do 'y' as starttls.