[Dovecot] The function that returns existance of the user.
17 Feb
2008
17 Feb
'08
10:37 p.m.
I'm changing the source code of Dovecot and I need of the function which only returns existanse of the user and doesn't do anything else. What function I should use? Thanks.
17 Feb
17 Feb
10:46 p.m.
On Feb 17, 2008, at 10:37 PM, Вострухин Максим wrote:
There's no such function. In fact with some setups (passdb PAM +
userdb static) it's not even possible.
Maybe the closest thing you can use is doing a userdb lookup and
seeing if it returns anything (but that still assumes you're not using
userdb static). But in which process do you want to do this? In
dovecot-auth you can modify src/auth/* directly, with others you'd
have to use connect to dovecot-auth's master UNIX socket.
6289
Age (days ago)
6289
Last active (days ago)
1 comments
2 participants
participants (2)
-
Timo Sirainen
-
Вострухин Максим