diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-08-30 13:30:38 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-09-11 18:46:10 +1000 |
commit | 62e5900cd13f6daf77ab65f70245fe21ac5fd053 (patch) | |
tree | 9c598c812b2fbdb2eda0c8e02fee2bf2bfd188e1 /lib/testtools | |
parent | a53a42ffb88fd6b758b8cacf492bceeb93da09c1 (diff) | |
download | samba-62e5900cd13f6daf77ab65f70245fe21ac5fd053.tar.gz samba-62e5900cd13f6daf77ab65f70245fe21ac5fd053.tar.bz2 samba-62e5900cd13f6daf77ab65f70245fe21ac5fd053.zip |
s3-privs Rework access_check_object() to take two privileges
This allows the privileges bitmap to be used only when setting
privileges, and uses an the LUID constant for all 'does this user
have this privilege' operations.
The advantage is that we now only need one API to determine if a
token has a privilege, and much less code needs to know what type
is used for the underlying bitmap.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'lib/testtools')
0 files changed, 0 insertions, 0 deletions