git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r15941: We don't use call levels, at the moment. Remove them until we do.
[samba.git]
/
source4
/
utils
/
net
/
net_user.c
diff --git
a/source4/utils/net/net_user.c
b/source4/utils/net/net_user.c
index 75eec9716d657a213c6193e0b24b9fca0e1a8713..7bb6fa3d61fb14c39ca352df1ac425e31e7ab406 100644
(file)
--- 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 */
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);
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 */
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);
r.in.user_name = user_name;
r.in.domain_name = cli_credentials_get_domain(lnet_ctx->cred);