Andrew Bartlett
ad0a07c531
s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
...
Using the standard macro makes it easier to move code into common, as
TALLOC_ZERO_P isn't standard talloc.
2011-06-09 12:40:08 +02:00
Andrew Bartlett
73b377432c
s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()
...
Using the standard macro makes it easier to move code into common, as
TALLOC_REALLOC_ARRAY isn't standard talloc.
Andrew Bartlett
2011-06-09 12:40:08 +02:00
Günther Deschner
0a250f4946
registry: create and use shared libcli/registry/util_reg.h header.
...
Guenther
2011-03-30 01:13:07 +02:00
Andrew Bartlett
f768b32e37
libcli/security Provide a common, top level libcli/security/security.h
...
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
2010-10-12 05:54:10 +00:00
Michael Adam
7a25d13742
s3:registry: remove unneeded TALLOC_CTX argument from reg_deletekey_recursive
2010-09-22 06:30:01 +02:00
Michael Adam
0bd2756b97
s3:registry: move prototypes from reg_init_basic.c to their own header.
2010-09-21 08:52:06 +02:00
Michael Adam
b11cc30508
s3:registry: move the reg_api prototypes to their own header.
2010-09-21 08:52:06 +02:00
Michael Adam
0f7e503d21
s3:registry: move higher level function reg_open_path to new module reg_api_util
...
The reg_api.c code should just export functions that direclty relate to winreg
api calls.
2010-09-20 19:58:01 +02:00
Andrew Bartlett
ed6b4ddd71
s3-privs Directly manipulate the privileges bitmap.
...
There is no longer any reason to go via the se_ functions to
manipulate this bitmap.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:10 +10:00
Andrew Bartlett
4bfc8d3b1a
s3-auth Change struct nt_user_token -> struct security_token
...
This common structure is defined in security.idl
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:05 +10:00
Andrew Bartlett
eee63b7e75
s3-auth Rename NT_USER_TOKEN privileges -> privilege_mask
...
This is closer to the struct security_token from security.idl
Andrew Bartlett
2010-08-31 11:25:41 +10:00
Andrew Bartlett
8c15cf54ae
s3-auth Rename NT_USER_TOKEN user_sids -> sids
...
This is closer to the struct security_token from security.idl
2010-08-31 10:20:14 +10:00
Günther Deschner
b381fba089
s3-registry: avoid using registry_value union.
...
Just pull and push data as is.
Guenther
2010-07-02 10:50:21 +02:00
Michael Adam
d335f292ce
s3:registry: extract the reg_backend_db prototypes into their own header.
...
And use them only where needed.
2010-05-25 10:35:25 +02:00
Andrew Bartlett
cba7f8b827
s3:dom_sid Global replace of DOM_SID with struct dom_sid
...
This matches the structure that new code is being written to,
and removes one more of the old-style named structures, and
the need to know that is is just an alias for struct dom_sid.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-21 10:39:59 +02:00
Günther Deschner
d4474ba470
s3-secdesc: use SD_REVISION from security.idl.
...
Guenther
2010-05-18 12:52:18 +02:00
Günther Deschner
8951c8301a
s3-secdesc: remove "typedef struct security_acl SEC_ACL".
...
Guenther
2010-05-18 12:30:12 +02:00
Günther Deschner
a8b01d1f3b
s3-secdesc: remove "typedef struct security_ace SEC_ACE".
...
Guenther
2010-05-18 12:30:11 +02:00
Günther Deschner
fe31b67d5e
s3-registry: only include registry headers when really needed.
...
Guenther
2010-05-18 01:15:38 +02:00
Günther Deschner
3d5972c43f
s3-libgpo: move group policy protos to where they belong.
...
Guenther
2010-05-17 21:07:17 +02:00
Günther Deschner
6864828d9d
s3: use shared registry functions.
...
Guenther
2010-04-27 16:42:15 +02:00
Jeremy Allison
2033b44c3f
More warning fixes for Solaris.
...
Jeremy.
2009-02-23 15:44:34 -08:00
Jelmer Vernooij
ddcab787c4
Rename dos_errstr() to win_errstr() for consistency with Samba 4.
2008-11-01 17:19:26 +01:00
Jeremy Allison
e5692d4cbe
Remove SEC_ACCESS. It's a uint32_t.
...
Jeremy.
2008-10-09 09:49:03 -07:00
Günther Deschner
7ac8fe704a
libgpo: try nicer output when dumping gpo registry values.
...
Guenther
(This used to be commit 2b78842947
)
2008-04-17 14:13:13 +02:00
Günther Deschner
e27160183a
libgpo: fix build warning.
...
Thanks metze&vl.
Guenther
(This used to be commit cb3f1df7d8
)
2008-04-14 18:21:21 +02:00
Günther Deschner
3cd8c1befa
gpo: make integer debug print more readable.
...
Guenther
(This used to be commit b2cf8010ae
)
2008-04-13 17:39:28 +02:00
Michael Adam
3f01e05a77
registry: change registry_init_basic() to return WERROR instead of bool
...
Michael
(This used to be commit 6a31e659cb
)
2008-04-13 15:33:48 +02:00
Björn Jacke
67be6b3af7
fix some extrasemi compile warnings
...
(This used to be commit cbdb79b7a1
)
2008-04-10 08:55:57 +02:00
Michael Adam
7290b6a8fc
libgpo: open the registry in gp_init_reg_ctx().
...
I forgot the regdb_open() call: registry_init_basic() closes
the registry in the end... sorry.
Michael
(This used to be commit 4185ed03a3
)
2008-03-22 02:45:04 +01:00
Michael Adam
5ea7faef3d
libgpo: replace hand-crafted registry initialization by registry_init_basic.
...
IMO there is no need to imitate a custom registry backend.
Only default regdb hooks are used here, so a plain initialization
of regdb should suffice.
This way, only reg_api is used in libgpo, and no registry
backend code is visible.
Michael
(This used to be commit 10ae8accb4
)
2008-03-22 02:29:40 +01:00
Michael Adam
39067a5dbd
libgpo: use reg_setkeysecurity() instead of regdb_set_secdesc().
...
That is, use the reg_api function instead of the backend function.
For this, code had to be changed, to take a "struct registry_key"
instead of a char *.
Michael
(This used to be commit 4717e6d0cf
)
2008-03-22 02:29:34 +01:00
Günther Deschner
c613bd5d4e
Add infrastructure for reading/storing Group Policy state and control data in the registry.
...
Guenther
(This used to be commit f673bbd300
)
2008-02-29 15:48:14 +01:00