summaryrefslogtreecommitdiff
path: root/source4/utils/net/net_time.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-03-21 18:42:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:08 -0500
commit34cde065139fdc76f6aa529426cfc1f68a394d54 (patch)
tree97d8ce9783f8a0e3d263095eed2a9fbeee294423 /source4/utils/net/net_time.c
parent02075be0bbc2095073f8898350fded64a7c97c79 (diff)
downloadsamba-34cde065139fdc76f6aa529426cfc1f68a394d54.tar.gz
samba-34cde065139fdc76f6aa529426cfc1f68a394d54.tar.bz2
samba-34cde065139fdc76f6aa529426cfc1f68a394d54.zip
r5924: Use cli_credentials in libnet/.
(This used to be commit e5bc6f4f1716568ae7022d61b5b35ee047b58414)
Diffstat (limited to 'source4/utils/net/net_time.c')
-rw-r--r--source4/utils/net/net_time.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/utils/net/net_time.c b/source4/utils/net/net_time.c
index df3b52a4ab..a89f80417c 100644
--- a/source4/utils/net/net_time.c
+++ b/source4/utils/net/net_time.c
@@ -47,9 +47,7 @@ int net_time(struct net_context *ctx, int argc, const char **argv)
if (!libnetctx) {
return -1;
}
- libnetctx->user.account_name= cli_credentials_get_username(ctx->credentials);
- libnetctx->user.domain_name = cli_credentials_get_domain(ctx->credentials);
- libnetctx->user.password = cli_credentials_get_password(ctx->credentials);
+ libnetctx->credentials = ctx->credentials;
/* prepare to get the time */
r.generic.level = LIBNET_REMOTE_TOD_GENERIC;