Re: Postfix, SASL and LDAPDB [definitely solved]

2010-05-28 Thread Julien Vehent
On Mon, 24 May 2010 16:43:18 -0400, Victor Duchovni wrote: > On Mon, May 24, 2010 at 09:18:44PM +0200, Julien Vehent wrote: > >> === case 2: authentification succeeds === >> >> Same authz-regex in slapd, same smtpclient command, I just removed the >> smtpd_sasl_lo

Re: Postfix, SASL and LDAPDB [definitely solved]

2010-05-24 Thread Victor Duchovni
On Mon, May 24, 2010 at 09:18:44PM +0200, Julien Vehent wrote: > === case 2: authentification succeeds === > > Same authz-regex in slapd, same smtpclient command, I just removed the > smtpd_sasl_local_domain value: > > > # postconf |grep "smtpd_sasl" > smtpd_

Re: Postfix, SASL and LDAPDB [definitely solved]

2010-05-24 Thread Julien Vehent
On Mon, 24 May 2010 14:04:45 -0400, Victor Duchovni wrote: > On Mon, May 24, 2010 at 07:30:56PM +0200, Julien Vehent wrote: > >> Final solution provided by the Openldap mailing list: >> >> > Just change your authz-regexp line to >> > >> > authz-regexp "^uid=([^,]+).*,cn=[^,]*,cn=auth$" >> >

Re: Postfix, SASL and LDAPDB [definitely solved]

2010-05-24 Thread Victor Duchovni
On Mon, May 24, 2010 at 07:30:56PM +0200, Julien Vehent wrote: > Final solution provided by the Openldap mailing list: > > > Just change your authz-regexp line to > > > > authz-regexp "^uid=([^,]+).*,cn=[^,]*,cn=auth$" > > "ldap:///dc=linuxwall,dc=info??sub?(|(uid=$1)(mail=$1))" >

Re: Postfix, SASL and LDAPDB [definitely solved]

2010-05-24 Thread Patrick Ben Koetter
* Julien Vehent : > Final solution provided by the Openldap mailing list: > > > Just change your authz-regexp line to > > > > authz-regexp "^uid=([^,]+).*,cn=[^,]*,cn=auth$" > > "ldap:///dc=linuxwall,dc=info??sub?(|(uid=$1)(mail=$1))" > > > And the authentication works. > I think

Re: Postfix, SASL and LDAPDB [definitely solved]

2010-05-24 Thread Julien Vehent
Final solution provided by the Openldap mailing list: > Just change your authz-regexp line to > > authz-regexp "^uid=([^,]+).*,cn=[^,]*,cn=auth$" > "ldap:///dc=linuxwall,dc=info??sub?(|(uid=$1)(mail=$1))" And the authentication works. I think it's worth a line in the sasl howto to