summaryrefslogtreecommitdiff
path: root/source4/auth/tests
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-07-16 18:28:58 -0700
committerStefan Metzmacher <metze@samba.org>2009-07-31 14:40:29 +0200
commit71b013f4deb79f66a28545dc3be910815b123f7c (patch)
treebac7066c8e07d716cc28f59f7e736ca8a95dd6ed /source4/auth/tests
parenta207cca1d33b510e699a84d4d1a19b7c759bfbfd (diff)
downloadsamba-71b013f4deb79f66a28545dc3be910815b123f7c.tar.gz
samba-71b013f4deb79f66a28545dc3be910815b123f7c.tar.bz2
samba-71b013f4deb79f66a28545dc3be910815b123f7c.zip
s4: Patch to implement nested group and privileges
This patch adds a function "authsam_expand_nested_groups" (calculation of rights through expanding groups of a certain SID) which basically collects all memberships through "memberOf" attributes. It works with either user or group SIDs. For avoiding loops it tests on each call if the SID hasn't been added yet (through the helper function "sids_contains_sid"). The function itself is called by "authsam_make_server_info".
Diffstat (limited to 'source4/auth/tests')
0 files changed, 0 insertions, 0 deletions