s4:auth: Make sure to check the optional auth_context hooks before using them
authorAndrew Bartlett <abartlet@samba.org>
Wed, 11 Jan 2012 08:00:34 +0000 (19:00 +1100)
committerStefan Metzmacher <metze@samba.org>
Wed, 11 Jan 2012 09:49:13 +0000 (10:49 +0100)
commitfc2c76f9218b1e92982b4b1813f44b9010dcd842
tree79a9e6bb5a960431c2ceb46e6df54e64a8b7dadd
parent5c92e9a46f46c0967fbec40826d5392ec86c3d6f
s4:auth: Make sure to check the optional auth_context hooks before using them

These are optional to supply - some callers only provide an auth_context for the
other plugin functions, and so we need to deal with this cleanly.

Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Jan 11 10:49:13 CET 2012 on sn-devel-104
source4/auth/ntlmssp/ntlmssp_server.c