Wrap calls to change_oem_password() in become_root()/unbecome_root() pairs
authorJeremy Allison <jra@samba.org>
Thu, 31 Jul 2003 01:33:44 +0000 (01:33 +0000)
committerJeremy Allison <jra@samba.org>
Thu, 31 Jul 2003 01:33:44 +0000 (01:33 +0000)
commitba12e6bb5fcfbf4bdba8f2c38978d38e1f857286
tree3ad30b2e51e5a927bc72be687b7b61fda02425e3
parentaa7f82c5cc751915192a8641dc87c837a61e29fb
Wrap calls to change_oem_password() in become_root()/unbecome_root() pairs
to allow UNIX password change scripts to work correctly. This is safe as
the old password has been checked as correct before invoking this.
Jeremy.
(This used to be commit 1734d43eb55561d46a6ffb5d806afedfd3746f9f)
source3/rpc_server/srv_samr_nt.c
source3/smbd/chgpasswd.c
source3/smbd/lanman.c