Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 361865 - mail-mta/postfix-2.8.2 with SASL support, bind = sasl don't work
Summary: mail-mta/postfix-2.8.2 with SASL support, bind = sasl don't work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-04 06:31 UTC by Pavel Semenenko
Modified: 2011-05-07 15:34 UTC (History)
1 user (show)

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


Attachments
fix for ebuild (postfix-2.8.2.ebuild.patch,559 bytes, patch)
2011-04-04 06:32 UTC, Pavel Semenenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Semenenko 2011-04-04 06:31:07 UTC
If postfix built with SASL support, don't work bind = sasl parameter in LDAP config.

Reproducible: Always

Steps to Reproduce:
1. build postfix USE="sasl ldap"
2. ...
3. profit!
Actual Results:  
fatal: /etc/postfix/test/ldapalias.cf: unsupported parameter value: bind = sasl

Expected Results:  
working conf option bind = sasl

fix:
As described in http://www.postfix.com/LDAP_README.html
"If you are using OpenLDAP, and the libraries were built with SASL support, you can add -DUSE_LDAP_SASL to the CCARGS to enable SASL support."
Comment 1 Pavel Semenenko 2011-04-04 06:32:16 UTC
Created attachment 268453 [details, diff]
fix for ebuild

Propose patch for ebuild
Comment 2 Eray Aslan gentoo-dev 2011-05-07 15:34:03 UTC
+*postfix-2.8.2-r1 (07 May 2011)
+
+  07 May 2011; Eray Aslan <eras@gentoo.org> +postfix-2.8.2-r1.ebuild:
+  Enable binding to ldap - bug #361865. Do not start databases when not linked
+  against them - bug #359913. Prefer tinycdb over cdb
+