s3-netlogon: fix updating trust accout passwords with downlevel domains.
commit54ac75b82fe25b0c0ea149a1d9fe0ab5e05c0965
authorGünther Deschner <gd@samba.org>
Fri, 16 Oct 2009 16:01:19 +0000 (16 18:01 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 26 Nov 2009 10:39:30 +0000 (26 11:39 +0100)
tree79167f8a21ca3490e28ce27fef5720f000fad4f6
parent931f962a261924b926bf24754cc2251b5d660433
s3-netlogon: fix updating trust accout passwords with downlevel domains.

When choosing the netlogon password set function, make sure to look at the
*negotiated* flags in the cli->dc state, not the ones we start the negotiation
with.

Guenther
(cherry picked from commit 96b6d67c381b0c6078678ed74342b6fcd0f04a6b)
source3/rpc_client/cli_netlogon.c