Ensure we always initialise the winbind context
authorMatthew Newton <matthew-git@newtoncomputing.co.uk>
Tue, 17 Mar 2015 00:56:12 +0000 (00:56 +0000)
committerJeremy Allison <jra@samba.org>
Wed, 18 Mar 2015 00:41:32 +0000 (01:41 +0100)
commiteb0d6b9999d08c98d51322918b97e9cb9b006279
treedfa70223d4f37c8b79784df67327b40315ad4128
parentfdb16dd247797eabfdda49d6b6fb40a4642c0664
Ensure we always initialise the winbind context

Stops segfault when a context is passed. Internal Samba code will
currently always call this with NULL so won't trigger the bug.

Signed-off-by: Matthew Newton <matthew-git@newtoncomputing.co.uk>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Mar 18 01:41:32 CET 2015 on sn-devel-104
nsswitch/wb_common.c