diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-08-18 12:47:08 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:58:07 -0500 |
commit | bc3a20e9d8cec0b0b402e922214fc5a7f08e785e (patch) | |
tree | 5bab963469af3de4c0818d9d9301544797effb53 /source4/utils/net/net.h | |
parent | 226478521b93dcdd60d268757b3b2fce14549b72 (diff) | |
download | samba-bc3a20e9d8cec0b0b402e922214fc5a7f08e785e.tar.gz samba-bc3a20e9d8cec0b0b402e922214fc5a7f08e785e.tar.bz2 samba-bc3a20e9d8cec0b0b402e922214fc5a7f08e785e.zip |
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)
Diffstat (limited to 'source4/utils/net/net.h')
-rw-r--r-- | source4/utils/net/net.h | 8 |
1 files changed, 7 insertions, 1 deletions
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 */ |