nsswitch: Only connect to the priv socket if required
authorVolker Lendecke <vl@samba.org>
Mon, 23 Apr 2018 10:13:40 +0000 (12:13 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 24 Apr 2018 12:32:10 +0000 (14:32 +0200)
commitfdf0b2a784f83f9fcaa204be7f28f9e7fc47836b
tree8b729b825f499beecea5a4d6e267318581eab1f9
parent6120f568017544425071c9ad817faa236fd27058
nsswitch: Only connect to the priv socket if required

This should speed up calls like "wbinfo -p"

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
nsswitch/wb_common.c