diff options
author | Volker Lendecke <vl@samba.org> | 2018-12-08 15:05:53 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2018-12-11 00:40:30 +0100 |
commit | 302840173714420efeef219ebdf8bd13b850aaa4 (patch) | |
tree | a80f2e8cb1d11979c8208c928801d772c9862d79 /source3/utils/net_rpc_shell.c | |
parent | c48d6345e32fb8f5727f8545c60d58bd7570b056 (diff) | |
download | samba-302840173714420efeef219ebdf8bd13b850aaa4.tar.gz |
net: Use dom_sid_str_buf
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/utils/net_rpc_shell.c')
-rw-r--r-- | source3/utils/net_rpc_shell.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_shell.c b/source3/utils/net_rpc_shell.c index 120cfa6af95..f07ba779bba 100644 --- a/source3/utils/net_rpc_shell.c +++ b/source3/utils/net_rpc_shell.c @@ -27,6 +27,7 @@ #include "lib/netapi/netapi_net.h" #include "../libcli/smbreadline/smbreadline.h" #include "libsmb/libsmb.h" +#include "libcli/security/dom_sid.h" static NTSTATUS rpc_sh_info(struct net_context *c, TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, @@ -219,6 +220,7 @@ int net_rpc_shell(struct net_context *c, int argc, const char **argv) { NTSTATUS status; struct rpc_sh_ctx *ctx; + struct dom_sid_buf buf; if (argc != 0 || c->display_usage) { d_printf("%s\nnet rpc shell\n", _("Usage:")); @@ -258,7 +260,7 @@ int net_rpc_shell(struct net_context *c, int argc, const char **argv) } d_printf(_("Talking to domain %s (%s)\n"), ctx->domain_name, - sid_string_tos(ctx->domain_sid)); + dom_sid_str_buf(ctx->domain_sid, &buf)); this_ctx = ctx; |