]> git.proxmox.com Git - mirror_qemu.git/commit - configure
qemu-ga: implement win32 guest-set-user-password
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Tue, 30 Jun 2015 14:37:13 +0000 (16:37 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 1 Sep 2015 18:16:26 +0000 (13:16 -0500)
commit259434b8067e1c61017e9a5b8667b6526b474ff2
treeabf5813a4104cfdece01b2da63fc2cb50207c13a
parent665b5d0dff3b1cc9e9dd6ca84e8fa4070e46ee9f
qemu-ga: implement win32 guest-set-user-password

Use NetUserSetInfo() to set the user password.

This function is notoriously known to be problematic for users with EFS
encrypted files. But the alternative, NetUserChangePassword() requires
the old password. Nevertheless, The EFS file should be recovered by
changing back to the old password.

Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
configure
qga/commands-win32.c