r22504: Fix bug Jerry found during his tutorial. Sorry :-(
commit70806db06adb1dafd4de8728bb7b367b84f3740a
authorJim McDonough <jmcd@samba.org>
Tue, 24 Apr 2007 15:56:02 +0000 (24 15:56 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:19:40 +0000 (10 12:19 -0500)
treea4c2b417ad8d8a306b31ab1034c0404afaec8c73
parent2ad66881dfd0fb8a03efc409af7f5bb6d3d204b2
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.
(This used to be commit b1ab360519a1f67f50446ca8599e5b7aa58e7db3)
source3/rpc_server/srv_samr_nt.c