<!doctype html><html><head> 
  <meta charset="UTF-8"> 
 </head>
 <body>I use LDAP right now, but local cached sssd queries are much faster and reliable.<br><br><div class="gmail_quote">On July 15, 2019 6:49:18 AM GMT+03:00, Aki Tuomi <aki.tuomi@open-xchange.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

  <div>
   <br>
  </div>
  <blockquote type="cite">
   <div>
    On 15/07/2019 02:54 Eugene via dovecot <
    <a href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a>> wrote:
   </div>
   <div>
    <br>
   </div>
   <div>
    <br>
   </div>
   <div>
    Hello!
   </div>
   <div>
    <br>
   </div>
   <div>
    Upgrading manual tells that authdb [NSS module was removed][1] some time ago.
   </div>
   <div>
    <br>
   </div>
   <div>
    [1]: 
    <a href="https://wiki2.dovecot.org/Upgrading/2.3#line-100" rel="noopener" target="_blank">https://wiki2.dovecot.org/Upgrading/2.3#line-100</a>
   </div>
   <div>
    <br>
   </div>
   <blockquote type="cite">
    <div>
     userdb nss was removed. Use userdb passwd instead.
    </div>
   </blockquote>
   <div>
    Can this change be reverted?
   </div>
   <div>
    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.
   </div>
   <div>
    The other solution would be to use another instance of nsswitch.conf for dovecot authdb passwd module. Is it possible?
   </div>
   <div>
    <br>
   </div>
   <div>
    Thanks!
   </div>
   <div>
    --
   </div>
   <div>
    Eugene Bright
   </div>
   <div>
    IT engineer
   </div>
   <div>
    Tel: + 79257289622
   </div>
  </blockquote>
  <div>
   <br>
  </div>
  <div>
   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? 
  </div>
  <div class="io-ox-signature">
   <pre>---
Aki Tuomi</pre>
  </div> 
 

</blockquote></div><hr>Eugene Bright<br>IT-engineer<br>Tel.: +7 925 728 96 22<br></body></html>