mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
Allow to set level in cmd_wkssvc_wkstagetinfo().
Guenther
(This used to be commit 2c287ce050
)
This commit is contained in:
parent
bf80f40ca4
commit
7bfe569b7d
@ -32,6 +32,15 @@ static WERROR cmd_wkssvc_wkstagetinfo(struct rpc_pipe_client *cli,
|
||||
union wkssvc_NetWkstaInfo info;
|
||||
const char *server_name;
|
||||
|
||||
if (argc > 2) {
|
||||
printf("usage: %s <level>\n", argv[0]);
|
||||
return WERR_OK;
|
||||
}
|
||||
|
||||
if (argc > 1) {
|
||||
level = atoi(argv[1]);
|
||||
}
|
||||
|
||||
server_name = cli->cli->desthost;
|
||||
|
||||
status = rpccli_wkssvc_NetWkstaGetInfo(cli, mem_ctx,
|
||||
|
Loading…
Reference in New Issue
Block a user