Am Mittwoch, den 26.01.2011, 17:07 +0100 schrieb Mark Martinec: > Christian, > > > For some reason, amavisd does not return from ldap->bind(): > > > Jan 25 23:40:47 roessner1 amavis[30126]: (30126-01) connect_to_ldap: > > TLS version Net::LDAP::Extension=HASH(0x7aaff38) enabled > > Jan 25 23:40:47 roessner1 amavis[30126]: (30126-01) connect_to_ldap: > > sasl object Authen::SASL=HASH(0x7fb1838) > > Jan 25 23:40:47 roessner1 amavis[30123]: (30123-01) Net::Server: > > Child leaving (20) > > > > I had added a "I was here" log entry right after the ldap->bind, but that > > never appeared in the logs. I will have a closer look to the ldap routine > > tomorrow. Not sure about bind_dn with SASL and the callback stuff. > > The 'Child leaving' by a parent process indicates that the > subprocess exited - probably crashed in the LDAP client library > or SASL or SSL code (not in perl code). > > Using strace or ktrace or truss could tell more. > > > I guess it is not that simple, yet. I not only installed Net::SASL::XS > > from cpan; this also forced me to update Net::LDAP. At the end I can not > > say, if it now works because of XS or LDAP. So maybe I would not force > > the reuirement for ::XS, but give a hint in the RELEASE_NOTES, wht do > > you think? > > It is quite likely that your LDAP client code reinstall fixed the crash. > Could you please try removing the Net::SASL::XS and see if > the problem re-appears?
Removed Authen::SASL::XS (and Authen::SASL::Cyrus) and it works. So it was in fact a broken Net::LDAP package. Ubuntu broken version und Lucid: libnet-ldap-perl 0.39 Working CPAN: perl-ldap-0.4001 Christian -- Roessner-Network-Solutions Bachelor of Science Informatik Nahrungsberg 81, 35390 Gießen F: +49 641 5879091, M: +49 176 93118939 USt-IdNr.: DE225643613 http://www.roessner-network-solutions.com ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user Please visit http://www.ijs.si/software/amavisd/ regularly For administrativa requests please send email to rainer at openantivirus dot org