1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-23 11:17:06 +03:00

31 Commits

Author SHA1 Message Date
Matthias Dieter Wallnöfer
ae50385d52 s4:registry - on key add operations we have to handle with paths not always only a name
Recursive key generations are allowed.
2010-07-01 15:48:05 +02:00
Matthias Dieter Wallnöfer
2adfe47303 s4:registry/rpc.c - fix Solaris warnings by casts 2010-06-20 22:33:02 +02:00
Matthias Dieter Wallnöfer
dc17292f1a s4:registry - add more "W_ERROR_HAVE_NO_MEMORY" invocations (on talloc'ed stuff) 2010-03-22 22:31:05 +01:00
Matthias Dieter Wallnöfer
43170dafbc s4:registry - adaptions for "add memory contexts for delete value/key functions" 2010-03-22 22:31:00 +01:00
Matthias Dieter Wallnöfer
dd111804f6 s4:registry - "RPC backend" - use "talloc_steal" and not "talloc_reference"
No need to create additional references but we need to assign the strings to the
right context.
2010-03-22 14:00:02 +01:00
Matthias Dieter Wallnöfer
163e559606 s4:registry - rpc - don't crash when communication partner isn't available 2010-03-15 13:44:00 +01:00
Stefan Metzmacher
b6623e3a26 s4:lib/registry/rpc: convert to use dcerpc_binding_handle stubs
metze
2010-03-12 15:25:50 +01:00
Günther Deschner
e0d85f87b7 winreg: add winreg_KeyType enum.
Guenther
2010-03-11 20:23:47 +01:00
Günther Deschner
9361c73c2f winreg: fix winreg_EnumValue callers.
Guenther
2009-01-16 00:28:46 +01:00
Stefan Metzmacher
183c379fe5 s4:lib/tevent: rename structs
list=""
list="$list event_context:tevent_context"
list="$list fd_event:tevent_fd"
list="$list timed_event:tevent_timer"

for s in $list; do
	o=`echo $s | cut -d ':' -f1`
	n=`echo $s | cut -d ':' -f2`
	r=`git grep "struct $o" |cut -d ':' -f1 |sort -u`
	files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4`
	for f in $files; do
		cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp
		mv $f.tmp $f
	done
done

metze
2008-12-29 20:46:40 +01:00
Jelmer Vernooij
a1cc278142 Remove use of global_loadparm during initialization of gensec. 2008-11-02 17:04:22 +01:00
Günther Deschner
e08e5a0f3f Revert "s4: fix the build after winreg idl changes."
This reverts commit 61db229c08a601780da09ee4f2f4f1eb32ec3aa0.
2008-10-20 15:53:24 +02:00
Günther Deschner
61db229c08 s4: fix the build after winreg idl changes.
Guenther
2008-10-20 15:47:46 +02:00
Jelmer Vernooij
a8707a43d0 Regenerate pidl output. 2008-10-20 12:19:01 +02:00
Günther Deschner
ca54a563d6 s4: fix registry/rpc.c after winreg changes.
jelmer, can you check if this is ok?

Guenther
2008-10-15 19:54:17 +02:00
Jelmer Vernooij
fed4658c1b winreg.idl: Sync ref change from Samba 3. 2008-10-15 17:34:55 +02:00
Matthias Dieter Wallnöfer
08953e44db Registry client: Remove all conversion helper functions 2008-09-21 23:18:01 +02:00
Matthias Dieter Wallnöfer
4c7203367f Registry client library: Remove two elementar conversion functions 2008-09-21 23:18:01 +02:00
Matthias Dieter Wallnöfer
f25f0dd744 Registry client: Implement the "winreg_QueryValue" call
This is needed for the registry patchfile library
2008-09-21 23:18:00 +02:00
Matthias Dieter Wallnöfer
9b70485207 Registry client library: Use "talloc_zero" to avoid uninitialized values 2008-09-21 23:18:00 +02:00
Matthias Dieter Wallnöfer
04f29b84a4 Registry client library: Fixes the creation of new keys
Giving the right permissions
2008-09-21 23:17:59 +02:00
Matthias Dieter Wallnöfer
1e178ffc03 Registry client library: Fix some buffer problems
This buffer maximum values are used in Windows (2000), so I take them also for SAMBA 4.
2008-09-21 23:17:59 +02:00
Matthias Dieter Wallnöfer
c1fef1fabf Registry client library: Various fixup's and corrections
I reverted the change with the string conversions because they aren't needed and included
many fixup's and improvements in the code. We should be able now to connect to a Windows WINREG server
 without a problem.
2008-09-21 23:17:59 +02:00
Matthias Dieter Wallnöfer
5bf6226050 Registry client: Various cleanups and charset conversions
This patch contains various changes to the "rpc.c" file to clean it up and introduces the right string charset conversions (UNIX <-> UTF16).
2008-09-21 23:17:59 +02:00
Jelmer Vernooij
47f6bbf8cf r26689: registry: Return max_subkeynamelen, max_valnamelen and max_valbufsize in getkeyinfo().
(This used to be commit b06896d2378e536f5044dbe500a5232a89d6d0b5)
2008-01-07 08:18:07 -06:00
Jelmer Vernooij
7f8276b06d r26688: Fix listing remote predefined keys and subkeys. This fixes bug 3431.
(This used to be commit 846876ad32dc86fe7c367db084e76c670c61b389)
2008-01-07 08:18:06 -06:00
Kai Blin
45015eda24 r26451: Janitorial: fix warnings in lib/registry/
This does not fix the discarded qualifier warnings in tests, as the test data
is currently passed as const. Jelmer wants to provide a test function that
passes non-const test data, thus allowing for a cleaner way to fix those
warnings.
(This used to be commit 46dfa63d4f7381c5c6ce3f4b8b0bd9aa9e16950c)
2007-12-21 05:50:16 +01:00
Jelmer Vernooij
4c4323009f r26327: Explicit loadparm_context for RPC client functions.
(This used to be commit eeb2251d22b3d6e0379444a73af69d1014692b07)
2007-12-21 05:48:41 +01:00
Günther Deschner
cc8f4eb3cd r25544: Cleanup some more indents in lib/registry.
Guenther
(This used to be commit 0d9826dc54057db2cfebcb806e5442c4dcf60daa)
2007-10-10 15:07:51 -05:00
Jelmer Vernooij
616c45f16a r24718: Fix some compiler warnings.
(This used to be commit 08f7389ab7312d350e056b1ba98da86d80944424)
2007-10-10 15:02:55 -05:00
Jelmer Vernooij
b409d4120f r24667: Finally merge the registry improvements that Wilco Baan Hofman and I have
been working on for at least half a year now. Contains the following
improvements:

 * proper layering (finally!) for the registry library. Distinction is
   now made between 'real' backends (local, remote, wine, etc) and
   the low-level hive backends (regf, creg, ldb, ...) that are only used
   by the local registry backend
 * tests for all important hive and registry operations
 * re-enable RPC-WINREG tests (still needs more work though, as
							   some return values aren't checked yet)
 * write support for REGF files
 * dir backend now supports setting/reading values, creating keys
 * support for storing security descriptors
 * remove CREG backend as it was incomplete, didn't match the data model
   and wasn't used at all anyway
 * support for parsing ADM files as used by the policy editor (see lib/policy)
 * support for parsing PREG files (format used by .POL files)
 * new streaming interface for registry diffs (improves speed and memory usage
	for regdiff/regpatch significantly)

   ... and fixes a large number of bugs in the registry code
(This used to be commit 7a1eec6358bc863dfc671c542b7185d3e39d7b5a)
2007-10-10 15:02:34 -05:00