Tom Sommer
2006-Apr-27 09:44 UTC
[Dovecot] auth-request.c: assertion failed: (*name != '\0')
I upgraded to beta7 from alpha4, and got this error during the auth process: dovecot: auth(default): client in: AUTH 1 PLAIN service=POP3 lip=0.0.0.0 rip=0.0.0.0 resp=<hidden> dovecot: auth-worker(default): sql(webmaster at example.com,0.0.0.0): query: SELECT username as user, NULL as password FROM users WHERE username 'webmaster at example.com' AND password = PASSWORD('mypassword') dovecot: auth(default): file auth-request.c: line 723 (auth_request_set_field): assertion failed: (*name != '\0') dovecot: child 8552 (auth) killed with signal 6 My SQL conf: password_query = SELECT username as user, NULL as password FROM users WHERE username = '%u' AND password = PASSWORD('%w') as advised in a previous discussion in this list Regards -- Tom Sommer
Simon Waters
2006-Apr-27 10:13 UTC
[Dovecot] auth-request.c: assertion failed: (*name != '\0')
On Thursday 27 Apr 2006 10:44, Tom Sommer wrote:> > password_query = SELECT username as user, NULL as password FROM users > WHERE username = '%u' AND password = PASSWORD('%w') > > as advised in a previous discussion in this listI'm confused here, in my Postgres config "password_query" returns; select password from from users where userid='%u' Which seems more logical naming convention and still matches the PGSQL documentation.
Tom Sommer
2006-Apr-27 10:19 UTC
[Dovecot] auth-request.c: assertion failed: (*name != '\0')
On Thu, April 27, 2006 12:13, Simon Waters wrote:> On Thursday 27 Apr 2006 10:44, Tom Sommer wrote: > >> >> password_query = SELECT username as user, NULL as password FROM users >> WHERE username = '%u' AND password = PASSWORD('%w') >> >> >> as advised in a previous discussion in this list > > I'm confused here, in my Postgres config "password_query" returns; > > > select password from from users where userid='%u' > > Which seems more logical naming convention and still matches the PGSQL > documentation.I don't understand your question, obviously I edited my password_query, ref: http://dovecot.org/list/dovecot/2005-October/009695.html Regards -- Tom Sommer http://tomsommer.dk Regards -- Tom Sommer http://tomsommer.dk
Tom Sommer
2006-May-03 07:30 UTC
[Dovecot] auth-request.c: assertion failed: (*name != '\0')
On Thu, April 27, 2006 11:44, Tom Sommer wrote:> I upgraded to beta7 from alpha4, and got this error during the auth > process: > > > dovecot: auth(default): client in: AUTH 1 PLAIN service=POP3 > lip=0.0.0.0 rip=0.0.0.0 resp=<hidden> dovecot: > auth-worker(default): sql(webmaster at example.com,0.0.0.0): query: > SELECT username as user, NULL as password FROM users WHERE username > 'webmaster at example.com' AND password = PASSWORD('mypassword') > dovecot: auth(default): file auth-request.c: line 723 > (auth_request_set_field): assertion failed: (*name != '\0') > dovecot: child 8552 (auth) killed with signal 6 > > > > My SQL conf: > > > password_query = SELECT username as user, NULL as password FROM users > WHERE username = '%u' AND password = PASSWORD('%w') > > > as advised in a previous discussion in this listAnyone that can shed some light on this?
Timo Sirainen
2006-May-05 14:53 UTC
[Dovecot] auth-request.c: assertion failed: (*name != '\0')
On Thu, 2006-04-27 at 11:44 +0200, Tom Sommer wrote:> (auth_request_set_field): assertion failed: (*name != '\0') > dovecot: child 8552 (auth) killed with signal 6Fixed in CVS: http://dovecot.org/list/dovecot-cvs/2006-May/005523.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20060505/dc8d6193/attachment.bin>