summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-07-08 18:03:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:54 -0500
commit0fa2b94c5629104000afe12e7eb0447ac515613f (patch)
tree58fb652e19ae1df0536f1b666366a88e0ed54d6a /source4/libcli
parent4b3b32a2f159b56e303edb80f31dbc96648366fa (diff)
downloadsamba-0fa2b94c5629104000afe12e7eb0447ac515613f.tar.gz
samba-0fa2b94c5629104000afe12e7eb0447ac515613f.tar.bz2
samba-0fa2b94c5629104000afe12e7eb0447ac515613f.zip
r1406: I got spnego in the smb client working
so I set 'use spnego = True' metze (This used to be commit e06898f88c82c286574f9d73de1a9de829b1ded8)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/raw/clisession.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/libcli/raw/clisession.c b/source4/libcli/raw/clisession.c
index fd6737eeb7..dd13657549 100644
--- a/source4/libcli/raw/clisession.c
+++ b/source4/libcli/raw/clisession.c
@@ -391,6 +391,7 @@ static NTSTATUS smb_raw_session_setup_generic_spnego(struct cli_session *session
s2.spnego.in.domain = parms->generic.in.domain;
s2.spnego.in.os = "Unix";
s2.spnego.in.lanman = "Samba";
+ s2.spnego.out.vuid = UID_FIELD_INVALID;
cli_temp_set_signing(session->transport);
@@ -437,7 +438,9 @@ static NTSTATUS smb_raw_session_setup_generic_spnego(struct cli_session *session
}
while(1) {
+ session->vuid = s2.spnego.out.vuid;
status = smb_raw_session_setup(session, mem_ctx, &s2);
+ session->vuid = UID_FIELD_INVALID;
if (!NT_STATUS_IS_OK(status) &&
!NT_STATUS_EQUAL(status, NT_STATUS_MORE_PROCESSING_REQUIRED)) {
goto done;