summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/utils/net/net_user.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/utils/net/net_user.c b/source4/utils/net/net_user.c
index 75eec9716d..7bb6fa3d61 100644
--- a/source4/utils/net/net_user.c
+++ b/source4/utils/net/net_user.c
@@ -50,7 +50,6 @@ static int net_user_add(struct net_context *ctx, int argc, const char **argv)
lnet_ctx->cred = ctx->credentials;
/* calling CreateUser function */
- r.level = LIBNET_CREATE_USER_GENERIC;
r.in.user_name = user_name;
r.in.domain_name = cli_credentials_get_domain(lnet_ctx->cred);
@@ -91,7 +90,6 @@ static int net_user_delete(struct net_context *ctx, int argc, const char **argv)
lnet_ctx->cred = ctx->credentials;
/* calling DeleteUser function */
- r.level = LIBNET_DELETE_USER_GENERIC;
r.in.user_name = user_name;
r.in.domain_name = cli_credentials_get_domain(lnet_ctx->cred);