From 0a40093ef39a46b9df82d6d0486b70b354d9dde5 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 3 Jun 2005 21:30:07 +0000 Subject: r7249: Cope with struct member rename (This used to be commit e7549f33f5fb06d8b2a8f31745545cc7b9c8d4f9) --- source4/utils/net/net_user.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/utils/net/net_user.c') diff --git a/source4/utils/net/net_user.c b/source4/utils/net/net_user.c index 40e821bf83..690b393e50 100644 --- a/source4/utils/net/net_user.c +++ b/source4/utils/net/net_user.c @@ -47,12 +47,12 @@ static int net_user_add(struct net_context *ctx, int argc, const char **argv) lnet_ctx = libnet_context_init(); if (!lnet_ctx) return -1; - lnet_ctx->credentials = ctx->credentials; + lnet_ctx->cred = ctx->credentials; /* calling CreateUser function */ r.generic.level = LIBNET_CREATE_USER_GENERIC; r.generic.in.user_name = user_name; - r.generic.in.domain_name = cli_credentials_get_domain(lnet_ctx->credentials); + r.generic.in.domain_name = cli_credentials_get_domain(lnet_ctx->cred); status = libnet_CreateUser(lnet_ctx, ctx->mem_ctx, &r); if (!NT_STATUS_IS_OK(status)) { -- cgit