summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-07-31 13:23:08 +0200
committerAndrew Bartlett <abartlet@samba.org>2013-08-05 17:48:03 +1200
commitd36fcaa5f3c4d1ad54d767f4a7c5fa6c8d69c00e (patch)
tree2cce9be856b4231bf5072149451eb5c74136a4bb
parent36b3c9506c1ac5549a38140e7ffd57644290069f (diff)
downloadsamba-d36fcaa5f3c4d1ad54d767f4a7c5fa6c8d69c00e.tar.gz
samba-d36fcaa5f3c4d1ad54d767f4a7c5fa6c8d69c00e.tar.bz2
samba-d36fcaa5f3c4d1ad54d767f4a7c5fa6c8d69c00e.zip
s4:torture/gentest: make use of cli_credentials_get_username()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--source4/torture/gentest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/gentest.c b/source4/torture/gentest.c
index f3c4c20e53..9e985ed681 100644
--- a/source4/torture/gentest.c
+++ b/source4/torture/gentest.c
@@ -221,7 +221,8 @@ static bool connect_servers(struct tevent_context *ev,
printf("Connecting to \\\\%s\\%s as %s - instance %d\n",
servers[i].server_name, servers[i].share_name,
- servers[i].credentials->username, j);
+ cli_credentials_get_username(servers[i].credentials),
+ j);
cli_credentials_set_workstation(servers[i].credentials,
"gentest", CRED_SPECIFIED);