Bug 12825 - rpcclient timeout command is not documented
rpcclient timeout command is not documented
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Documentation
4.5.10
All Linux
: P5 normal
: ---
Assigned To: Samba Documentation QA Contact~
Samba Documentation QA Contact~
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-06 18:29 UTC by Alex K
Modified: 2017-06-06 18:29 UTC (History)
0 users

See Also:


Attachments
rpcclient-manpages-timeout.patch (337 bytes, patch)
2017-06-06 18:29 UTC, Alex K
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex K 2017-06-06 18:29:51 UTC
Created attachment 13257 [details]
rpcclient-manpages-timeout.patch

rpcclient has built-in timeout (10sec) in source3/rpc_client/cli_pipe.c. 

#define RPCCLI_DEFAULT_TIMEOUT 10000 /* 10 seconds. */

This default can be changed by the timeout keyword. For example:

rpcclient localhost -c 'timeout 20000; enumprinters'

It doesn't seem to be documented in the manpages. Here is a patch adding it to the man.