Fix Bug #5710 and make machine account password changing work again.
commitd0a926fe3779c840de1b47dfd6e2b4d394eb0c45
authorGünther Deschner <gd@samba.org>
Thu, 21 Aug 2008 13:05:35 +0000 (21 15:05 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 28 Aug 2008 14:06:46 +0000 (28 16:06 +0200)
treeae9b7c5f46ff391afa0a64d09910c8ff75bd5448
parent202192809a23281659a1ed4e808daa7214fa6e03
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 8ae7040a5e64f1a1d2088aeca1dab90470455d8a)
source/libsmb/trusts_util.c