From bc3a20e9d8cec0b0b402e922214fc5a7f08e785e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 18 Aug 2004 12:47:08 +0000 Subject: r1879: - add a user sub struct in net_context - add 'net password change' command (it doesn'T work yet because libnet_rpc_connect() isn't implemented yet, and we don't fill in the net_context user substruct yet) metze (This used to be commit 939da063cdf18a5ab7e7f0490ac58d1f138cf0f0) --- source4/utils/net/net.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'source4/utils/net/net.h') diff --git a/source4/utils/net/net.h b/source4/utils/net/net.h index f1ed93fbfb..ba8294c144 100644 --- a/source4/utils/net/net.h +++ b/source4/utils/net/net.h @@ -24,12 +24,18 @@ struct net_context { TALLOC_CTX *mem_ctx; + struct { + const char *account_name; + const char *domain_name; + const char *password; + } user; }; struct net_functable { const char *name; int (*fn)(struct net_context *ctx, int argc, const char **argv); - int (*help)(struct net_context *ctx, int argc, const char **argv); + int (*usage)(struct net_context *ctx, int argc, const char **argv); + int (*help)(struct net_context *ctx, int argc, const char **argv); }; #endif /* _UTIL_NET_H */ -- cgit