Вострухин Максим
2008-Feb-17 20:37 UTC
[Dovecot] The function that returns existance of the user.
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.
Timo Sirainen
2008-Feb-17 20:46 UTC
[Dovecot] The function that returns existance of the user.
On Feb 17, 2008, at 10:37 PM, ????????? ?????? wrote:> 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.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. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080217/4ce4df71/attachment-0002.bin>
Seemingly Similar Threads
- scp with F-Secure SSH2
- Checking the existance of a NOT NULL constraint from Active Record
- Verifying existance of related record
- Re: [PATCH] mllib: check for executable existance in run_command (RHBZ#1362357)
- [PATCH] mllib: check for executable existance in run_command (RHBZ#1362357)