Bug 12825 - rpcclient timeout command is not documented
Summary: rpcclient timeout command is not documented
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 4.5.10
Hardware: All Linux
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba Documentation QA Contact~
QA Contact: Samba Documentation QA Contact~
Depends on:
Reported: 2017-06-06 18:29 UTC by Alex K
Modified: 2017-06-06 18:29 UTC (History)
0 users

See Also:

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 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.