Günther Deschner
2b78842947
libgpo: try nicer output when dumping gpo registry values.
...
Guenther
2008-04-17 14:13:13 +02:00
Günther Deschner
7ed1397e25
libgpo: Fallback to NTLMSSP fails while pulling policy from SYSVOL.
...
Guenther
2008-04-17 14:13:13 +02:00
Günther Deschner
cb3f1df7d8
libgpo: fix build warning.
...
Thanks metze&vl.
Guenther
2008-04-14 18:21:21 +02:00
Günther Deschner
cd6388f040
gpo: add scripts plugin.
...
Guenther
2008-04-13 17:52:11 +02:00
Günther Deschner
b2cf8010ae
gpo: make integer debug print more readable.
...
Guenther
2008-04-13 17:39:28 +02:00
Michael Adam
6a31e659cb
registry: change registry_init_basic() to return WERROR instead of bool
...
Michael
2008-04-13 15:33:48 +02:00
Björn Jacke
cbdb79b7a1
fix some extrasemi compile warnings
2008-04-10 08:55:57 +02:00
Volker Lendecke
8f875674e7
Fix Coverity ID 453
2008-03-23 18:28:23 +01:00
Michael Adam
4185ed03a3
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
2008-03-22 02:45:04 +01:00
Michael Adam
10ae8accb4
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
2008-03-22 02:29:40 +01:00
Michael Adam
4717e6d0cf
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
2008-03-22 02:29:34 +01:00
Günther Deschner
e9c56250eb
Bind Group Policy processing closer to the samba registry.
...
Guenther
2008-03-18 21:31:24 +01:00
Günther Deschner
f18ba6c877
Fix gp_find_file() which broke during the pstring removal.
...
Guenther
2008-03-03 09:44:36 +01:00
Günther Deschner
5f592d030b
Fix the build w/o ldap.
...
Guenther
2008-02-29 20:52:35 +01:00
Günther Deschner
2f1bc7ddad
Add gp_get_machine_token().
...
Guenther
2008-02-29 18:23:53 +01:00
Günther Deschner
a3a1edab0d
Revert "what a wurst."
...
That commit message was just too silly, this happens to me during interactive
rebase all the time...
This reverts commit ab687104c1
.
2008-02-29 18:19:06 +01:00
Günther Deschner
ab687104c1
what a wurst.
2008-02-29 17:45:25 +01:00
Günther Deschner
4e93301ca4
Add "registry" Group Policy extension.
...
Guenther
2008-02-29 17:25:28 +01:00
Günther Deschner
6d543b1a1a
Add Group Policy extension infrastructure.
...
Guenther
2008-02-29 17:07:57 +01:00
Günther Deschner
f673bbd300
Add infrastructure for reading/storing Group Policy state and control data in the registry.
...
Guenther
2008-02-29 15:48:14 +01:00
Günther Deschner
d7346e9360
Pure cosmetics, trying to get my group policy diff smaller.
...
Gunther
2008-02-29 14:53:13 +01:00
Volker Lendecke
feddc1447d
str_list_free is not needed anymore
2008-02-04 21:05:41 +01:00
Volker Lendecke
e2c9fc4cf5
Always pass a TALLOC_CTX to str_list_make and str_list_copy
2008-02-04 20:57:49 +01:00
Michael Adam
6b2b9a60ef
Convert add_sid_to_array() add_sid_to_array_unique() to return NTSTATUS.
...
Michael
2008-01-09 01:47:10 +01:00
Günther Deschner
2ea57a76a6
Correctly talloc ctx->remote_path in libgpo (thanks Michael for the pointer).
...
Guenther
2008-01-08 12:26:25 +01:00
Volker Lendecke
bb35e794ec
Replace sid_string_static by sid_string_dbg in DEBUGs
2007-12-15 22:09:36 +01:00
Jeremy Allison
ec003f3936
Remove next_token - all uses must now be next_token_talloc.
...
No more temptations to use static length strings.
Jeremy.
2007-12-07 17:32:32 -08:00
Volker Lendecke
31d0a846db
Remove some globals
2007-12-05 14:39:07 +01:00
Jeremy Allison
a1725f4ff7
Add MAX_DNS_NAME_LENGTH, remove more pstrings.
...
Jeremy.
2007-11-15 18:27:26 -08:00
Jeremy Allison
f35a266b3c
RIP BOOL. Convert BOOL -> bool. I found a few interesting
...
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
2007-10-18 17:40:25 -07:00
Günther Deschner
cc38e4fc1f
r25325: Rename some defines.
...
Guenther
2007-10-10 12:30:59 -05:00
Jeremy Allison
fe30a523df
r25165: Use talloc_asprintf_append_buffer with an unmodified
...
string.
Jeremy.
2007-10-10 12:30:47 -05:00
Günther Deschner
85c816c27f
r24783: Remove unused off_t type.
...
Guenther
2007-10-10 12:30:21 -05:00
Günther Deschner
1bae53e39f
r24573: Fix build without LDAP. Thanks Volker for pointing this out.
...
Guenther
2007-10-10 12:30:07 -05:00
Volker Lendecke
0d29426741
r24550: Attempt to fix the non-LDAP build
...
For example host "bigboy" doesn't have it.
Günther, please fix it properly and merge to 3_2_0
Thanks,
Volker
2007-10-10 12:29:56 -05:00
Günther Deschner
3e240672b4
r24416: Some more minor edits for libgpo, mostly reformatting and moving of functions.
...
Guenther
2007-10-10 12:29:43 -05:00
Günther Deschner
5dc791f4cf
r24413: Minor edits for libgpo.
...
Guenther
2007-10-10 12:29:42 -05:00
Günther Deschner
57aa0acb84
r24024: Minor cleanup in ads_parse_gp_ext().
...
Guenther
2007-10-10 12:28:57 -05:00
Günther Deschner
465c89ee4a
r23929: Deleting gpo_sd_check_trustee_in_sid_token() as nt_token_check_sid() is what we
...
need here.
Guenther
2007-10-10 12:28:45 -05:00
Günther Deschner
83c734690a
r23921: Remove GPO_SID_TOKEN struct and use nt_user_token instead, that already has
...
S-1-5-11 in the token.
Guenther
2007-10-10 12:28:42 -05:00
Günther Deschner
7317eb408d
r23920: Fix debug statement.
...
Guenther
2007-10-10 12:28:42 -05:00
Günther Deschner
cc41b3b60f
r23874: Some more minor edits for net ads gpo.
...
Guenther
2007-10-10 12:28:37 -05:00
Günther Deschner
94d11806fd
r23873: Make use of ads_find_samaccount().
...
Guenther
2007-10-10 12:28:36 -05:00
Günther Deschner
4b5c4b4fff
r23872: Dump all GPFLAGS in dump_gpo().
...
Guenther
2007-10-10 12:28:36 -05:00
Günther Deschner
9dc8ec0e19
r23871: The snapin handler needs to have the full struct GROUP_POLICY_OBJECT.
...
Guenther
2007-10-10 12:28:36 -05:00
Günther Deschner
d832014a6f
r23826: Fix gpo security filtering by matching the security descriptor ace's for the
...
extended apply group policy right.
Guenther
2007-10-10 12:28:31 -05:00
Andrew Tridgell
87c91e4362
r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
2007-10-10 12:28:27 -05:00
Jeremy Allison
407e6e695b
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
2007-10-10 12:28:20 -05:00
Günther Deschner
1a2878db2d
r23770: Some minor cleanups in libgpo
...
(including some valgrind errors, uninitialized vars, etc.)
Guenther
2007-10-10 12:23:55 -05:00
Günther Deschner
4ad456e988
r23354: Fix build warning.
...
Guenther
2007-10-10 12:23:09 -05:00