summaryrefslogtreecommitdiff
path: root/source3/registry/reg_backend_smbconf.c
AgeCommit message (Collapse)AuthorFilesLines
2012-05-05s3:registry: implement values_need_update and subkeys_need_update in the ↵Michael Adam1-0/+11
smbconf backend It simply calls to the regdb functions. This fixes a caching issue uncovered by recent changes. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat May 5 04:10:43 CEST 2012 on sn-devel-104
2011-08-08s3:registry avoid updating keys which are going to be deleted inGregor Beck1-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>
2011-03-30s3: only include lib/privileges.h where needed.Günther Deschner1-0/+1
This finally removes the global lsa.h inclusion. Guenther
2010-10-22Revert "Wrap security_token_has_privilege() with a check for ↵Jeremy Allison1-1/+1
lp_enable_privileges(). Needed" Not needed - privileges code prevents "enable privileges = no" from adding privileges anyway. This reverts commit a8b95686a7bde3f96f141b6938e24e101567ef54. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 22 23:41:36 UTC 2010 on sn-devel-104
2010-10-22Wrap security_token_has_privilege() with a check for lp_enable_privileges(). ↵Jeremy Allison1-1/+1
Needed to maintain compatibility with smb.conf manpage. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 22 18:15:48 UTC 2010 on sn-devel-104
2010-09-11s3-privs Convert from user_has_privileges() -> security_token_has_privilege()Andrew Bartlett1-1/+1
This new call is available in the merged privileges code, and takes an enum as the parameter, rather than a bitmask. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11s3-auth Change struct nt_user_token -> struct security_tokenAndrew Bartlett1-1/+1
This common structure is defined in security.idl Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-05-18s3-registry: only include registry headers when really needed.Günther Deschner1-0/+1
Guenther
2009-04-27s3:registry: replace typedef REGISTRY_OPS by struct registry_opsMichael Adam1-2/+2
Michael
2009-04-27s3:registry: replace typedef REGVAL_CTR by struct regval_ctr.Michael Adam1-2/+2
This paves the way for hiding the typedef and the implementation from the surface. Michael
2009-02-26s3:registry: implement delete_subkey in the smbconf backendMichael Adam1-0/+6
delegating the call to the db backend Michael
2009-02-26s3:registry: implement create_subkey for the smbconf backendMichael Adam1-0/+6
by delegating to the db backend Michael
2009-02-26s3:registry: replace typedef "REGSUBKEY_CTR" by "struct regsubkey_ctr"Michael Adam1-2/+2
This paves the way for hiding the typedef and the implementation from the surface. Michael
2008-04-03registry: remove parameter checks from smbconf backend: they are in libsmbconf.Michael Adam1-191/+1
Michael (This used to be commit 118cf3813336122a060916848e37d2d5d25bff92)
2008-01-21Rename reg_smbconf.c to reg_backend_smbconf.cMichael Adam1-0/+275
Michael (This used to be commit b85e5ee45075211dd3ab85ac79c2d856187d5e3e)