Ignore:
Timestamp:
Jun 16, 2009, 5:52:30 PM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.2 to 3.2.12

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.2.x/source/utils/net.c

    r228 r272  
    7373int opt_flags = -1;
    7474int opt_timeout = 0;
     75int opt_request_timeout = 0;
    7576const char *opt_target_workgroup = NULL;
    7677int opt_machine_pass = 0;
     
    572573                          nt_errstr(nt_status));
    573574                cli = NULL;
     575        } else if (opt_request_timeout) {
     576                cli_set_timeout(cli, opt_request_timeout * 1000);
    574577        }
    575578
     
    10431046                {"stdin",       'i', POPT_ARG_NONE,   &opt_stdin},
    10441047                {"timeout",     't', POPT_ARG_INT,    &opt_timeout},
     1048                {"request-timeout",0,POPT_ARG_INT,    &opt_request_timeout},
    10451049                {"machine-pass",'P', POPT_ARG_NONE,   &opt_machine_pass},
    10461050                {"myworkgroup", 'W', POPT_ARG_STRING, &opt_workgroup},
Note: See TracChangeset for help on using the changeset viewer.