summaryrefslogtreecommitdiff
path: root/source3/utils/net.h
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2009-07-05 09:21:07 +0200
committerKai Blin <kai@samba.org>2009-07-22 13:39:34 +0200
commit8f5ef1063354b4ce32dfc9122e8221e2fea88890 (patch)
tree43f4b7d4fa6e3c00f602421471e9c320bf75578a /source3/utils/net.h
parent1887ad0a26cca026c3503f0ef4e40f8eff42a121 (diff)
downloadsamba-8f5ef1063354b4ce32dfc9122e8221e2fea88890.tar.gz
samba-8f5ef1063354b4ce32dfc9122e8221e2fea88890.tar.bz2
samba-8f5ef1063354b4ce32dfc9122e8221e2fea88890.zip
Revert "net: Use samba default command line arguments."
This reverts commit fb262f79fab00374023e59476e8d05a1015a7041 and related commits c36031778e1983ddb11d3e1fcab35e738dbf94bc 72fd5fa6bb78a054fad5e5ebe19a0c0387a7d45b and 38cd0e086f50ce54d88a19aa5a6803469af90489 This change caused more trouble than it solved. We need to do this differently. Reverting so we don't accidently release this.
Diffstat (limited to 'source3/utils/net.h')
-rw-r--r--source3/utils/net.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/source3/utils/net.h b/source3/utils/net.h
index f604d96361..d88f962d41 100644
--- a/source3/utils/net.h
+++ b/source3/utils/net.h
@@ -28,8 +28,11 @@
struct net_context {
const char *opt_requester_name;
const char *opt_host;
- int opt_long_list_entries;
+ const char *opt_password;
+ const char *opt_user_name;
+ bool opt_user_specified;
const char *opt_workgroup;
+ int opt_long_list_entries;
int opt_reboot;
int opt_force;
int opt_stdin;
@@ -42,6 +45,7 @@ struct net_context {
int opt_timeout;
int opt_request_timeout;
const char *opt_target_workgroup;
+ int opt_machine_pass;
int opt_localgroup;
int opt_domaingroup;
int do_talloc_report;
@@ -53,14 +57,15 @@ struct net_context {
const char *opt_exclude;
const char *opt_destination;
int opt_testmode;
+ bool opt_kerberos;
int opt_force_full_repl;
int opt_single_obj_repl;
int opt_clean_old_entries;
int opt_have_ip;
struct sockaddr_storage opt_dest_ip;
+ bool smb_encrypt;
struct libnetapi_ctx *netapi_ctx;
- struct user_auth_info *auth_info;
bool display_usage;
void *private_data;