s4-libnet: Use SetUserInfo2 to set the account flags
authorAndreas Schneider <asn@samba.org>
Tue, 4 Oct 2016 16:09:54 +0000 (18:09 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 6 Oct 2016 00:30:16 +0000 (02:30 +0200)
commit0e173d8327890b93f44b358d8387b973174efe97
tree27bc6e6e58fd25d763ccbdedeef7008df455f2ce
parentd02909f3e07bd78103367de8d74429af5e802020
s4-libnet: Use SetUserInfo2 to set the account flags

[MS-WKST] states that SetUserInfo2 should be used to set the account
flags. We already call this a few lines down to set the password.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libnet/libnet_join.c