diff options
Diffstat (limited to 'source4/utils/net/net_password.c')
-rw-r--r-- | source4/utils/net/net_password.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/utils/net/net_password.c b/source4/utils/net/net_password.c index 08660fe2a0..68fe9223a1 100644 --- a/source4/utils/net/net_password.c +++ b/source4/utils/net/net_password.c @@ -57,7 +57,7 @@ static int net_password_change(struct net_context *ctx, int argc, const char **a if (!libnetctx) { return -1; } - libnetctx->credentials = ctx->credentials; + libnetctx->cred = ctx->credentials; /* prepare password change */ r.generic.level = LIBNET_CHANGE_PASSWORD_GENERIC; @@ -132,7 +132,7 @@ static int net_password_set(struct net_context *ctx, int argc, const char **argv if (!libnetctx) { return -1; } - libnetctx->credentials = ctx->credentials; + libnetctx->cred = ctx->credentials; /* prepare password change */ r.generic.level = LIBNET_SET_PASSWORD_GENERIC; |