libcli/auth: Ensure that the dns_names in/out parameter is preserved
authorAndrew Bartlett <abartlet@samba.org>
Thu, 24 Jul 2014 03:54:58 +0000 (15:54 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 1 Aug 2014 07:48:35 +0000 (09:48 +0200)
commit36ecbf34ba7fd5d46118bd3403128155c47ea1fd
treeb4b8f2cfe20ca0ae9c1aa4df85db546be5b9f665
parent95d1828a248148d6f45aafc134ccb4aebfef7226
libcli/auth: Ensure that the dns_names in/out parameter is preserved

This is in dcerpc_netr_DsrUpdateReadOnlyServerDnsRecords, which has
status variables filled in by the server and placed in this in/out
array.

This showed up as a segfault in winbindd during RODC DNS update.

Andrew Bartlett

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
libcli/auth/netlogon_creds_cli.c