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)
committerJeremy Allison <jra@samba.org>
Mon, 18 May 2009 21:27:55 +0000 (14:27 -0700)
commitbdc797135151d4f85e6368d016bfb26389c6f055
treed16de6e4c20f021bfb51a1383fd396203275c263
parent9db1fc45786872d938939bd33b3b867ee599c9a2
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.
source3/rpc_server/srv_samr_nt.c