Michael Adam
987514d98d
s3:registry:reg_objects: add regval_ctr_set_seqnum()
2010-05-25 10:35:28 +02:00
Michael Adam
6b331321e3
s3:registry:reg_objects: add regval_ctr_get_seqnum()
2010-05-25 10:35:28 +02:00
Michael Adam
e0d5bccfd3
s3:registry:reg_objects: add regval_ctr_init()
2010-05-25 10:35:28 +02:00
Michael Adam
97846edfa5
s3:registry: move definition of registry_hook to reg_init_full.c - it's only user
2010-05-25 10:35:27 +02:00
Michael Adam
e829b42978
s3:registry: extract registry_pull/push_value prototypes into own header
...
reg_util_marshalling.h and use them only where needed.
2010-05-25 10:35:27 +02:00
Michael Adam
36b74e03cf
s3:registry: rename lib/util_reg_api.c to registry/reg_util_marshalling.c
2010-05-25 10:35:27 +02:00
Michael Adam
773255ba50
s3:registry: rename reg_util.{c,h} to reg_util_internal.{c,h}
2010-05-25 10:35:27 +02:00
Michael Adam
f3053739b7
s3:registry: move prototype registry_create_admin_token() to new header reg_util_token.h
...
and use it only where necessary.
2010-05-25 10:35:26 +02:00
Michael Adam
e3f7fab668
s3:registry: move registry_create_admin_token() to new reg_util_token.c
2010-05-25 10:35:26 +02:00
Michael Adam
847a19df94
s3:registry: extract reg_eventlog prototypes to header of their own
...
and use them only where needed.
2010-05-25 10:35:26 +02:00
Michael Adam
5a92d88f38
s3:registry: extract reg_perfcount prototypes into header of their own.
...
And use them only when necessary.
2010-05-25 10:35:26 +02:00
Michael Adam
b94267aa3f
s3:registry: extraxt the reg_dispatcher prototypes into their own header.
...
And use them only where needed.
2010-05-25 10:35:26 +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
Michael Adam
9ccf66379a
s3:registry: adapt callers of regval_ctr_addvalue to uint8 * instead of char *
2010-05-25 10:35:25 +02:00
Michael Adam
70a81796fc
s3:registry: fix regval_ctr_addvalue() to take data as uint8 *, not char *.
2010-05-25 10:35:25 +02:00
Michael Adam
f7f9ce30ca
s3:registry: fix data_p arg of regval_compose to be uint8 * instead of char *
2010-05-25 10:35:25 +02:00
Michael Adam
4ae77b2ef9
s3:registry: extract the reg_util prototypes into their own header.
...
And use them only where needed.
2010-05-25 10:35:25 +02:00
Michael Adam
a4efda959a
s3:registry: extract the reg_util_legacy prototypes into their own header.
...
And use them only where necessary.
2010-05-25 10:35:24 +02:00
Michael Adam
14a025062e
s3:registry: extract the reg_cachehook prototypes into their own header.
...
And use them only where necessary.
2010-05-25 10:35:24 +02:00
Michael Adam
d59d9dfb90
s3:registry: add C to reg_cachehook, confessing considerable changes in 2008
2010-05-25 10:35:23 +02:00
Gregor Beck
0a173444ac
s3: registry: fix query empty valuenames
...
Remove a check introduced with commit 80c2446321c519797a57b8006942a983f8481d79
wich causes queries for values with empty name to fail. Empty valuenames are
used for the so called default value of a key.
Signed-off-by: Michael Adam <obnox@samba.org>
2010-05-21 00:22:45 +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
7f6bb48bdf
s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".
...
Guenther
2010-05-18 12:30:12 +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
Jelmer Vernooij
b8268cf7b0
s3: Remove use of iconv_convenience.
2010-05-18 11:45:31 +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
c6ebab846d
s3: only include gen_ndr headers where needed.
...
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time
as follows:
ccache build w/o patch
real 4m21.529s
ccache build with patch
real 3m6.402s
pch build w/o patch
real 4m26.318s
pch build with patch
real 3m6.932s
Guenther
2010-05-06 00:22:59 +02:00
Günther Deschner
7532640a74
s3-spoolss: publish "Monitor" in winreg for drivers.
...
Found by torture test.
Guenther
2010-04-27 17:56:48 +02:00
Günther Deschner
70ec7e0700
s3-spoolss: fix winreg attribute for storing datatype.
...
Found by torture test (and checked with w2k, w2k3 and w2k8).
Guenther
2010-04-27 17:56:47 +02:00
Günther Deschner
63b111bd32
s3: add iconv_convenience handle to pull/push sz helpers.
...
Guenther
2010-04-09 18:33:45 +02:00
Günther Deschner
84f3eeeca3
s3-registry: fix fill_in_printer_values() for datatype and printprocessor.
...
It is wise and good to enforce RAW and winprint, but we need to be consistent
with spoolss (and enforce it there).
Found by torture test.
Guenther
2010-04-08 16:21:40 +02:00
Günther Deschner
b4d09134fd
s3-registry: make sure root has full registry access (in particular for make test).
...
Guenther
2010-03-16 15:13:52 +01:00
Michael Adam
9a825dc770
s3:registry-legacy: use talloc_stackframe() instead of NULL in regkey_open_internal()
...
Michael
2010-03-16 00:12:25 +01:00
Andrew Tridgell
7cff685c7e
s3: convert registry and printing code to TYPESAFE_QSORT()
2010-02-14 18:44:21 +11:00
Volker Lendecke
613777e6dc
s3: Remove unused comparison fn from "struct sorted_tree"
2010-02-13 13:26:11 +01:00
Volker Lendecke
2260732084
s3: SORTED_TREE -> struct sorted_tree
2010-02-13 13:26:11 +01:00
Michael Adam
a752bbd10d
s3:registry: eliminate race condition in creating/scanning sorted subkeys
...
Called, from key_exists, scan_sorted_subkeys re-creates the sorted
subkeys record of the given key and then searches through it.
The race is that between creation and parsing of the sorted subkey
record, another process that stores some other subkey of the same
parent key will delete the sorted subkey record, resulting in an
WERR_BADFILE of an operation that should actually succeed.
This patch fixes the issue by wrapping the creation and parsing
into a transaction.
Michael
2010-02-12 23:12:12 +01:00
Andrew Tridgell
aa52a0925d
s3-registry: update to use new DLIST macros
...
(cherry picked from commit 3437713ad7e5bccafde30553a8232119fd2a9eb9)
2010-02-10 15:42:00 -08:00
Volker Lendecke
1b4a3cc3f4
s3: Fix some DEBUG statements
2010-02-07 20:56:09 +01:00
Volker Lendecke
ff2d7d9b82
s3: Fix some comments
2010-02-07 12:29:25 +01:00
Volker Lendecke
5552b44960
s3: Fix some nonempty blank lines
2010-02-07 12:29:25 +01:00
Karolin Seeger
9ce9fdd9f4
s3/registry: Fix typo in comment.
...
Karolin
2010-01-25 19:50:21 +01:00
Volker Lendecke
9acbed13e8
s3: Fix some nonempty blank lines
2010-01-22 13:34:25 +01:00
Volker Lendecke
ee4a3606e6
s3: Fix a typo in a comment
2010-01-22 13:34:25 +01:00
Günther Deschner
35c50dcce3
s3-spoolss: use driver level info8 everywhere in spoolss server internally.
...
Guenther
2009-12-08 11:05:21 +01:00
Volker Lendecke
77fb5e19d8
s3: "regf_hbin_allocate" only looks at the size
2009-11-29 11:22:04 +01:00
Volker Lendecke
d5e5d09d73
s3: "read_block" only looks at the size
2009-11-29 11:22:04 +01:00
Volker Lendecke
13e70058c0
s3: "write_block" does not use the sbuf at all
2009-11-29 11:22:04 +01:00