From 9d62046b0e09fa7a4a660859dd8651e6d60c8dc8 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 19 Aug 2004 13:32:06 +0000 Subject: r1919: paasword change basicly works now:-) but we need to find the real pdc for the users domain and fallback to other levels metze (This used to be commit f1b9c1f3dd0fb927c065541da900ae43e0018a62) --- source4/utils/net/net_password.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/utils') diff --git a/source4/utils/net/net_password.c b/source4/utils/net/net_password.c index c9c549fcff..9daa3f401f 100644 --- a/source4/utils/net/net_password.c +++ b/source4/utils/net/net_password.c @@ -46,6 +46,9 @@ static int net_password_change(struct net_context *ctx, int argc, const char **a if (!libnetctx) { return -1; } + libnetctx->user.account_name = ctx->user.account_name; + libnetctx->user.domain_name = ctx->user.domain_name; + libnetctx->user.password = ctx->user.password; /* prepare password change */ r.generic.level = LIBNET_CHANGE_PASSWORD_GENERIC; -- cgit