From: Volker Lendecke Date: Mon, 10 Dec 2018 11:03:37 +0000 (+0100) Subject: net: Use dom_sid_str_buf X-Git-Tag: tdb-1.3.17~374 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e55ca9e6f488d6996511e34e0fc7ffa1cb8fcac;p=thirdparty%2Fsamba.git net: Use dom_sid_str_buf Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- 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; }