Fix the core of the SAMR access functions. This passes make test, but
authorJeremy Allison <jra@samba.org>
Sat, 16 May 2009 00:43:41 +0000 (17:43 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 26 May 2009 07:39:35 +0000 (09:39 +0200)
commit53412887e5213d762db0d900feadeca48d27456e
tree7678801b76875fbffd9d076ce9abaa5ca1c49a7f
parent91d0029b089ff7ed130efff5f9ad3bad288671a0
Fix the core of the SAMR access functions. This passes make test, but
usrmgr fails against it. The core of this patch is to move all the
access mask setup into the _samr_OpenXXX functions, and then have
each specific function check the attached access_mask against the
required bits. We can then go through the MS-SAMR doc and match
things up. Signed off by Guenther, and writespace cleanup removal
by Volker.
Jeremy.
(cherry picked from commit bdc797135151d4f85e6368d016bfb26389c6f055)
source3/rpc_server/srv_samr_nt.c