diff options
author | Volker Lendecke <vl@samba.org> | 2018-12-10 12:03:37 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2018-12-11 00:40:31 +0100 |
commit | 6e55ca9e6f488d6996511e34e0fc7ffa1cb8fcac (patch) | |
tree | 2cfb6b9dc793fb4574182162ad1b921c1e1a2a2f | |
parent | 12f3a37a1a623a56fc6d397f1fac08effe9b7c79 (diff) | |
download | samba-6e55ca9e6f488d6996511e34e0fc7ffa1cb8fcac.tar.gz |
net: Use dom_sid_str_buf
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r-- | source3/utils/net_rpc_trust.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_trust.c b/source3/utils/net_rpc_trust.c index 5c13e06a28f..efeb7a609ec 100644 --- a/source3/utils/net_rpc_trust.c +++ b/source3/utils/net_rpc_trust.c @@ -155,6 +155,7 @@ static NTSTATUS get_domain_info(TALLOC_CTX *mem_ctx, { NTSTATUS status; struct lsa_QueryInfoPolicy2 qr; + struct dom_sid_buf buf; qr.in.handle = pol_hnd; qr.in.level = LSA_POLICY_INFO_DNS; @@ -186,7 +187,7 @@ static NTSTATUS get_domain_info(TALLOC_CTX *mem_ctx, DEBUG(0, ("Got the following domain info [%s][%s][%s].\n", dom_data->domain_name, dom_data->dns_domain_name, - sid_string_talloc(mem_ctx, dom_data->domsid))); + dom_sid_str_buf(dom_data->domsid, &buf))); return NT_STATUS_OK; } |