CosmoCode
  • Great software.

  • Bright people.

  • Happy customers!

CosmoCode GmbH
  • Home
  • Skills
  • About Us
  • References
  • Blog
  • Open Source
←
All blogposts
→

SASL troubles

I had to do some work for a client where I needed a Cyrus mailserver talking to a LDAP server for authentication. Because I needed to replicate the client?s setup as close as possible I could not rely on the saslauth daemon but needed an direct authprop plugin. Unfortunately there is no such module in Debian.

Andreas Gohr, 10/24/2006 1:43 p.m.

SASL troubles

I had to do some work for a client where I needed a Cyrus mailserver talking to a LDAP server for authentication. Because I needed to replicate the client?s setup as close as possible I could not rely on the saslauth daemon but needed an direct authprop plugin. Unfortunately there is no such module in Debian.

could not find auxprop plugin, was searching for 'ldapdb'

And because I had no intend in compiling all that stuff my self just for LDAP, I needed a quick a solution, which was fetching a RPM package with the needed libs and copying them to ”/usr/lib/sasl”.

rpm2cpio libsasl2-plug-ldapdb-2.1.22-11mdk.i586.rpm | cpio -idmv --no-absolute-filenames
cp usr/lib/sasl2/* /usr/lib/sasl2/

Works perfect :-)

Another thing that made me mad where incredible long login times for no apparent reason, until I found this bug report. It looks like SASL needs some entropy to init it?s random generator. Unfortunately there was nothing going on at the machine I installed my test environment on, so each log in was really slow. Running just a few things on the machine (some pings or alike) really made things go faster :-)

Read more

  • ConTagged 0.6 released

Contact

Thank you for your interest!
Get in contact:

CosmoCode GmbH

Prenzlauer Allee 36G
10405 Berlin

Phone: +49 30 814 50 40 70

Fax: +49 30 2809 7093


mail: info@cosmocode.de

CosmoCode GmbH  
   

© CosmoCode 2021 | Imprint | Data Privacy | Cookies verwalten

Close
Deutsch English
  • Jobs