Author: jelmer Date: 2008-01-06 22:01:31 +0000 (Sun, 06 Jan 2008) New Revision: 26676
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=26676 Log: 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. Modified: branches/SAMBA_4_0/ branches/SAMBA_4_0/source/libcli/raw/clitree.c branches/SAMBA_4_0/source/libcli/smb_composite/sesssetup.c Changeset: Property changes on: branches/SAMBA_4_0 ___________________________________________________________________ Name: bzr:revision-info ...skipped... Name: bzr:revision-id:v3-trunk0 ...skipped... Modified: branches/SAMBA_4_0/source/libcli/raw/clitree.c =================================================================== --- branches/SAMBA_4_0/source/libcli/raw/clitree.c 2008-01-05 21:29:25 UTC (rev 26675) +++ branches/SAMBA_4_0/source/libcli/raw/clitree.c 2008-01-06 22:01:31 UTC (rev 26676) @@ -192,6 +192,7 @@ 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); Modified: branches/SAMBA_4_0/source/libcli/smb_composite/sesssetup.c =================================================================== --- branches/SAMBA_4_0/source/libcli/smb_composite/sesssetup.c 2008-01-05 21:29:25 UTC (rev 26675) +++ branches/SAMBA_4_0/source/libcli/smb_composite/sesssetup.c 2008-01-06 22:01:31 UTC (rev 26676) @@ -129,7 +129,7 @@ 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,