saslauthd has built-in ldap support. Please see saslauthd man pages. You can download cyrus-sasl and saslauthd at ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/
If you are looking for an ldap based sasl auxprop module, I recommend ldapdb.c by Howard Chu.