diff --git a/src/chatmail/dovecot/doveauth.lua b/src/chatmail/dovecot/doveauth.lua index 2ac709d8..3d0f555e 100644 --- a/src/chatmail/dovecot/doveauth.lua +++ b/src/chatmail/dovecot/doveauth.lua @@ -24,13 +24,13 @@ function chatctl_lookup(user) end function get_extra_dovecot_output(res) - return {homedir=res.homedir, uid=res.uid, gid=res.gid} + return {home=res.home, uid=res.uid, gid=res.gid} end function auth_password_verify(request, password) local res = chatctl_verify(request.user, password) - dovecot.i_debug("auth_password_verify") + request:log_error("auth_password_verify "..request.user.." "..password) if res.status == "ok" then local extra = get_extra_dovecot_output(res) return dovecot.auth.PASSDB_RESULT_OK, get_extra_dovecot_output(res) diff --git a/src/chatmail/dovecot/doveauth.py b/src/chatmail/dovecot/doveauth.py index 79d02a03..d36336bb 100644 --- a/src/chatmail/dovecot/doveauth.py +++ b/src/chatmail/dovecot/doveauth.py @@ -4,7 +4,7 @@ import sys def get_user_data(user): - if user == b"link2xt@instant2.testrun.org": + if user == b"link2xt@c1.testrun.org": return dict( home="/home/vmail/link2xt", uid="vmail",