summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-12-29 16:47:11 +0100
committerGünther Deschner <gd@samba.org>2010-03-24 17:34:48 +0100
commitbd550df322251f4cf2b3d053563d601e5aca8f00 (patch)
tree5eee02c17881d25fb2900301d3c9ea4bce61117e
parenta6bfc1a2d0270197ee34405f3ce028a5919f1aaa (diff)
downloadsamba-bd550df322251f4cf2b3d053563d601e5aca8f00.tar.gz
samba-bd550df322251f4cf2b3d053563d601e5aca8f00.tar.bz2
samba-bd550df322251f4cf2b3d053563d601e5aca8f00.zip
s4:ntlmssp: add a callback_private pointer to gensec_ntlmssp_state
We'll remove any gensec specific stuff from gensec_ntlmssp_state and rename it to ntlmssp_state again. Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
-rw-r--r--source4/auth/ntlmssp/ntlmssp.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/auth/ntlmssp/ntlmssp.h b/source4/auth/ntlmssp/ntlmssp.h
index 7bed54d6d8..01fd14fb02 100644
--- a/source4/auth/ntlmssp/ntlmssp.h
+++ b/source4/auth/ntlmssp/ntlmssp.h
@@ -73,7 +73,12 @@ struct gensec_ntlmssp_state
/* internal variables used by KEY_EXCH (client-supplied user session key */
DATA_BLOB encrypted_session_key;
-
+
+ /**
+ * Private data for the callback functions
+ */
+ void *callback_private;
+
/**
* Callback to get the 'challenge' used for NTLM authentication.
*