summaryrefslogtreecommitdiff
path: root/source3/utils/net_proto.h
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2009-05-14 11:39:01 +0200
committerKai Blin <kai@samba.org>2009-05-25 23:35:38 +0200
commitfb262f79fab00374023e59476e8d05a1015a7041 (patch)
tree753bfbae96b66f237f53854b6fb12f6f16aad1e0 /source3/utils/net_proto.h
parenta98ba0cbe9a05f1b681206cecb7558c24d89da49 (diff)
downloadsamba-fb262f79fab00374023e59476e8d05a1015a7041.tar.gz
samba-fb262f79fab00374023e59476e8d05a1015a7041.tar.bz2
samba-fb262f79fab00374023e59476e8d05a1015a7041.zip
net: Use samba default command line arguments.
Attention: The meaning of the -N flag changed. To get the old meaning for net groupmap set, use the long option --ntname The long option for using kerberos changed from --kerberos to --use-kerberos net rpc commands will now prompt for a password if none is given. As a benefit, net will now accept an authentication file like other samba command line tools. So no need to specify the password on the command line in scripts anymore. This should fix bug #6357 Signed-off-by: Kai Blin <kai@samba.org>
Diffstat (limited to 'source3/utils/net_proto.h')
-rw-r--r--source3/utils/net_proto.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/utils/net_proto.h b/source3/utils/net_proto.h
index 75ac032db9..8a09147aad 100644
--- a/source3/utils/net_proto.h
+++ b/source3/utils/net_proto.h
@@ -459,8 +459,6 @@ NTSTATUS connect_to_ipc_krb5(struct net_context *c,
NTSTATUS connect_dst_pipe(struct net_context *c, struct cli_state **cli_dst,
struct rpc_pipe_client **pp_pipe_hnd,
const struct ndr_syntax_id *interface);
-int net_use_krb_machine_account(struct net_context *c);
-int net_use_machine_account(struct net_context *c);
bool net_find_server(struct net_context *c,
const char *domain,
unsigned flags,
@@ -475,7 +473,6 @@ NTSTATUS net_make_ipc_connection_ex(struct net_context *c ,const char *domain,
const char *server,
struct sockaddr_storage *pss,
unsigned flags, struct cli_state **pcli);
-const char *net_prompt_pass(struct net_context *c, const char *user);
int net_run_function(struct net_context *c, int argc, const char **argv,
const char *whoami, struct functable *table);
void net_display_usage_from_functable(struct functable *table);