Bug 5099 - smbtorture TCONDEV bug and fix
Summary: smbtorture TCONDEV bug and fix
Status: NEW
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Client Tools (show other bugs)
Version: 3.0.26a
Hardware: All All
: P3 minor
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-21 09:20 UTC by Jens Nissen
Modified: 2007-11-21 09:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Nissen 2007-11-21 09:20:48 UTC
smbtorture TCONDEV fails to connect to a server running with ADS security as the flags for initiating the connection are not set correctly.
The correct code in torture.c::1238 looks as follows:

----------------------------------------------------------
static BOOL run_tcon_devtype_test(int dummy)
{
	static struct cli_state *cli1 = NULL;
	BOOL retry;
	int flags = 0;
	NTSTATUS status;
	BOOL ret = True;

  if (use_kerberos)
    flags |= CLI_FULL_CONNECTION_USE_KERBEROS;

	status = cli_full_connection(&cli1, myname,
				     host, NULL, port_to_use,
				     NULL, NULL,
				     username, workgroup,
				     password, flags, Undefined, &retry);
----------------------------------------------------------