summaryrefslogtreecommitdiff
path: root/source4/utils/net/net_join.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/utils/net/net_join.c')
-rw-r--r--source4/utils/net/net_join.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/utils/net/net_join.c b/source4/utils/net/net_join.c
index 212b8270ff..717a9364a5 100644
--- a/source4/utils/net/net_join.c
+++ b/source4/utils/net/net_join.c
@@ -61,7 +61,7 @@ int net_join(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_JOIN_GENERIC;