Re: imapd + sasl + ldapdb problems

2014-02-06 Thread Peter Erickson
I got it working so thanks for clarifying the setup for the ldapdb auxprop module. I needed to add an additional authz-regexp option to the openldap config to map an email address to its proper ldap entry. Once that was added, everything started working. Thanks again for the help. On Wed F

Re: imapd + sasl + ldapdb problems

2014-02-05 Thread Dan White
On 02/05/14 11:15 -0600, Peter Erickson wrote: >> >virtdomains: userid >> >defaultdomain: example.com >> >> Other than that, your config looks reasonable. Include an 'ldapdb_mech' >> option to reduce confusion. sasl_ldapdb_canon_attr may need to be 'uid' >> instead, since example.com is the default

Re: imapd + sasl + ldapdb problems

2014-02-05 Thread Peter Erickson
Dan, thanks for the response. On Wed, Feb 05, 2014 at 09:35:49AM -0600, Dan White wrote: > On 02/04/14?20:15?-0600, Peter Erickson wrote: > >In hopes of requiring users login using their email address I set > >sasl_ldapdb_canon_attr, however that resulted in the following syslog > >messages (These

Re: imapd + sasl + ldapdb problems

2014-02-05 Thread Dan White
On 02/04/14 20:15 -0600, Peter Erickson wrote: >I'm trying to configure imapd to authenticate against an ldap >directory using ldapdb and am running into problems. I provide hosting >services (i.e. ftp, svn, mail, etc) for several people where user >account information is stored in an openldap dire

imapd + sasl + ldapdb problems

2014-02-04 Thread Peter Erickson
I'm trying to configure imapd to authenticate against an ldap directory using ldapdb and am running into problems. I provide hosting services (i.e. ftp, svn, mail, etc) for several people where user account information is stored in an openldap directory. In addition to having a username/pas