summaryrefslogtreecommitdiff
path: root/source4/rpc_server/winreg
AgeCommit message (Collapse)AuthorFilesLines
2010-10-12s4-libcli/security Use seperate subsystem for session related functionsAndrew Bartlett1-1/+1
The merged I plan in this area require spliting security.h into two header files, a common header and a session.h for the remaining source4-specific code. Andrew Bartlett
2010-06-20s4:registry RPC server - quite some build warnings on SolarisMatthias Dieter Wallnöfer1-4/+4
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-1/+1
2010-04-22s4-drs: added new SECURITY_RO_DOMAIN_CONTROLLER levelAndrew Tridgell1-8/+8
This is used for allowing operations by RODCs, and denying them operations that should only be allowed for a full DC This required a new domain_sid argument to security_session_user_level() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Rusty Russell <rusty@samba.org>
2010-04-09s4-winreg: Fix dcesrv_winreg_CreateKey after rename.Günther Deschner1-1/+1
Guenther
2010-04-09s4-winreg: add winreg_DeleteKeyEx stub.Günther Deschner1-0/+9
Guenther
2010-03-29s4:registry - move the UTF16 length calculation for "reg_key_get_info" into ↵Matthias Dieter Wallnöfer1-0/+9
the RPC server code It does fit better there.
2010-03-22s4:WINREG RPC - add also here a "W_ERROR_HAVE_NO_MEMORY"Matthias Dieter Wallnöfer1-0/+1
2010-03-22s4:registry - adaptions for "add memory contexts for delete value/key functions"Matthias Dieter Wallnöfer1-2/+2
2010-03-21s4:WINREG RPC server - don't check for the "name" size in "EnumValue"Matthias Dieter Wallnöfer1-5/+0
This isn't needed at all since: 1.) a new name object is created and sent back to the client 2.) the "size" seems to be the size of the "name" pointer. On my test with the "regedt32" program this has always been "4".
2010-03-21s4:WINREG RPC - we support only non-volatile keysMatthias Dieter Wallnöfer1-0/+5
2010-03-21s4:WINREG RPC - specify the performed create action for "CreateKey"Matthias Dieter Wallnöfer1-1/+10
To make the WINREG RPC testsuite happy.
2010-03-11s4-winreg: continue processing in WERR_MORE_DATA case in ↵Günther Deschner1-1/+1
dcesrv_winreg_QueryValue(). Matthias, please check. Guenther
2010-03-10s4:winreg RPC - fix up the "QueryValue" call to work against the enhanced ↵Matthias Dieter Wallnöfer1-7/+11
torture test Found out by gd's updated torture test.
2010-03-10s4:winreg RPC - don't crash when incoming data wasn't correctly specifiedMatthias Dieter Wallnöfer1-2/+8
Also found by the WINREG torture test enhancements by gd.
2009-11-27s4:WINREG RPC server - add another "talloc_unlink" in "DeleteKey"Matthias Dieter Wallnöfer1-1/+5
Also here we waste memory - therefore free the pointless handle after the delete.
2009-11-27s4:WINREG RPC server - Reintroduce the free operation on "CloseKey"Matthias Dieter Wallnöfer1-0/+2
Better use "talloc_unlink" here Since we could have more than one reference.
2009-11-21s4:WINREG RPC server - CosmeticMatthias Dieter Wallnöfer1-2/+2
2009-11-17s4:WINREG RPC server - remove a "talloc_free"Matthias Dieter Wallnöfer1-2/+0
I assume that this "talloc_free" isn't necessary since the DCERPC server frees the handle itself (we got always warnings about this).
2009-09-19more include minimisationAndrew Tridgell1-2/+0
2009-02-02s4:rpc_server: s/private/private_dataStefan Metzmacher1-2/+2
metze
2008-10-21Fix the build.Jelmer Vernooij1-2/+2
2008-10-21Merge branch 'master' of ssh://git.samba.org/data/git/samba into regsrvJelmer Vernooij1-8/+7
Conflicts: source4/lib/registry/ldb.c source4/rpc_server/winreg/rpc_winreg.c
2008-10-21Registry RPC server: Reintroduce the "key" variable for better readabilityMatthias Dieter Wallnöfer1-22/+34
The "key" variable points to our working key in the hive (h->data).
2008-10-21Registry server: Fixes up the patch with "type" != NULL (used in "EnumValue" ↵Matthias Dieter Wallnöfer1-3/+6
and "QueryValue") This prevents the server to segfault if the input data type is NULL.
2008-10-21Revert "Registry server: Enhances commit "type" != NULL (when getting values)"Matthias Dieter Wallnöfer1-2/+13
This reverts commit 32d00f5e2c5a67dac806ee07f030f3ac2ad108f9. This patch hasn't been right. Repost it in the right way.
2008-10-21Registry server: Enhances commit "type" != NULL (when getting values)Matthias Dieter Wallnöfer1-13/+2
2008-10-21Registry server "reg_ldb_unpack_value": Tests demonstrate that also "type" ↵Matthias Dieter Wallnöfer1-15/+9
doesn't has to be NULL
2008-10-21Registry server: Cosmetic correctionsMatthias Dieter Wallnöfer1-23/+11
2008-10-21Cleanups of server filesMatthias Dieter Wallnöfer1-15/+16
Cosmetic corrections
2008-10-21Registry server: More work to be compatibleMatthias Dieter Wallnöfer1-16/+38
Some fixup's and assure, that we send only initialized values.
2008-10-21Fixes for the WINREG RPC serverMatthias Dieter Wallnöfer1-28/+41
This changes the WINREG RPC server through some corrections into the Windows-like behaviour. Compared with Windows 2000 and tested through Windows 2000 Registry Editor.
2008-10-15Sync parameter names with samba 3.Jelmer Vernooij1-6/+6
2008-10-15winreg.idl: Sync ref change from Samba 3.Jelmer Vernooij1-1/+1
2008-04-17Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij1-1/+1
(This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
2008-03-20More kludge ACLs!Andrew Bartlett1-87/+146
Rather than killing off the nasty 'kludge ACLs' stuff, this patch extends it, to ensure that LSA secrets and the registry are also protected. Andrew Bartlett (This used to be commit 2f2b110fb870132099bad1d4c16ed8962affb3ce)
2008-01-07r26689: registry: Return max_subkeynamelen, max_valnamelen and ↵Jelmer Vernooij1-2/+4
max_valbufsize in getkeyinfo(). (This used to be commit b06896d2378e536f5044dbe500a5232a89d6d0b5)
2008-01-01r26639: librpc: Pass iconv convenience on from RPC connection to NDR ↵Jelmer Vernooij1-1/+1
library, so it can be overridden by OpenChange. (This used to be commit 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
2007-12-21r26296: Store loadparm context in DCE/RPC server context.Jelmer Vernooij1-1/+1
(This used to be commit fc1f4d2d65d4c983cba5421e7ffb64dd75482860)
2007-12-21r26239: Fix registry argument order.Jelmer Vernooij1-2/+1
(This used to be commit 0b3de2a63ad915575c33d7b329b8a4c476f039e4)
2007-12-21r26236: Remove more uses of global_loadparm or specify loadparm_context ↵Jelmer Vernooij1-0/+2
explicitly. (This used to be commit 5b29ef7c03d9ae76b0ca909e9f03a58e1bad3521)
2007-12-21r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)Stefan Metzmacher1-4/+4
lib/messaging/ lib/registry/ lib/ldb-samba/ librpc/rpc/ auth/auth_winbind.c auth/gensec/ auth/kerberos/ dsdb/repl/ dsdb/samdb/ dsdb/schema/ torture/ cluster/ctdb/ kdc/ ntvfs/ipc/ torture/rap/ ntvfs/ utils/getntacl.c ntptr/ smb_server/ libcli/wrepl/ wrepl_server/ libcli/cldap/ libcli/dgram/ libcli/ldap/ libcli/raw/ libcli/nbt/ libnet/ winbind/ rpc_server/ metze (This used to be commit 6223c7fddc972687eb577e04fc1c8e0604c35435)
2007-10-10r25539: Also correct indent for winreg server.Günther Deschner1-177/+181
Guenther (This used to be commit 3f6cc36a1b7ac8c2c65cd19a08ec06314653cfd2)
2007-10-10r24817: Don't REG_NONE for all value types. Patch fromJelmer Vernooij1-1/+5
Andrew Kroeger <andrew@sprocks.gotdns.com> (This used to be commit ff81ea3f5aa8a93cf96914f03c26f8c86ec1e912)
2007-10-10r24727: Initialize variable.Jelmer Vernooij1-1/+1
(This used to be commit 925fcc336621250a8e45adf3ce8d2ff42307c066)
2007-10-10r24726: Add tests for getting/setting security descriptors (still failing at ↵Jelmer Vernooij1-5/+1
the moment) (This used to be commit ecdfaf56c09e75dc3ca37a3599c89661ad3485ff)
2007-10-10r24667: Finally merge the registry improvements that Wilco Baan Hofman and I ↵Jelmer Vernooij1-109/+130
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-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r20850: Prefix all server calls with dcesrv_Jelmer Vernooij1-29/+29
(This used to be commit 76c78b0339cd88c61a13745f7f4e037f400db21b)
2007-10-10r18860: fixed some code that bitrotted while we didn't have the safety checkAndrew Tridgell1-1/+1
with NTSTATUS, WERROR etc. (This used to be commit fddb85bfa8bb5df7812d226a7a6f6fb41ccf107f)