1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

71 Commits

Author SHA1 Message Date
Günther Deschner
7ac8fe704a libgpo: try nicer output when dumping gpo registry values.
Guenther
(This used to be commit 2b788429478868d1b0cbfd88027809be33edcfc5)
2008-04-17 14:13:13 +02:00
Günther Deschner
91ece4fc1a libgpo: Fallback to NTLMSSP fails while pulling policy from SYSVOL.
Guenther
(This used to be commit 7ed1397e25d50e6616040677cfe26148e7211538)
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 cb3f1df7d8f35848a432764ea7d6720ec131ede1)
2008-04-14 18:21:21 +02:00
Günther Deschner
de013be0b6 gpo: add scripts plugin.
Guenther
(This used to be commit cd6388f04041a667bf0909d81e8af5f7b3bdc4af)
2008-04-13 17:52:11 +02:00
Günther Deschner
3cd8c1befa gpo: make integer debug print more readable.
Guenther
(This used to be commit b2cf8010aea3221bb6b108b9395b9d89cc1bc0d5)
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 6a31e659cb371395dff0906786f3c6ef0cc2b3de)
2008-04-13 15:33:48 +02:00
Björn Jacke
67be6b3af7 fix some extrasemi compile warnings
(This used to be commit cbdb79b7a1044945e515a294f487e4c1a9c91be5)
2008-04-10 08:55:57 +02:00
Volker Lendecke
9c45d49140 Fix Coverity ID 453
(This used to be commit 8f875674e7cf9ebd405561b1e3ab72b0284ce321)
2008-03-23 18:28:23 +01: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 4185ed03a3879ab708b004ef87b9ffaa6a9e6f3d)
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 10ae8accb486956ebb1638cee540868a11623b11)
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 4717e6d0cf9df53a55e5d55ede5480181b33920d)
2008-03-22 02:29:34 +01:00
Günther Deschner
e8bd75ec73 Bind Group Policy processing closer to the samba registry.
Guenther
(This used to be commit e9c56250eb7a2dc4e69962c5b48875834941ccfc)
2008-03-18 21:31:24 +01:00
Günther Deschner
2418916460 Fix gp_find_file() which broke during the pstring removal.
Guenther
(This used to be commit f18ba6c877fa934d19ecc6a65be74b8bad7ee7e4)
2008-03-03 09:44:36 +01:00
Günther Deschner
c5249935d4 Fix the build w/o ldap.
Guenther
(This used to be commit 5f592d030b7e94331a634e0d625aefc60cfb1f70)
2008-02-29 20:52:35 +01:00
Günther Deschner
72b8392f9c Add gp_get_machine_token().
Guenther
(This used to be commit 2f1bc7ddad97b9137ae4cce696bf4e08f9b7ca20)
2008-02-29 18:23:53 +01:00
Günther Deschner
f3efceace4 Revert "what a wurst."
That commit message was just too silly, this happens to me during interactive
rebase all the time...

