mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r26676: libcli: Fill in lp_workgroup() again, should fix my breakage of cifsdd tests. Thanks to Andrew for catching this.
Also fixes a typo in sessetup.c.
This commit is contained in:
parent
a175ee6594
commit
b97de4a655
@ -192,6 +192,7 @@ NTSTATUS smbcli_tree_full_connection(TALLOC_CTX *parent_ctx,
|
||||
io.in.service_type = service_type;
|
||||
io.in.credentials = credentials;
|
||||
io.in.fallback_to_anonymous = false;
|
||||
io.in.workgroup = lp_workgroup(global_loadparm);
|
||||
io.in.options = *options;
|
||||
|
||||
status = smb_composite_connect(&io, parent_ctx, resolve_ctx, ev);
|
||||
|
@ -129,7 +129,7 @@ static void request_handler(struct smbcli_request *req)
|
||||
case RAW_SESSSETUP_SPNEGO:
|
||||
state->io->out.vuid = state->setup.spnego.out.vuid;
|
||||
if (NT_STATUS_EQUAL(c->status, NT_STATUS_LOGON_FAILURE)) {
|
||||
/* we neet to reset the vuid for a new try */
|
||||
/* we need to reset the vuid for a new try */
|
||||
session->vuid = 0;
|
||||
if (cli_credentials_wrong_password(state->io->in.credentials)) {
|
||||
nt_status = session_setup_spnego(c, session,
|
||||
|
Loading…
Reference in New Issue
Block a user