summaryrefslogtreecommitdiff
path: root/source4/torture/raw/context.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-08-25 14:31:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:23 -0500
commit8aa051c7b2fa651d284321715f16d94215128abf (patch)
tree91cd43baacfdd5a08ddd345189fef4eecdf307a7 /source4/torture/raw/context.c
parent7eb820d31b39cda74b56c4c2dc66daa768f5216f (diff)
downloadsamba-8aa051c7b2fa651d284321715f16d94215128abf.tar.gz
samba-8aa051c7b2fa651d284321715f16d94215128abf.tar.bz2
samba-8aa051c7b2fa651d284321715f16d94215128abf.zip
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)
Diffstat (limited to 'source4/torture/raw/context.c')
-rw-r--r--source4/torture/raw/context.c2
1 files changed, 1 insertions, 1 deletions
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);