diff options
-rw-r--r-- | source3/rpcclient/cmd_dssetup.c | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/source3/rpcclient/cmd_dssetup.c b/source3/rpcclient/cmd_dssetup.c index 2f7a5699b87..611cf634345 100644 --- a/source3/rpcclient/cmd_dssetup.c +++ b/source3/rpcclient/cmd_dssetup.c @@ -63,9 +63,22 @@ static WERROR cmd_ds_dsrole_getprimarydominfo(struct rpc_pipe_client *cli, struct cmd_set ds_commands[] = { - { "LSARPC-DS" }, - - { "dsroledominfo", RPC_RTYPE_WERROR, NULL, cmd_ds_dsrole_getprimarydominfo, &ndr_table_dssetup, NULL, "Get Primary Domain Information", "" }, - -{ NULL } + { + .name = "LSARPC-DS" + }, + + { + .name = "dsroledominfo", + .returntype = RPC_RTYPE_WERROR, + .ntfn = NULL, + .wfn = cmd_ds_dsrole_getprimarydominfo, + .table = &ndr_table_dssetup, + .rpc_pipe = NULL, + .description = "Get Primary Domain Information", + .usage = "" + }, + + { + .name = NULL, + } }; |