Fix Bug #5710 and make machine account password changing work again.
commit6fc73f4e5e11c5784687015f10d9247412f0c8d4
authorGünther Deschner <gd@samba.org>
Thu, 21 Aug 2008 13:05:35 +0000 (21 15:05 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 21 Aug 2008 21:46:01 +0000 (21 23:46 +0200)
treec116e433b76d57109ea0e6bab84d3de99ce609f0
parentdf94605667924dec5361bfe063f413add714ec89
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)
source/libsmb/trusts_util.c