1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

r1406: I got spnego in the smb client working

so I set 'use spnego = True'

metze
This commit is contained in:
Stefan Metzmacher 2004-07-08 18:03:14 +00:00 committed by Gerald (Jerry) Carter
parent f1bbde6bb4
commit e06898f88c
2 changed files with 4 additions and 1 deletions

View File

@ -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;

View File

@ -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;