Thomas Carrié writes:

Hello,

My only auth active module is authmysql :

$ grep ^authmodulelist= /etc/courier/authlib/authdaemonrc
authmodulelist="authmysql "

I have 2 users in my DB

mysql> select * from courier.users;
+---------+-------+-----+-----+--------------------+-----------------+-------+ | id | clear | uid | gid | home | options | crypt | +---------+-------+-----+-----+--------------------+-----------------+-------+ | tcarrie | some | 0 | 12 | /var/vmail/tcarrie | disableshared=0 | | | mamibb | thing | 0 | 12 | /var/vmail/mamibb | disableshared=0 | | +---------+-------+-----+-----+--------------------+-----------------+-------+

I can succesfully login into the IMAP server using tcarrie and mamibb

$ grep mamibb /var/log/messages
Dec 24 16:05:56 localhost imapd: LOGIN, user=mamibb ....

But authenumerate returns no rows !

In what kind of situation authenumerate is supposed to return rows ?

In the situation where MYSQL_ENUMERATE_CLAUSE is not set correctly in authmysqlrc.


Attachment: pgpCcmit1qMIw.pgp
Description: PGP signature

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to