summaryrefslogtreecommitdiff
path: root/source4/lib/registry
AgeCommit message (Collapse)AuthorFilesLines
2008-10-21Registry server "reg_ldb_unpack_value": Tests demonstrate that also "type" ↵Matthias Dieter Wallnöfer1-2/+2
doesn't has to be NULL
2008-10-21Revert "Registry server "reg_ldb_unpack_value": Let "data" pointer be NULL"Matthias Dieter Wallnöfer1-27/+23
This reverts commit 82f50ea69f3aece4ac654ffdfa627babd8aadc25. Cause: Windows (2000) doesn't accept the "data" pointer set to NULL
2008-10-21Registry server "reg_ldb_unpack_value": Let "data" pointer be NULLMatthias Dieter Wallnöfer1-23/+27
Prevent segfaults in some client applications (e.g. regdiff)
2008-10-21Cleanups of server filesMatthias Dieter Wallnöfer1-1/+5
Cosmetic corrections
2008-10-21Registry server: More work to be compatibleMatthias Dieter Wallnöfer1-14/+25
Some fixup's and assure, that we send only initialized values.
2008-10-21ldb_get_value_by_id: Fix the return of the default valueMatthias Dieter Wallnöfer1-14/+15
The return of the values of a certain key has been broken since I've introduced the default value. Now the behaviour is correct: If no default value exists, start with index zero to fetch the other values. Otherwise let zero be the default value and enumerate the others starting with one.
2008-10-21reg_ldb_unpack_value: Change "CH_UTF8" in "CH_UNIX"Matthias Dieter Wallnöfer1-1/+1
It's better to use "CH_UNIX" for unpacking, because the system charset doesn't have to be UTF8 and we should be compatible with "reg_ldb_pack_value".
2008-10-21ldb_del_value: Free key data also when removing the default attributeMatthias Dieter Wallnöfer1-4/+4
2008-10-21Fix for allowing the REG_BINARY type and introducing the default attributeMatthias Dieter Wallnöfer1-45/+128
The REG_BINARY type is converted and stored in the LDB database as a leaf object with string-data. The default attribute is saved directly in the hive object as the "data"-string.
2008-09-09Fix up the "reg_common_open_remote" callMatthias Dieter Wallnöfer4-8/+9
This fixes up the "reg_common_open_remote" call because it didn't work anymore without the event context. (This used to be commit 42ab865fc937a625d1eece45abe96bf354ddff8b)
2008-09-09Two useful "regshell" improvementsMatthias Dieter Wallnöfer1-8/+6
This patch corrects the "change key" command (Follow up isn't supported yet) and adds a newline in a error message. (This used to be commit d1052dc42ef591208cfbf7059b28a078f6d4f0bf)
2008-08-30Add a setexpiry operation in samdb.pyAndrew Tridgell2-23/+28
This makes it easy to set the expiry (or no expiry) for a samdb user (This used to be commit 25171f18a4b242b5a731f4ac1eefc51cc82efd74)
2008-06-14Use a custom init function for samba4 that sets a samba4Simo Sorce5-7/+7
specific debug function. By default do not debug, this is the most appropriate action for a library as we cannot assume what stderr is use for in the main app. The main app is responsible to set ev_debug_stderr if they so desire. (This used to be commit e566a2f308ac6fb4b526a744f7059b565670aea5)
2008-06-14Use proper python errors.Jelmer Vernooij2-27/+17
(This used to be commit f54084b65fce67457cb838544c83ceb17c7d88db)
2008-05-27Allow external use of regf idl.Jelmer Vernooij1-5/+4
(This used to be commit 7b9b3ec02b27852cc32689a44c7f3fbbe43b7c6b)
2008-05-24Add docstrings to a couple more python modules.Jelmer Vernooij2-1/+9
(This used to be commit b4560c90e5e8d3a35367d3a21d361dc4c9c0de23)
2008-05-23Cope with new event context parameter in API and removed parameters to ↵Jelmer Vernooij1-6/+6
reg_open_local(). (This used to be commit 0d5752c940360a0ceb5e23cd6f71cbc61271137a)
2008-05-23Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into registryJelmer Vernooij18-224/+394
(This used to be commit e8d96b61db1cddc2d8dca45e6e9b53d5c31ee5d4)
2008-05-23add more docstrings to registry python moduleJelmer Vernooij3-14/+100
(This used to be commit 606f92db874c139ba532df53a87cc5b826215d9e)
2008-05-22Fix CFLAGS for SWIG files.Jelmer Vernooij1-1/+1
(This used to be commit 8ee4f075046e0b181ec8a4ac1eaf3ea5621a56bf)
2008-05-21Move more modules inside of the samba package.Jelmer Vernooij2-3/+3
(This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)
2008-05-21Move CFLAGS overrides for SWIG modules to Makefile.Jelmer Vernooij1-0/+2
(This used to be commit 58665a8a8e4b10435aebbf2c95b6a8e50db232d6)
2008-05-21Remove support for .py files from smb_build - deal with it only in the ↵Jelmer Vernooij1-0/+2
makefiles. (This used to be commit b865249efaa58d0fc87fa25491fda3b970af81c3)
2008-05-18Fix a couple (well, little more than that..) of typos.Jelmer Vernooij1-2/+2
(This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
2008-05-18Create prototype headers from Makefile directory, without smb_build in the ↵Jelmer Vernooij1-2/+4
middle. (This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
2008-05-18Use variables for source directory in remaining subsystems.Jelmer Vernooij1-21/+21
(This used to be commit 6b6b2196a8a8d9e741f5c399185ded7a16938da0)
2008-04-25Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij15-184/+264
Conflicts: source/Makefile source/auth/config.mk source/auth/gensec/config.mk source/build/m4/public.m4 source/build/make/python.mk source/build/make/rules.mk source/build/smb_build/header.pm source/build/smb_build/main.pl source/build/smb_build/makefile.pm source/dsdb/config.mk source/dsdb/samdb/ldb_modules/config.mk source/kdc/config.mk source/lib/events/config.mk source/lib/events/events.c source/lib/ldb/config.mk source/lib/nss_wrapper/config.mk source/lib/policy/config.mk source/lib/util/config.mk source/libcli/smb2/config.mk source/libnet/config.mk source/librpc/config.mk source/nbt_server/config.mk source/ntptr/ntptr_base.c source/ntvfs/posix/config.mk source/ntvfs/sysdep/config.mk source/param/config.mk source/rpc_server/config.mk source/rpc_server/service_rpc.c source/scripting/ejs/config.mk source/scripting/python/config.mk source/smb_server/config.mk source/smbd/server.c source/torture/config.mk source/torture/smb2/config.mk source/wrepl_server/config.mk (This used to be commit 13bbd420681519894a4036729c43273912c9b402)
2008-04-17More endian fixes in the registryAndrew Bartlett1-5/+5
(This used to be commit b26662be196a84237543eb90d6e08809489df3a9)
2008-04-17Fix typoAndrew Bartlett1-1/+1
(This used to be commit ba6546504505f19abaa5aa35fe3e469ddfd3d619)
2008-04-17More work to avoid endian bugs in registry tests.Andrew Bartlett1-5/+7
Andrew Bartlett (This used to be commit 500544f4127d4042ab5ea8e3800156246982c297)
2008-04-17Fix bug in registry test on big-endian machines.Andrew Bartlett2-19/+32
Andrew Bartlett (This used to be commit c74c67c38383b43efd707934e8c457b757e49db1)
2008-04-17Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij14-85/+158
(This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
2008-04-16Remove unused arguments from reg_open_local().Jelmer Vernooij9-71/+63
(This used to be commit fee7ea7080ec40182efc6ffe57b267444eb9389a)
2008-04-15Fix const.Jelmer Vernooij2-2/+2
(This used to be commit b74fc23825a54eb101b413ee76b21ee605dfb16c)
2008-04-15Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into registryJelmer Vernooij1-27/+24
(This used to be commit 70ebb22c3df178a26c26c0a25c5722ff9ccdb0b4)
2008-04-15Fix formatting, remove unused function.Jelmer Vernooij1-14/+3
(This used to be commit 6ec206ba58777395b2d1251680b21648f4c0f78e)
2008-04-15More patchfile fixes. Write support should work now.Wilco Baan Hofman2-14/+35
(This used to be commit cc38f2f086b92bbe65bd6e7f4e03fdf7f21ef2f6)
2008-04-15Fix PReg write support.Wilco Baan Hofman4-18/+97
Add tests for patch files (.REG and PReg). (This used to be commit 497977c36c621a4820be51cbcb7b78eac1e292b7)
2008-04-15Fixed the patchfile tests and tidy up the patchfile backends.Wilco Baan Hofman5-32/+226
(This used to be commit 6e9b1e35a269af2eda79356c1525f5413656d648)
2008-04-15Move SOVERSION, VERSION and PC_FILE out of smb_build but use make variables ↵Jelmer Vernooij1-3/+5
directly instead. (This used to be commit 9d0ae012b0b463278cd054d06788aa998acc2da2)
2008-04-14Remove debug stuff.Wilco Baan Hofman1-1/+0
(This used to be commit 7ba2e5dc5b6d82457c298f7ecdb6baea43f04854)
2008-04-14Add support for security descriptors. Also patched the regf backend to ↵Wilco Baan Hofman7-42/+164
support this. Did not touch the ldb, dir and rpc backends yet. (This used to be commit c4626f21a898da27a051f2c67f8fd73f55d4fc7d)
2008-04-14Move object files lists to makefile rather than smb_build.Jelmer Vernooij1-24/+19
(This used to be commit 5628d58990144463fd87f8c847c9384ac2193681)
2008-04-14Attempt to fix the patchfile_preg backend for big endian machines.Wilco Baan Hofman2-6/+10
Update some functions to properly state what is not supported (yet). Registry .reg uses UCS-2, not UTF-16. (This used to be commit 664a035dd9fc6e3b50a771baa98f8d79360cc4c1)
2008-04-13Use torture_assert_mem_equal() in a couple more places.Jelmer Vernooij1-1/+1
(This used to be commit e2c3fab9d1bf0482c15a115e7d373562ffe50b29)
2008-04-13Use new torture_assert_mem_equal.Jelmer Vernooij1-1/+1
(This used to be commit b6319b64d7ef9c58f771f338317d4d525d39a8f2)
2008-04-13Attempt to fix get_value() test on sparc machines.Jelmer Vernooij1-1/+1
(This used to be commit 10102d80d0f78777a69f6b3b1e5606d7d56b7254)
2008-04-08Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij18-290/+232
Conflicts: source/auth/credentials/config.mk source/auth/gensec/config.mk source/build/smb_build/makefile.pm source/heimdal_build/config.mk source/lib/events/config.mk source/lib/nss_wrapper/config.mk source/lib/policy/config.mk source/lib/registry/config.mk source/lib/socket_wrapper/config.mk source/lib/tdb/config.mk source/lib/tls/config.mk source/lib/util/config.mk source/libcli/config.mk source/libcli/ldap/config.mk source/libnet/config.mk source/librpc/config.mk source/param/config.mk source/rpc_server/config.mk source/scripting/ejs/config.mk source/smbd/process_model.mk (This used to be commit 760378e0294dd0cd4523a83448328478632d7e3d)
2008-04-03Install libevents since it's required by samba-gtk.Jelmer Vernooij1-0/+4
(This used to be commit 2073346828ffa1d9c35105eadd7afddd3a76a045)
2008-04-03Fix installation of dcerpc_atsvc and registry as required by samba-gtk.Jelmer Vernooij1-2/+2
(This used to be commit 64a6887ecddc1599bde5dcb06d0b74ffea1def0c)