1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/sam
Andrew Bartlett df316e3cd9 Remove sam/api.c.
In order to reduce complexity, this patch removes the upper layer of the SAM
API.  Also, we remove the function pointers on the sam context - there really
is no point making these replaceable - that's for the modules.

Move a number of functions in include/interface.c around to allow for use of
'static' and to keep the external API in one chunk, at the bottem.  All these
functions were renamed to remove the context_sam -> sam

Consequential changes in the samtest module, and back out metze's change for
ACB filtering, becouse I think it belongs in the SAM backeds.  (But I will take
debate on this one).

Changes to the lib/util_sid.c code to create a 'system' token, and make it a
SAM_ASSERT() enforced requirement to have a token on those calls that specify
it.  samtest now uses this.

We should have a samtest call to set your own token.

We also need to extend our se_access code to cover the things that Win2k is
returning in it's access tokens.  Currently our system token doesn't pass, due
to unexpected flags.  (When running sam_ads against Win2k)

Andrew Bartlett
(This used to be commit b9036900d0)
2002-09-29 06:07:58 +00:00
..
account.c Add new files to Makefile + typo fix 2002-08-29 07:22:52 +00:00
get_set_account.c This commit includes part of the patch from metze posted to the list, and a few 2002-09-06 12:57:12 +00:00
get_set_domain.c This commit includes part of the patch from metze posted to the list, and a few 2002-09-06 12:57:12 +00:00
get_set_group.c This commit includes part of the patch from metze posted to the list, and a few 2002-09-06 12:57:12 +00:00
group.c Updates to sam_skel from metze, add sam/group.c and add a DEBUG() to the 2002-09-06 13:00:37 +00:00
interface.c Remove sam/api.c. 2002-09-29 06:07:58 +00:00
sam_ads.c Updates for sam_ads by metze - add the start of domain policy searching, and a 2002-09-29 01:01:44 +00:00
sam_plugin.c - Don't put pointer to sam_domain_handle in sam_methods but single domainsid and domainname 2002-09-24 20:18:39 +00:00
sam_skel.c Back out one of the API changes, now I recall how it was meant to work. 2002-09-28 14:26:19 +00:00
SAM-interface_handles.txt Add the current working document on the interface to the tree that we have 2002-07-31 12:53:56 +00:00