Re: virtdomains + global admin + sql backend for sasl2 ... how?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



- --On Monday, December 11, 2006 22:54:06 -0400 "Marc G. Fournier" 
<scrappy@xxxxxxx> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> 'k, I'm obviously missing something, cause its not working ...
>
> I setup defaultdomain in imapd.conf to point to the domain, so now when I try
> to login, it shows:
>
> plaintext cyrus SASL(-13): user not found: checkpass failed
>
> and, in my sql backend, I have a user 'cyrus@domain', such that:
>
> sasl_pwcheck_method: auxprop
> auxprop_plugin: sql
>
> sasl_sql_engine: mysql
> sasl_sql_hostnames: localhost
> sasl_sql_database: dtc
> sasl_sql_user: dtcdaemons
> sasl_sql_select: SELECT passwd FROM pop_access WHERE fullemail = '%u@%r'
> sasl_sql_verbose: yes
>
>> SELECT passwd FROM pop_access WHERE fullemail = 'cyrus@domain';
> +--------+
>| passwd |
> +--------+
>| cyrus  |
> +--------+
> 1 row in set (0.00 sec)
>
> But I still get an auth-failed ...
>
> And the sasl_sql_verbose setting doesn't appear to do anything, since I'm
> getting nadda in my log files that I can find :(
>
> So, what's the magic I'm missing here to get it to work? :(

'k, think I just figured it out ... had virtdomain set to 1 .. changing it to 
userid seems to fix it .. will do more testing, but Ithink I have it ...

- ----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email . scrappy@xxxxxxx                              MSN . scrappy@xxxxxxx
Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFfjSU4QvfyHIvDvMRAhSIAJwPDS8LP+xNr6OBG6o7hTQCHom7XQCgh8R+
ozMbp3TxeAD2bwgZjXoX0Kw=
=rPPT
-----END PGP SIGNATURE-----

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux