1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-17 04:23:50 +03:00
Commit Graph

35 Commits

Author SHA1 Message Date
Jelmer Vernooij
98ebdbe52f registry: Use correct return values. 2008-01-18 03:42:00 +01:00
Jelmer Vernooij
434e4857ce registry: Avoid mapping registry return codes: return the right value in the first place. 2008-01-18 03:42:00 +01:00
Jelmer Vernooij
1e31fcb8a0 registry: Improve error codes and update tests.
Rather than map the error returned by the registry to the correct error,
return the correct error in the first place.

Also deal with the fact that the right error code is now returned in a
couple of places.
2008-01-18 03:41:59 +01:00
Jelmer Vernooij
b06896d237 r26689: registry: Return max_subkeynamelen, max_valnamelen and max_valbufsize in getkeyinfo(). 2008-01-07 08:18:07 -06:00
Jelmer Vernooij
bcd8f50f79 r26665: registry: Fix tests on bigendian machines. 2008-01-05 08:06:04 -06:00
Jelmer Vernooij
2227fb6df6 r26596: Fixed upgrade.py.
Added blackbox tests for provision and upgrade Python scripts.
Clean up temporary files created by the Python tests.
2007-12-26 11:57:08 -06:00
Kai Blin
1ae9cde510 r26589: torture: Add non-const version of torture_tcase_add_simple_test 2007-12-26 11:57:05 -06:00
Kai Blin
e59c2eaf68 r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.
Also rename the corresponding wrap_ functions.
2007-12-26 11:57:05 -06:00
Jelmer Vernooij
c550c03372 r26570: - Trim size of the swig-generated Python bindings by removing a bunch of {}'s.
- Start working on Python equivalents for various EJS tests.
- Fix regression in argument order for reg_diff_apply() in EJS bindings.
2007-12-24 01:51:03 -06:00
Jelmer Vernooij
485d1fa3d1 r26565: Fix python registry bindings. 'PROVISION_PYTHON=yes make test' works now. 2007-12-24 01:51:01 -06:00
Jelmer Vernooij
f40fad9827 r26564: More python bindings for registry code. 2007-12-24 01:51:01 -06:00
Kai Blin
46dfa63d4f 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.
2007-12-21 05:50:16 +01:00
Jelmer Vernooij
8242c69623 r26443: Remove global_loadparm instances. 2007-12-21 05:50:11 +01:00
Jelmer Vernooij
bf072c6fb3 r26427: Avoid global_smb_iconv_convenience. 2007-12-21 05:49:53 +01:00
Jelmer Vernooij
f6420d933b r26316: Use contexts for conversion functions. 2007-12-21 05:48:30 +01:00
Jelmer Vernooij
777205b570 r26073: Import Python bindings for the registry. 2007-12-21 05:45:53 +01:00
Jelmer Vernooij
b311094714 r25935: Fix registry tests. 2007-12-21 05:45:09 +01:00
Jelmer Vernooij
f250ae0c36 r25932: Remove unnecessary include - should fix the build on hosts without popt. 2007-12-21 05:45:07 +01:00
Jelmer Vernooij
41dcd8c261 r25930: fix test name 2007-12-21 05:45:06 +01:00
Jelmer Vernooij
c6b1090408 r25928: Split up torture-local a bit. 2007-12-21 05:45:06 +01:00
Günther Deschner
947fff9941 r25803: Make our security descriptor acl manipulation methods more generic so that we
can add and delete ACEs for SACLs as well as for DACLs.

Guenther
2007-12-21 05:44:06 +01:00
Stefan Metzmacher
1d2bc79aa5 r25613: verify the length and type before checking the value,
hopefully gives more info why this fails some bigendian
platforms

metze
2007-12-21 05:42:53 +01:00
Günther Deschner
7dd0d28d25 r25607: Allow to set security descriptor type flags at creation time with
security_descriptor_create().

Guenther
2007-12-21 05:42:51 +01:00
Günther Deschner
ceb2ebfbf1 r25605: Last round of registry reformats (before this gets an obsession...).
Guenther
2007-12-21 05:42:49 +01:00
Stefan Metzmacher
c2b645c876 r25112: make torture_temp_dir() available via tortore/torture.h
and return more detailed errors

metze
2007-10-10 15:06:41 -05:00
Jelmer Vernooij
df9cebcb97 r25035: Fix some more warnings, use service pointer rather than service number in more places. 2007-10-10 15:05:43 -05:00
Jelmer Vernooij
527ea7fccf r24898: Fix LOCAL-REGISTRY, do not silently ignore testcase setup failures. 2007-10-10 15:03:33 -05:00
Jelmer Vernooij
ecdfaf56c0 r24726: Add tests for getting/setting security descriptors (still failing at the moment) 2007-10-10 15:02:57 -05:00
Jelmer Vernooij
08f7389ab7 r24718: Fix some compiler warnings. 2007-10-10 15:02:55 -05:00
Jelmer Vernooij
c87576743b r24683: Add two more tests. 2007-10-10 15:02:41 -05:00
Jelmer Vernooij
40c1635b39 r24674: Make sure results are always on a new line, fix typo in test name. 2007-10-10 15:02:37 -05:00
Jelmer Vernooij
7a1eec6358 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
2007-10-10 15:02:34 -05:00
Andrew Tridgell
fcf38a38ac r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Jelmer Vernooij
0ae6d18ebe r21685: Add some unit tests for the registry utility functions. 2007-10-10 14:49:11 -05:00
Jelmer Vernooij
4d755fb5d7 r21656: Move tests a bit closer to the things they test, should make syncing with samba3 easier. 2007-10-10 14:49:05 -05:00