r15941: We don't use call levels, at the moment. Remove them until we do.
authorRafal Szczesniak <mimir@samba.org>
Mon, 29 May 2006 22:01:31 +0000 (22:01 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:08:42 +0000 (14:08 -0500)
rafal

source/utils/net/net_user.c

index 75eec9716d657a213c6193e0b24b9fca0e1a8713..7bb6fa3d61fb14c39ca352df1ac425e31e7ab406 100644 (file)
@@ -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);