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)
commit1734d43eb55561d46a6ffb5d806afedfd3746f9f
treef33487f1e920f656a0e1da5203b5c1df19b96366
parent7c58673a103195435ca75ebb2684880d1f7242d3
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.
source/rpc_server/srv_samr_nt.c
source/smbd/chgpasswd.c
source/smbd/lanman.c