summaryrefslogtreecommitdiffstats
path: root/source3/registry/reg_dispatcher.c
Commit message (Collapse)AuthorAgeFilesLines
* s3: Use root_mode() to get uid_wrapper working correctly.Andreas Schneider2014-04-171-1/+1
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:registry: let reg_values_need_update() return true if the backend does ↵Michael Adam2012-05-071-1/+1
| | | | | | | | | not implement the method Otherwise the value cache might become outdated. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon May 7 16:11:05 CEST 2012 on sn-devel-104
* s3:registry: let reg_subkeys_need_update() return true if the backend does ↵Michael Adam2012-05-071-1/+1
| | | | | | not implement the method Otherwise the subkey cache might become outdated.
* s3: Include uid_wrapper where it is missing.Andreas Schneider2011-10-271-0/+1
|
* s3:registry avoid updating keys which are going to be deleted inGregor Beck2011-08-081-2/+2
| | | | | | | | | reg_deletekey_recursive this changes the complexity from O(n^2) to O(n) and reduces the time of a 'net conf drop' with 10000 shares from 6min to 1.5s Signed-off-by: Michael Adam <obnox@samba.org>
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-121-0/+1
| | | | | | | | | | | | | | This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
* s3-auth Change struct nt_user_token -> struct security_tokenAndrew Bartlett2010-09-111-1/+1
| | | | | | | | This common structure is defined in security.idl Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3:registry: extraxt the reg_dispatcher prototypes into their own header.Michael Adam2010-05-251-0/+1
| | | | And use them only where needed.
* s3-secdesc: use SD_REVISION from security.idl.Günther Deschner2010-05-181-1/+1
| | | | Guenther
* s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner2010-05-181-3/+3
| | | | Guenther
* s3-secdesc: remove "typedef struct security_acl SEC_ACL".Günther Deschner2010-05-181-1/+1
| | | | Guenther
* s3-secdesc: remove "typedef struct security_ace SEC_ACE".Günther Deschner2010-05-181-1/+1
| | | | Guenther
* s3-registry: only include registry headers when really needed.Günther Deschner2010-05-181-0/+1
| | | | Guenther
* s3-registry: make sure root has full registry access (in particular for make ↵Günther Deschner2010-03-161-0/+6
| | | | | | test). Guenther
* s3:registry: replace typedef REGISTRY_KEY by struct registry_key_handleMichael Adam2009-04-271-12/+17
| | | | Michael
* s3:registry: replace typedef REGVAL_CTR by struct regval_ctr.Michael Adam2009-04-271-3/+3
| | | | | | | This paves the way for hiding the typedef and the implementation from the surface. Michael
* Use talloc_tos() in regkey_access_check()Volker Lendecke2009-02-271-13/+2
|
* s3:registry: add a delete_subkey method to the backend ops.Michael Adam2009-02-261-0/+9
| | | | | | This is to provide a more atomic means of deleting a subkey of a key. Michael
* s3:registry: add a create_subkey method to the backend ops.Michael Adam2009-02-261-0/+9
| | | | | | This is to provide a more atomic means of adding a subkey of a key. Michael
* s3:registry: replace typedef "REGSUBKEY_CTR" by "struct regsubkey_ctr"Michael Adam2009-02-261-3/+3
| | | | | | | This paves the way for hiding the typedef and the implementation from the surface. Michael
* Quieten down a boatload of shadowed variable warnings on Solaris.Jeremy Allison2009-02-231-4/+4
| | | | | Makes real problems easier to spot. Jeremy.
* Unify se_access_check with the S4 code. Will makeJeremy Allison2008-10-311-1/+2
| | | | | | calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier for files. Jeremy.
* Remove SEC_ACCESS. It's a uint32_t.Jeremy Allison2008-10-091-7/+3
| | | | Jeremy.
* registry: remove the REGISTRY_HOOKS layer from the reghook cache.Michael Adam2008-04-131-21/+20
| | | | | | | | | | | There is no need to save the keyname again, we only need to get the REGISTRY_OPS out of the pathtree. Furthermore, this makes life easier, since we can now pass in keynames as temporarily allocated strings. Michael (This used to be commit 2f9ee2f782c77ed99669af5ac2ba40cb0978f0da)
* Add NT Authority\System as group sid to default registry key security ↵Michael Adam2008-02-181-1/+2
| | | | | | | descriptor. Michael (This used to be commit 9f0448ca323a6645ad662c97d92a7e30320e0c11)
* Change construct_registry_sd() to return WERROR instead of the SEC_DESC *.Michael Adam2008-02-181-11/+12
| | | | | Michael (This used to be commit 91dbe79df2636959381825af6ab8a66abd7f97a1)
* Reformat construct_registry_sd() slightly (stick to coding rules).Michael Adam2008-02-181-8/+17
| | | | | Michael (This used to be commit d87fb13959f84dfbbd3e1cc875f78d6e8ad44130)
* Use BUILTIN\administrators as owner of the default registry key security ↵Michael Adam2008-02-181-1/+1
| | | | | | | descriptor. Michael (This used to be commit 52e98157650d8dbc9b3ebb55f995ca543839543b)
* Move reg_frontend_hilvl.c to reg_dispatcher.cMichael Adam2008-01-211-0/+235
This is actually the dispatcher to the registered registry backends. Michael (This used to be commit 39d65d11f8eff0aff998d5bfed8480b0f00655bd)