openldap 2.3 is now the current stable openldap branch (i'm looking to get it into portage soon), unfortunately cyrus-sasl 2.1.21 has a hardcoded check that will not allow it to compile against openldap 2.3. The patch I am about to attach changes that check and allows it to build (which it does fine) against openldap 2.3. This bug is more to remind me to make the changes to the cyrus-sasl ebuild to include the patch and commit it :)
Created attachment 73799 [details, diff] patch for cyrus-sasl to compile against openldap 2.3.x
I wrote a new patch (didn't like the one attached to this) and added it in cvs to 2.1.21-r2