This reverts commit ab687104c1371c84c510eca7ef2caad7c21ea8fc.
(This used to be commit a3a1edab0d5ac07d42e64a5a82dd71fe0c3fdfeb)
2008-02-29 18:19:06 +01:00
Günther Deschner
3afcd3ab83 what a wurst.
(This used to be commit ab687104c1371c84c510eca7ef2caad7c21ea8fc)
2008-02-29 17:45:25 +01:00
Günther Deschner
485b070eb8 Add "registry" Group Policy extension.
Guenther
(This used to be commit 4e93301ca4931908a7d1994be45c57002f8c6fea)
2008-02-29 17:25:28 +01:00
Günther Deschner
41efa5ca45 Add Group Policy extension infrastructure.
Guenther
(This used to be commit 6d543b1a1a5a7af98affc9aea2edf650cb476379)
2008-02-29 17:07:57 +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 f673bbd300d972dd7ae2d092b3b1e642ed29cfd2)
2008-02-29 15:48:14 +01:00
Günther Deschner
f12770079b Pure cosmetics, trying to get my group policy diff smaller.
Gunther
(This used to be commit d7346e9360ffa97e44fa781293d32c707436193b)
2008-02-29 14:53:13 +01:00
Volker Lendecke
b361956942 str_list_free is not needed anymore
(This used to be commit feddc1447d585fd108d22a36bccc576fa81197ef)
2008-02-04 21:05:41 +01:00
Volker Lendecke
2762b9a975 Always pass a TALLOC_CTX to str_list_make and str_list_copy
(This used to be commit e2c9fc4cf5f0ff725330fa44f53782db65fca37e)
2008-02-04 20:57:49 +01:00
Michael Adam
f3603d5a5a Convert add_sid_to_array() add_sid_to_array_unique() to return NTSTATUS.
Michael
(This used to be commit 6b2b9a60ef857ec31da5fea631535205fbdede4a)
2008-01-09 01:47:10 +01:00
Günther Deschner
17e8104d9b Correctly talloc ctx->remote_path in libgpo (thanks Michael for the pointer).
Guenther
(This used to be commit 2ea57a76a6bc8f9c835818780fcc9324896d5c1f)
2008-01-08 12:26:25 +01:00
Volker Lendecke
900288a2b8 Replace sid_string_static by sid_string_dbg in DEBUGs
(This used to be commit bb35e794ec129805e874ceba882bcc1e84791a09)
2007-12-15 22:09:36 +01:00
Jeremy Allison
42cfffae80 Remove next_token - all uses must now be next_token_talloc.
No more temptations to use static length strings.
Jeremy.
(This used to be commit ec003f39369910dee852b7cafb883ddaa321c2de)
2007-12-07 17:32:32 -08:00
Volker Lendecke
78c6ee0090 Remove some globals
(This used to be commit 31d0a846db08d845e6cdfd85def4ac1c34031e02)
2007-12-05 14:39:07 +01:00
Jeremy Allison
acb829ecc3 Add MAX_DNS_NAME_LENGTH, remove more pstrings.
Jeremy.
(This used to be commit a1725f4ff7ed375808c78ac661b539557748d0a5)
2007-11-15 18:27:26 -08:00
Jeremy Allison
30191d1a57 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.
(This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-18 17:40:25 -07:00
Günther Deschner
32925f27ca r25325: Rename some defines.
Guenther
(This used to be commit cc38e4fc1f2d3f9e2e2ff90a7a004ce8fdfa9238)
2007-10-10 12:30:59 -05:00
Jeremy Allison
ab9d7bf4f9 r25165: Use talloc_asprintf_append_buffer with an unmodified
string.
Jeremy.
(This used to be commit fe30a523dfc77cc373145624246fd3ad5c62b9ac)
2007-10-10 12:30:47 -05:00
Günther Deschner
6824731cb0 r24783: Remove unused off_t type.
Guenther
(This used to be commit 85c816c27f2b9d20dfaf411b12ec1803a49574ce)
2007-10-10 12:30:21 -05:00
Günther Deschner
18e6f9c6aa r24573: Fix build without LDAP. Thanks Volker for pointing this out.
Guenther
(This used to be commit 1bae53e39f86a9b3b277578a71b906ca1cd0e4fa)
2007-10-10 12:30:07 -05:00
Volker Lendecke
8713bb2db7 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
(This used to be commit 0d294267414b12c31afd316c39689984e5047865)
2007-10-10 12:29:56 -05:00
Günther Deschner
36a85969f9 r24416: Some more minor edits for libgpo, mostly reformatting and moving of functions.
Guenther
(This used to be commit 3e240672b431b7132dfb2bdd46198ab758eadd0b)
2007-10-10 12:29:43 -05:00
Günther Deschner
444fd1e848 r24413: Minor edits for libgpo.
Guenther
(This used to be commit 5dc791f4cfdee2bc350c1e65aeed5705c1745356)
2007-10-10 12:29:42 -05:00
Günther Deschner
bed567bffc r24024: Minor cleanup in ads_parse_gp_ext().
Guenther
(This used to be commit 57aa0acb84a41a24ea89950bcb51b5ffc68b4564)
2007-10-10 12:28:57 -05:00
Günther Deschner
d9c902cb59 r23929: Deleting gpo_sd_check_trustee_in_sid_token() as nt_token_check_sid() is what we
need here.

Guenther
(This used to be commit 465c89ee4a0c287203121037052c875b1c6ca41e)
2007-10-10 12:28:45 -05:00
Günther Deschner
db4099884a r23921: Remove GPO_SID_TOKEN struct and use nt_user_token instead, that already has
S-1-5-11 in the token.

Guenther
(This used to be commit 83c734690ab09a0fe103ee9fdb855fbdd31db39c)
2007-10-10 12:28:42 -05:00
Günther Deschner
95d5042803 r23920: Fix debug statement.
Guenther
(This used to be commit 7317eb408de8798ce6160907b59aad96acf983b6)
2007-10-10 12:28:42 -05:00
Günther Deschner
2e6b56061d r23874: Some more minor edits for net ads gpo.
Guenther
(This used to be commit cc41b3b60f5e0c604a764bc5bb1f8ecfe13a36f6)
2007-10-10 12:28:37 -05:00
Günther Deschner
a1def4de32 r23873: Make use of ads_find_samaccount().
Guenther
(This used to be commit 94d11806fd5384cbdd6c12b230985991b9e6473d)
2007-10-10 12:28:36 -05:00
Günther Deschner
e997cf9fe2 r23872: Dump all GPFLAGS in dump_gpo().
Guenther
(This used to be commit 4b5c4b4fffbd62917894432c9bb6946f181668c4)
2007-10-10 12:28:36 -05:00
Günther Deschner
3488299232 r23871: The snapin handler needs to have the full struct GROUP_POLICY_OBJECT.
Guenther
(This used to be commit 9dc8ec0e193ad4aa85293c334ebbca5d0618f0d2)
2007-10-10 12:28:36 -05:00
Günther Deschner
1c957f9559 r23826: Fix gpo security filtering by matching the security descriptor ace's for the
extended apply group policy right.

Guenther
(This used to be commit d832014a6fef657f484412372b5d09047552b183)
2007-10-10 12:28:31 -05:00
Andrew Tridgell
153cfb9c83 r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10 12:28:27 -05:00
Jeremy Allison
d824b98f80 r23779: Change from v2 or later to v3 or later.
Jeremy.
(This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10 12:28:20 -05:00
Günther Deschner
5512dacbca r23770: Some minor cleanups in libgpo
(including some valgrind errors, uninitialized vars, etc.)

Guenther
(This used to be commit 1a2878db2d2fcdc53fa74fea48b82a1903e6a1f1)
2007-10-10 12:23:55 -05:00
Günther Deschner
3e3e359d12 r23354: Fix build warning.
Guenther
(This used to be commit 4ad456e988f0b9b65890b4cf6a4f1b63ef1585b8)
2007-10-10 12:23:09 -05:00