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 aki.tuomi@open-xchange.com wrote:
On 15/07/2019 02:54 Eugene via dovecot < dovecot@dovecot.org> wrote:
Hello!
Upgrading manual tells that authdb NSS module was removed 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 Bright
IT engineer
Tel: + 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