r22504: Fix bug Jerry found during his tutorial. Sorry :-(
authorJim McDonough <jmcd@samba.org>
Tue, 24 Apr 2007 15:56:02 +0000 (15:56 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:19:40 +0000 (12:19 -0500)
commitb1ab360519a1f67f50446ca8599e5b7aa58e7db3
treee8bf502c7224cc72dcd35f66f927f0f8b830ff4c
parentdcc6517d9d349c65b045160e8a1358af088ae97a
r22504: Fix bug Jerry found during his tutorial.  Sorry :-(

Allows authorized users (e.g. BUILTIN\Administrators members) to
set attributes on an account, particularly "user cannot change
password".

add become_root() around updating attributes, after checking that
access has been granted.
source/rpc_server/srv_samr_nt.c