Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 320893 - dev-libs/cyrus-sasl (multiple versions): patch to add ldapdb use flag to separate ldap and ldapdb plugins
Summary: dev-libs/cyrus-sasl (multiple versions): patch to add ldapdb use flag to sepa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-21 16:03 UTC by Chris Frederick
Modified: 2011-11-30 15:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to add ldapdb use flag to current dev-libs/cyrus-sasl stable ebuilds (cyrus-sasl.patch,3.36 KB, patch)
2010-05-21 16:05 UTC, Chris Frederick
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Frederick 2010-05-21 16:03:37 UTC
If someone installs dev-libs/cyrus-sasl with ldap support to authenticate with a remote ldap server, the ebuild will enable ldap and ldapdb.  ldapdb is not needed for ldap authentication, and generates the following error on every connection (which in my case is several thousand times per day):

_sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: ldapdb

Since I'm not an expert on dev-libs/cyrus-sasl, I have modified the ebuilds to separate ldapdb and ldap support by adding a ldapdb use flag.  This will allow people to enable the ldapdb plugin if they really need it, while not clogging the logs when it's not needed.  You can accomplish the same thing by removing the ldapdb plugin from /usr/lib/sasl2, but I would rather have the ebuild not put it there in the first place.

Reproducible: Always
Comment 1 Chris Frederick 2010-05-21 16:05:31 UTC
Created attachment 232369 [details, diff]
Patch to add ldapdb use flag to current dev-libs/cyrus-sasl stable ebuilds
Comment 2 Eray Aslan gentoo-dev 2011-11-30 15:51:09 UTC
Fixed in CVS in cyrus-sasl-2.1.25.