Can I have External Authentication AND SASL Anonymous authentication on the same vhost?

When I try to configure external authentication and SASL Anonymous authentication on the same vhost, neither seems to work. Here are, I believe, the relevant lines in my config file.

If what I'm after is possible, can someone please suggest how to tweak my config? Thanks.

{extauth_program, "/var/ext_auth.rb"}.
{anonymous_protocol, sasl_anon}.
{auth_method, [anonymous, external]}.

Ah hah! The problem was a

Ah hah! The problem was a bug in my isuser function in my custom external authentication script. Once I fixed that, everything seems to work fine. Sorry for the noise here.

Syndicate content