Add context versions of wbclient functions
authorMatthew Newton <matthew-git@newtoncomputing.co.uk>
Sat, 21 Feb 2015 22:30:11 +0000 (22:30 +0000)
committerJeremy Allison <jra@samba.org>
Mon, 9 Mar 2015 23:50:10 +0000 (00:50 +0100)
commit063c56dba590eec69439eb791a420b40505d4cc0
treeab61976f8653a8a5c9058d86d32989e7be4d5279
parent348f93ff6e25c43e0233432bd2134bb9eacb0b87
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.

Signed-off-by: Matthew Newton <matthew-git@newtoncomputing.co.uk>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
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