[Dovecot] Help needed with debugging auth command
Hi guys,
OK, so I am trying to find out why the POP3 AUTH / IMAP AUTHORIZE command is not doing what it is supposed to (not sure if it just for me or what). I am getting as far as:
sasl-server.c - line 123 - mech = auth_client_find_mech(auth_client, mech_name);
auth_client_find_mech is in auth-client.c which is where I am getting lost.
My guess is we are not returning back to sasl-server.c since we don't get an SASL auth or an 'Unsupported' error. If I try 'PLAIN' as the auth method as the parameter then it tries to login with no user or pass and fails. If I try anything else (I have configed to accept plain only) I get 'Authorization failed' and it doesn't even try to lookup the user/pass.
Regards Andrew
-- Andrew Hutchings Systems Operator / Developer / Linux Guru Netserve Consultants Ltd. http://www.domaincity.co.uk/
Forgot to mention, using SQL auth with MySQL on test 57.
Regards Andrew
Andrew Hutchings wrote:
Hi guys,
OK, so I am trying to find out why the POP3 AUTH / IMAP AUTHORIZE command is not doing what it is supposed to (not sure if it just for me or what). I am getting as far as:
sasl-server.c - line 123 - mech = auth_client_find_mech(auth_client, mech_name);
auth_client_find_mech is in auth-client.c which is where I am getting lost.
My guess is we are not returning back to sasl-server.c since we don't get an SASL auth or an 'Unsupported' error. If I try 'PLAIN' as the auth method as the parameter then it tries to login with no user or pass and fails. If I try anything else (I have configed to accept plain only) I get 'Authorization failed' and it doesn't even try to lookup the user/pass.
Regards Andrew
-- Andrew Hutchings Systems Operator / Developer / Linux Guru Netserve Consultants Ltd. http://www.domaincity.co.uk/
participants (1)
-
Andrew Hutchings