diff options
Diffstat (limited to 'source4/utils/net/net_time.c')
-rw-r--r-- | source4/utils/net/net_time.c | 4 |
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; |