virtdomains & PAM
Rob Siemborski
rjs3 at andrew.cmu.edu
Wed Sep 10 15:08:24 EDT 2003
On Wed, 10 Sep 2003 nkulynych at gotshell.org wrote:
> I'v got small problem with cyrus, sasl & pam combination.
> I am using cyrus as imap server and sasl+pam+mysql backend for
> authentication. Everything works if my username in mysql is "username"
> but when I change to "username at mydomain.com" and I do login as
> username at mydomain.com authentication fails, looking back through sql
> access queries show just "username" and somewhere in between it chops
> of the "@mydomain.com" part. Thus not allowing to do virtual domains.
You should either use the mysql auxprop plugin, or you should patch
auth_pam.c to do what you need (I believe there were changes since 2.1.15
was released to correctly handle realms with saslauthd, but I also believe
they won't help your situation, since auth_pam doesn't use the realm
parameter).
-Rob
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper
More information about the Info-cyrus
mailing list