summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_ccache_access.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-12-30 14:13:45 +0100
committerGünther Deschner <gd@samba.org>2010-03-24 17:34:55 +0100
commit7d977da92554c34539a475feb7dcb0a6dc0ad654 (patch)
treeb72b62b56382fa3e001890c7f98726c7458f3b26 /source3/winbindd/winbindd_ccache_access.c
parent55279dfbe3770563016723c3ba7d1dbbec3d4437 (diff)
downloadsamba-7d977da92554c34539a475feb7dcb0a6dc0ad654.tar.gz
samba-7d977da92554c34539a475feb7dcb0a6dc0ad654.tar.bz2
samba-7d977da92554c34539a475feb7dcb0a6dc0ad654.zip
s3:ntlmssp: pass names and use_ntlmv2 to ntlmssp_client_start() and store them
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/winbindd/winbindd_ccache_access.c')
-rw-r--r--source3/winbindd/winbindd_ccache_access.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_ccache_access.c b/source3/winbindd/winbindd_ccache_access.c
index f8f57f6add..ff5c8408f4 100644
--- a/source3/winbindd/winbindd_ccache_access.c
+++ b/source3/winbindd/winbindd_ccache_access.c
@@ -54,7 +54,11 @@ static NTSTATUS do_ntlm_auth_with_hashes(const char *username,
struct ntlmssp_state *ntlmssp_state = NULL;
DATA_BLOB dummy_msg, reply;
- status = ntlmssp_client_start(&ntlmssp_state);
+ status = ntlmssp_client_start(NULL,
+ global_myname(),
+ lp_workgroup(),
+ lp_client_ntlmv2_auth(),
+ &ntlmssp_state);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(1, ("Could not start NTLMSSP client: %s\n",