Tel +49 (30) 814504070

Andreas Gohr
24.10.2006 13:43 Uhr

SASL troubles

Tags:

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 :-)

Bookmark and Share

Comments

About CosmoCode

CosmoCode is a Berlin based IT service provider with a strong emphasis on web applications. We mainly focus on Content Management Systems, Wikis and custom solutions.

Subscribe

Subscribe Like our blog? Stay up to date via RSS
Freie Stelle: Fachinformatiker Freie Stelle: Fachinformatiker