[Dbmail] IMAP Proxy in front of DBMail -- GSSAPI, etc password issues

2012-04-01 Thread Erick Turnquist
Hi list, I have just set up a Dovecot proxy in front of DBMail. I would like Dovecot to handle all authentication because I need to use GSSAPI and/or LDAP credentials. The proxying works great when I use the LDAP password (authdriver is set to ldap). But of course DBMail can't bind to the LDAP ser

Re: [Dbmail] IMAP Proxy in front of DBMail -- GSSAPI, etc password issues

2012-04-01 Thread skraps
You are using the ldap driver for dbmail? On 04/01/2012 at 4:43 AM, Erick Turnquist wrote:Hi list, I have just set up a Dovecot proxy in front of DBMail. I would like Dovecot to handle all authentication because I need to use GSSAPI and/or LDAP credentials. The proxying works great when I use th

Re: [Dbmail] IMAP Proxy in front of DBMail -- GSSAPI, etc password issues

2012-04-01 Thread skraps
at ln 1245 of authldap.c is where it validates the password supplied. If you skip that check or remove line 1249 then it will validate any login as a good login. if (ldap_err) { TRACE(TRACE_ERR, "ldap_bind_s failed: %s", ldap_err2string(ldap_err)); *user_idn