Add context versions of wbclient functions
authorMatthew Newton <matthew-git@newtoncomputing.co.uk>
Sat, 21 Feb 2015 22:30:11 +0000 (22:30 +0000)
committerKarolin Seeger <kseeger@samba.org>
Tue, 24 Mar 2015 03:51:15 +0000 (04:51 +0100)
commitbb70e50fa3cd9f322245a0045fa30157bfec51d9
tree8414264ad2c4cdd6029e89c165fd1b9d145b3691
parentb9d75f68eb7c46114aabdfa0c66a8bc1d37b9950
Add context versions of wbclient functions

To make the libwbclient library thread-safe, all functions
that call through to wb_common winbindd_request_response need
to have context that they can use. This commit adds all the
necessary functions.

https://bugzilla.samba.org/show_bug.cgi?id=11149

Signed-off-by: Matthew Newton <matthew-git@newtoncomputing.co.uk>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 063c56dba590eec69439eb791a420b40505d4cc0)
nsswitch/libwbclient/wbc_idmap.c
nsswitch/libwbclient/wbc_pam.c
nsswitch/libwbclient/wbc_pwd.c
nsswitch/libwbclient/wbc_sid.c
nsswitch/libwbclient/wbc_util.c
nsswitch/libwbclient/wbclient.h