mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-19 14:57:04 +00:00
dovecot: Dovecot authentication package
This patch adds a new package which implements two basic primitives for
authenticating against dovecot ("user exists", and "check password").
It is still experimental/work in progress.
This commit is contained in:
15
cmd/dovecot-auth-cli/test_exists_yes.cmy
Normal file
15
cmd/dovecot-auth-cli/test_exists_yes.cmy
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
userdb unix_listen .dovecot-userdb
|
||||
|
||||
c = ./dovecot-auth-cli .dovecot exists username
|
||||
|
||||
userdb -> VERSION 1 1
|
||||
userdb -> SPID 12345
|
||||
|
||||
userdb <- VERSION 1 1
|
||||
userdb <- USER 1 username service=smtp
|
||||
|
||||
userdb -> USER 1 username system_groups_user=blah uid=10 gid=10
|
||||
|
||||
c <- yes
|
||||
c wait 0
|
||||
Reference in New Issue
Block a user