Bug 5099 - smbtorture TCONDEV bug and fix
smbtorture TCONDEV bug and fix
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: Client Tools
All All
: P3 minor
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2007-11-21 09:20 UTC by Jens Nissen
Modified: 2007-11-21 09:20 UTC (History)
0 users

See Also:


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)

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