From: Mark M. <Mar...@ij...> - 2011-01-26 15:12:16
|
Christian, > I finally got it working. It MUST require Authen:SASL::XS here. I did > not have this plugin installed and it was falling back to use > Authen::SASL::Perl, which does not work. And it needs one little fix: > > --- ../src/amavisd-new-2.7.0-pre13/amavisd 2011-01-25 20:19:09.000000000 > +0100 > +++ amavisd 2011-01-26 11:48:39.000000000 +0100 > @@ -16770,7 +16770,7 @@ > do_log(3,"connect_to_ldap: TLS version %s enabled", $mesg); > } > } > - if ($self->{bind_dn}) { # bind required > + if ($self->{bind_dn} or $self->{sasl}) { # bind required > my($sasl); > my($passw) = $self->{bind_password}; > if ($self->{sasl}) { # using SASL to authenticate? > > Else amavisd never binds, if using sasl. I only tested with > SASL/EXTERNAL. Congratulations for making it work! Will incorporate that fix. Thanks for making SASL and SSL/certs work with LDAP and for testing! Mark |