On Tue, May 23, 2006 at 09:26:45PM +0100, Robin Williams wrote:
> May 23 21:19:52 testserver passwd[30830]: pam_mysql - MySQL error (You 
> have an error in your SQL syntax; check the manual that corresponds to 
> your MySQL server version for the right syntax to use near 'FROM  WHERE 
> user.user_name = 'testuser'' at line 1)
> ---
> 
> and the mysql.log shows:
> ---
> Connect   [EMAIL PROTECTED] on nss_mysql
> Init DB   nss_mysql
> Query     SELECT 0,  FROM  WHERE user.user_name = 'testuser'
> ---
> 
> ^ which is clearly an erroneous mysql query.  I have no idea what causes 
> this, and as I say, reverting to the stable library fixes the problem. 
> Will gladly supply any further information required.

Configuration directive may have changed between this version, did you
checked how you specify the table name ?

Cheers,
-- 
Julien Danjou
// <[EMAIL PROTECTED]>     http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
// Ferns will rule the world.

Attachment: signature.asc
Description: Digital signature

Reply via email to