summaryrefslogtreecommitdiff
path: root/python/examples
diff options
context:
space:
mode:
authorMatthew Newton <matthew-git@newtoncomputing.co.uk>2015-01-23 22:35:50 +0000
committerJeremy Allison <jra@samba.org>2015-03-10 00:50:09 +0100
commit60c7571984d7f1612828a72fae3ed8e66037d1f7 (patch)
tree49ddc53ccfed28108490a40498931257f048dbd8 /python/examples
parent95a6a892d9f50aced3d67e7b79e5ca2401134c38 (diff)
downloadsamba-60c7571984d7f1612828a72fae3ed8e66037d1f7.tar.gz
Make winbind client library thread-safe by adding context
Rather than keep state in global variables, store the current context such as the winbind file descriptor in a struct that is passed in. This makes the winbind client library thread-safe. Signed-off-by: Matthew Newton <matthew-git@newtoncomputing.co.uk> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'python/examples')
0 files changed, 0 insertions, 0 deletions