summaryrefslogtreecommitdiff
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
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)
-rw-r--r--source4/libcli/raw/clisession.c3
-rw-r--r--source4/param/loadparm.c2
2 files changed, 4 insertions, 1 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;
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index 33019c1bf1..68a16501d2 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -1101,7 +1101,7 @@ static void init_globals(void)
Globals.name_cache_timeout = 660; /* In seconds */
- Globals.bUseSpnego = False;
+ Globals.bUseSpnego = True;
Globals.server_signing = False;