s4-samr: Adapted SAMR calls to use system session, with access check for administrator aclsearch
authorNadezhda Ivanova <nivanova@samba.org>
Fri, 13 Aug 2010 09:26:55 +0000 (12:26 +0300)
committerNadezhda Ivanova <nivanova@samba.org>
Mon, 16 Aug 2010 18:00:45 +0000 (21:00 +0300)
commit7ea360abd0ffd19dddb91aa23aa530ccd34f50f0
tree9f1fc1a9c62fd71ab5403d2fb4a6e630b59f8479
parentb1b885429e2e7631749a3218644a6fa0ea606a42
s4-samr: Adapted SAMR calls to use system session, with access check for administrator

The current acl module applies the access checks for the LDAP protocol. These should not be
applied to other protocols such as SAMR and LSA, and will break their operation. Therefore
SAMR will connect to LDB as system, and perform a check to disallow modify access to non-administrators.
source4/rpc_server/samr/dcesrv_samr.c