s3:winbind: Convert ListTrustedDomains parent/child call to NDR
commite07f8901ec95aab8c36965000de185d99e642644
authorSamuel Cabrero <scabrero@samba.org>
Fri, 4 Jun 2021 13:36:16 +0000 (4 15:36 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 6 Mar 2022 23:05:40 +0000 (6 23:05 +0000)
treed43e93a1cd47b67f2350fe6bf016ce1fdf08d62b
parentd05b5366a633110c627cf1d1f9d026d1a56e0123
s3:winbind: Convert ListTrustedDomains parent/child call to NDR

By using NDR we avoid manual marshalling (netr_DomainTrust array
to text string) and unmarshalling (parse the received text string
back to a netr_DomainTrust array).

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
librpc/idl/netlogon.idl
librpc/idl/winbind.idl
source3/winbindd/winbindd_domain.c
source3/winbindd/winbindd_dual_srv.c
source3/winbindd/winbindd_proto.h
source3/winbindd/winbindd_util.c