<html><head></head><body>Why don't use an Openldap instance as proxy ?<br><br><div class="gmail_quote">Le 25 mars 2017 09:42:37 GMT+01:00, Chentao Credungtao via Cyrus-sasl <cyrus-sasl@lists.andrew.cmu.edu> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Hi,<br /><br />I need to set up Postfix authentication against multiple (3) OpenLDAP <br />servers.<br /><br />I managed to run 3 instances of SASL, each one authenticating against <br />one of the 3 servers :<br /><br />First instance, authenticating against the first LDAP server (<a href="http://example.com">example.com</a>) :<br /># testsaslauthd -f /var/run/saslauthd-com/mux -u john.doe@example.com -p <br />password1<br />0: OK "Success."<br /><br />Second instance, authenticating against the second LDAP server <br />(<a href="http://example.net">example.net</a>) :<br /># testsaslauthd -f /var/run/saslauthd-net/mux -u jane.doe@example.net -p <br />password2<br />0: OK "Success."<br /><br />Third instance, authenticating against the third LDAP server (<a href="http://example.org">example.org</a>) :<br /># testsaslauthd -f /var/run/saslauthd-org/mux -u jimmy.doe@example.org <br />-p password3<br />0: OK "Success."<br /><br />The problem : it seems Postfix can only authenticate against one running <br />instance of SASL.<br /><br /><br />Is it possible to set up some kind of a SASL proxy, that forwards each <br />authentication-request to another SASL instance, depending on the e-mail <br />domain ?<br />Something like :<br /><br /># testsaslauthd -f /var/run/saslauthd-proxy/mux -u john.doe@example.com <br />-p password1<br />==> should be forwarded to /var/run/saslauthd-com<br /><br /># testsaslauthd -f /var/run/saslauthd-proxy/mux -u jane.doe@example.net <br />-p password2<br />==> should be forwarded to /var/run/saslauthd-net<br /><br /># testsaslauthd -f /var/run/saslauthd-proxy/mux -u jimmy.doe@example.org <br />-p password2<br />==> should be forwarded to /var/run/saslauthd-org<br /><br />Thanks (any other idea to approach this problem is welcome)<br /><br />Chen<br /></pre></blockquote></div><br>
-- <br>
Envoyé de mon appareil Android avec K-9 Mail. Veuillez excuser ma brièveté.</body></html>