Dovecot can do cached ldap queries too. NSS module isn't going to do a comeback, sorry.
Aki
On 15/07/2019 16:51 Eugene Bright <[email protected]> wrote:
I use LDAP right now, but local cached sssd queries are much faster and reliable.
On July 15, 2019 6:49:18 AM GMT+03:00, Aki Tuomi <[email protected]> wrote:
On 15/07/2019 02:54 Eugene via dovecot < [email protected]> wrote:
Hello!
Upgrading manual tells that authdb [NSS module was removed][1] some time ago.
userdb nss was removed. Use userdb passwd instead.Can this change be reverted?I'd like to use only libnss_sss.so.2 as dovecot userdb source. It's also essential for me to enable files backend in nsswitch.conf so the system could use local user db. At the same time dovecot must not see local users at all. Authdb NSS module could help me there.The other solution would be to use another instance of nsswitch.conf for dovecot authdb passwd module. Is it possible?
Thanks!--Eugene BrightIT engineerTel: + 79257289622
passwd uses getpwent library call which goes thru nssswitch. Your explanation was strange though. If you don't want system users, why not use ldap or sql directly?--- Aki Tuomi
Eugene Bright
IT-engineer
Tel.: +7 925 728 96 22
--- Aki Tuomi
