From 8aa051c7b2fa651d284321715f16d94215128abf Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 25 Aug 2004 14:31:59 +0000 Subject: r2071: - change smbtorture to use the popt_common stuff this means -U DOM\\user is know allowed - torture:userdomain is a new smb.conf parameter because lp_workgroup is not the domain of the user - we use torture:userdomain now in the tests instad of lp_workgroup - for backward compat the userdomain is lp_workgroup() by default and not lp_netbios_name(), which my change later to match 'net' and 'smbclient'.. - we now have dublicate options e.g. -N -s ... tridge: can we change this? metze (This used to be commit 4733dcbf5f17422a8a4c9f99664270b3aa66c586) --- source4/torture/raw/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/raw') diff --git a/source4/torture/raw/context.c b/source4/torture/raw/context.c index 26039191f4..7bc75a6627 100644 --- a/source4/torture/raw/context.c +++ b/source4/torture/raw/context.c @@ -77,7 +77,7 @@ static BOOL test_session(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) username = lp_parm_string(-1, "torture", "username"); password = lp_parm_string(-1, "torture", "password"); - domain = lp_workgroup(); + domain = lp_parm_string(-1, "torture", "userdomain"); printf("create a second security context on the same transport\n"); session = smbcli_session_init(cli->transport); -- cgit