Authdb NSS module

Eugene Bright eugene at bright.gdn
Mon Jul 15 16:51:19 EEST 2019


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 at open-xchange.com> wrote:
>
>
>On 15/07/2019 02:54 Eugene via dovecot < dovecot at dovecot.org> wrote: 
>
>
>
>Hello! 
>
>
>Upgrading manual tells that authdb [NSS module was removed][1] some
>time ago. 
>
>
>[1]: https://wiki2.dovecot.org/Upgrading/2.3#line-100 
>
>
>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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20190715/30c9dc9c/attachment.html>


More information about the dovecot mailing list