Lines Matching refs:cli_info
90 void run_enums_test(int num_ops, struct client_info *cli_info, struct cli_state *cli)
96 rpcclient_connect(cli_info);
102 cli_info->dest_host, cli_info->name_type);
109 cmd_srv_enum_sess(cli_info);
111 cmd_srv_enum_shares(cli_info);
113 cmd_srv_enum_files(cli_info);
124 cmd_srv_enum_conn(cli_info);
134 void run_ntlogin_test(int num_ops, struct client_info *cli_info, struct cli_state *cli)
140 rpcclient_connect(cli_info);
146 cli_info->dest_host, cli_info->name_type);
155 cmd_netlogon_login_test(cli_info);
166 struct client_info *cli_info, struct cli_state *cli,
177 fn(numops, cli_info, cli);
233 struct client_info cli_info;
252 cli_info.put_total_size = 0;
253 cli_info.put_total_time_ms = 0;
254 cli_info.get_total_size = 0;
255 cli_info.get_total_time_ms = 0;
257 cli_info.dir_total = 0;
258 cli_info.newer_than = 0;
259 cli_info.archive_level = 0;
260 cli_info.print_mode = 1;
262 cli_info.translation = False;
263 cli_info.recurse_dir = False;
264 cli_info.lowercase = False;
265 cli_info.prompt = True;
266 cli_info.abort_mget = True;
268 cli_info.dest_ip.s_addr = 0;
269 cli_info.name_type = 0x20;
271 pstrcpy(cli_info.cur_dir , "\\");
272 pstrcpy(cli_info.file_sel, "");
273 pstrcpy(cli_info.base_dir, "");
276 pstrcpy(cli_info.myhostname, "");
277 pstrcpy(cli_info.dest_host, "");
279 pstrcpy(cli_info.svc_type, "A:");
280 pstrcpy(cli_info.share, "");
281 pstrcpy(cli_info.service, "");
283 ZERO_STRUCT(cli_info.dom.level3_sid);
284 pstrcpy(cli_info.dom.level3_dom, "");
285 ZERO_STRUCT(cli_info.dom.level5_sid);
286 pstrcpy(cli_info.dom.level5_dom, "");
311 pstrcpy(cli_info.service, argv[1]);
313 string_replace( cli_info.service, '/','\\');
317 DEBUG(1,("service: %s\n", cli_info.service));
319 if (count_chars(cli_info.service,'\\') < 3)
322 printf("\n%s: Not enough '\\' characters in service\n", cli_info.service);
327 if (count_chars(cli_info.service,'\\') > 3)
330 printf("\n%s: Too many '\\' characters in service\n", cli_info.service);
369 pstrcpy(cli_info.dest_host,optarg);
370 strupper_m(cli_info.dest_host);
409 cli_info.dest_ip = *interpret_addr2(optarg);
410 if (is_zero_ip(cli_info.dest_ip))
494 fstrcpy(cli_info.myhostname, global_myname);
508 pstrcpy(cli_info.share, "IPC$");
509 pstrcpy(cli_info.svc_type, "IPC");
512 fstrcpy(cli_info.mach_acct, cli_info.myhostname);
513 strupper_m(cli_info.mach_acct);
514 fstrcat(cli_info.mach_acct, "$");
535 create_procs(nprocs, numops, &cli_info, smb_cli, run_enums_test);
539 create_procs(nprocs, numops, &cli_info, smb_cli, run_ntlogin_test);