[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@example.com,0.0.0.0): query:
SELECT username as user, NULL as password FROM users WHERE username =
'webmaster@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
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.
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@example.com,0.0.0.0): query: SELECT username as user, NULL as password FROM users WHERE username = 'webmaster@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
Anyone that can shed some light on this?
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 6
Fixed in CVS: http://dovecot.org/list/dovecot-cvs/2006-May/005523.html
On Fri, May 5, 2006 16:53, Timo Sirainen wrote:
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 6
Fixed in CVS: http://dovecot.org/list/dovecot-cvs/2006-May/005523.html
Thank you so much
// Tom
participants (3)
-
Simon Waters
-
Timo Sirainen
-
Tom Sommer