this seems to work

This commit is contained in:
holger krekel
2023-10-13 13:23:50 +02:00
committed by missytake
parent 28fe373489
commit 14649c37fd
2 changed files with 3 additions and 3 deletions

View File

@@ -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)

View File

@@ -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",