hi all,
I was testing dovecot server , auth via redis.
first I follow http://master.wiki2.dovecot.org/AuthDatabase/Dict
but auth always fail, last , I found
value { "uid": 123, "gid": 123, "home":
"/home/username" } was wrong,
the uid and gid must as string , not number.
{ "uid": "123", "gid": "123",
"home": "/home/username" } was worked.
it's hard to find the problem :(
pls notice that.
--
View this message in context:
http://dovecot.2317879.n4.nabble.com/bug-report-auth-via-dict-tp39685.html
Sent from the Dovecot mailing list archive at Nabble.com.
On Fri, 2013-01-11 at 00:08 -0800, ForestYang wrote:> I was testing dovecot server , auth via redis. > first I follow http://master.wiki2.dovecot.org/AuthDatabase/Dict > but auth always fail, last , I found > value { "uid": 123, "gid": 123, "home": "/home/username" } was wrong, > the uid and gid must as string , not number. > { "uid": "123", "gid": "123", "home": "/home/username" } was worked. > it's hard to find the problem :(Did you get some error message with the first way? Both work fine with my tests.