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
Günther Deschner
4e9508172d
s3-waf: slowly getting modules to match how they look like in old build.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Oct 8 09:31:01 UTC 2010 on sn-devel-104
2010-10-08 09:31:01 +00:00
Günther Deschner
2a1891a9d6
s3-waf: fix dependencies in most of our module subsystems.
...
Guenther
2010-09-28 09:41:54 +02:00
Günther Deschner
1e97e73c77
s3-waf: link PReg parser only in registry client side extension.
...
Guenther
2010-09-27 07:38:13 +02:00
Günther Deschner
9f0b88de1a
s3-waf: move gpext subsystem to libgpo/gpext/wscript_build.
...
Guenther
2010-09-27 00:39:38 +02:00
Michael Adam
7a25d13742
s3:registry: remove unneeded TALLOC_CTX argument from reg_deletekey_recursive
2010-09-22 06:30:01 +02:00
Günther Deschner
617268101a
s3-libgpo: fix the build of scripts client side extension.
...
Guenther
2010-09-21 16:13:58 -07: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
Volker Lendecke
867626abca
s3: Convert cli_list() to return NTSTATUS
...
If needed, the callback functions can count themselves
2010-08-04 20:32:50 +02:00
Volker Lendecke
dace013898
s3: Remove a typedef (struct file_info)
2010-07-27 21:05:35 +02:00
Günther Deschner
8def236f18
s3-libgpo: remove handmarshalled PReg parser from registry CSE.
...
Guenther
2010-07-07 15:27:11 +02: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
Volker Lendecke
9271dc5f7e
Fix Coverity ID 913 (NEGATIVE_RETURNS) -- gd, please check!
2009-05-03 23:06:01 +02:00
Jeremy Allison
8cf78ff553
Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.
...
Convert all uses of cli_open(), cli_nt_createXXX to NTSTATUS versions.
This is smaller than it looks, it just fixes a lot of old code.
Next up, ensure all cli_XX functions return NTSTATUS.
Jeremy.
2009-04-30 15:26:43 -07:00
Günther Deschner
6fc40ce0d3
libgpo: fix the build of gpext plugins.
...
Guenther
2009-04-20 23:38:11 +02:00
Wilco Baan Hofman
171a361375
Fix ini parsing in the s3 gpext modules. Fix ini parser API. Make the build work
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:17 +02:00
Wilco Baan Hofman
933482e648
Move gpo_ini stuff to the main libgpo. Make gpo_ini use a common parser.
...
It now makes use of lib/util/param.c to parse ini files.
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:17 +02:00
Wilco Baan Hofman
c441b7dda8
Add ads convenience functions to samba 4. Move gpo_ldap.c to root libgpo.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:16 +02:00
Jelmer Vernooij
7761850b1f
Move gpo_fetch to top-level.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:16 +02:00
Jelmer Vernooij
d2bd5895cf
Move gpo_sec to top-level.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:16 +02:00
Jelmer Vernooij
cecd142f2b
Move some libgpo files to root.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:15:43 +02:00
Karolin Seeger
a103222e0b
s3/gpo_ldap: Fix typo.
...
Karolin
2009-04-07 20:05:21 +02:00
Andrew Bartlett
2050187673
s3:libads Make ads_get_dn() take a talloc context
...
Also remove ads_memfree(), which was only ever a wrapper around
SAFE_FREE, used only to free the DN from ads_get_ds().
This actually makes libgpo more consistant, as it mixed a talloc and a
malloc based string on the same element.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-06 15:54:41 +02:00
Tim Prouty
9b0df441e1
s3: Fix incompatible type warnings
2009-03-01 16:40:17 -08:00
Jelmer Vernooij
e6ec32f3ac
Eliminate two duplicate SEC_ACE_TYPE constants already provided by
...
security.idl.
2009-03-01 04:59:07 +01:00
Jeremy Allison
2033b44c3f
More warning fixes for Solaris.
...
Jeremy.
2009-02-23 15:44:34 -08:00
Michael Adam
584da3fea3
s3: put the gpo cache dir under cache_dir instead of lock_dir
...
Michael
2009-01-16 01:02:25 +01:00
Jeremy Allison
8b4b5c3a92
Add wrapper str_list_make_v3() to replace the old S3 behavior of
...
str_list_make(). From Dan Sledz <dan.sledz@isilon.com>:
In samba 3.2 passing NULL or an empty string returned NULL.
In master, it now returns a list of length 1 with the first string set
to NULL (an empty list).
Jeremy.
2008-11-06 18:53:00 -08:00
Jelmer Vernooij
ddcab787c4
Rename dos_errstr() to win_errstr() for consistency with Samba 4.
2008-11-01 17:19:26 +01:00
Günther Deschner
3cb281e48f
s3-libgpo: fix build for security cse.
...
Guenther
2008-10-15 11:28:43 +02:00
Günther Deschner
f97d92ccbc
s3: fix the build of registry.so gpext.
...
Guenther
2008-10-13 00:39:37 +02:00
Jelmer Vernooij
1b99d8fbb5
Use common util_file code.
2008-10-12 17:34:43 +02:00
Jeremy Allison
e5692d4cbe
Remove SEC_ACCESS. It's a uint32_t.
...
Jeremy.
2008-10-09 09:49:03 -07:00
Günther Deschner
9c1b5f27e4
libgpo: fix copyright.
...
Guenther
2008-09-27 00:38:26 +02:00
Günther Deschner
0cb55e74ef
libgpo: add security CSE skeleton.
...
Guenther
2008-09-27 00:36:58 +02:00
Günther Deschner
cd49586b29
libgpo: fix invalid cast in scripts CSE.
...
Guenther
2008-09-26 23:39:32 +02:00