summaryrefslogtreecommitdiff
path: root/source4/utils
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-08-19 13:32:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:11 -0500
commit9d62046b0e09fa7a4a660859dd8651e6d60c8dc8 (patch)
tree50e7036ab1e464575d967882bc98cadb47dc8b5a /source4/utils
parentc3ec4582ba8d840be0ccfd18e6704f5583b6469f (diff)
downloadsamba-9d62046b0e09fa7a4a660859dd8651e6d60c8dc8.tar.gz
samba-9d62046b0e09fa7a4a660859dd8651e6d60c8dc8.tar.bz2
samba-9d62046b0e09fa7a4a660859dd8651e6d60c8dc8.zip
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)
Diffstat (limited to 'source4/utils')
-rw-r--r--source4/utils/net/net_password.c3
1 files changed, 3 insertions, 0 deletions
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;