s3:trusts_util: pass new_trust_version to netlogon_creds_cli_ServerPasswordSet()...
authorStefan Metzmacher <metze@samba.org>
Fri, 30 Jan 2015 09:21:59 +0000 (09:21 +0000)
committerG√ľnther Deschner <gd@samba.org>
Mon, 30 Mar 2015 11:41:25 +0000 (13:41 +0200)
commit3e1e58711c7fb8047cb90d61ee0d0402f5aa0be8
treeef1c4e224ea33300c18b54b423df488b5e08d62c
parent99ebb92d4633f8577921497063b4feff114b090c
s3:trusts_util: pass new_trust_version to netlogon_creds_cli_ServerPasswordSet() in trust_pw_change()

We should maintain current and previous passwords on both sides of the trust,
which mean we need to pass our view of the new version to the remote DC.

This avoid problems with replication delays and make sure the kvno
for cross-realm tickets is in sync.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source3/libsmb/trusts_util.c