Fix Bug #5710 and make machine account password changing work again.
authorGünther Deschner <gd@samba.org>
Thu, 21 Aug 2008 13:05:35 +0000 (15:05 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 22 Aug 2008 07:24:00 +0000 (09:24 +0200)
commitdf4dec002faaeb432de48cb2109a0df71d751875
treef945f2e9b24f961b9793d9e01fc4d46ae904817b
parent7a1cbe3ad9d50b579a2a2e553d141745b60d707a
Fix Bug #5710 and make machine account password changing work again.

When we negotiated NETLOGON_NEG_PASSWORD_SET2 we need to use
NetrServerPasswordSet2 to change the machine password.

Tested with NT4, W2k, W2k3 and W2k8.

Guenther
(cherry picked from commit 5820360451e4db0fad0472f814cae667b2ea51fd)
(cherry picked from commit 6fc73f4e5e11c5784687015f10d9247412f0c8d4)
source/libsmb/trusts_util.c