1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-22 05:57:43 +03:00

22252 Commits

Author SHA1 Message Date
Jelmer Vernooij
d7a46ee129 s4-python: Simplify code, improve formatting. 2010-04-08 23:20:36 +02:00
Jelmer Vernooij
be4b688175 s4-python: Remove obsolete and broken torture modules.
The functionality of these modules is already present in a more current
form in other modules.
2010-04-08 23:20:35 +02:00
Jelmer Vernooij
19e1537fdf testr: Use waf test runner. 2010-04-08 23:20:35 +02:00
Jelmer Vernooij
d0c25157e9 selftest: Add --filtered-subunit option. 2010-04-08 23:20:35 +02:00
Jelmer Vernooij
b59ba79b95 s4-waf: Support --load-list option. 2010-04-08 23:20:35 +02:00
Jelmer Vernooij
4f2d8d6ace s4-python: samdb: Default to using global schema. 2010-04-08 23:20:35 +02:00
Endi S. Dewata
5d5fc92c69 s4:dsdb - Handle INVALID_DN_SYNTAX from OpenLDAP in dsdb_module_load_partition_usn().
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-04-08 22:59:10 +02:00
Jelmer Vernooij
7f65f77b4d Update waf build. 2010-04-08 22:46:02 +02:00
Jelmer Vernooij
cf17d48dec Migrate 'net export keytab' to python. 2010-04-08 22:37:35 +02:00
Günther Deschner
1c4c4dd7e0 s4-smbtorture: protect against full UNC paths in winreg printerinfo test.
Guenther
2010-04-08 16:14:20 +02:00
Matthias Dieter Wallnöfer
ef3490e799 s4:registry - "REGF backend" - don't ignore wrong-sized REG_DWORD/REG_DWORD_BIG_ENDIAN values 2010-04-08 15:29:40 +02:00
Günther Deschner
16deed7199 s4-smbtorture: add PrinterInfo level 2 / winreg consistency test.
This compares PrinterInfo2 with contents of
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\printername and
HKLM\SYSTEM\CurrentControlSet\Control\Print\Printers\printername

Guenther
2010-04-08 15:03:56 +02:00
Günther Deschner
f87a18ec3b s4-smbtorture: minor cleanup, use data_blob_talloc_zero() in RPC-SPOOLSS.
Guenther
2010-04-08 15:03:56 +02:00
Matthias Dieter Wallnöfer
f3f82496ac s4:WAF buildsystem - support out of "source4" directory builds
Bug: https://bugzilla.samba.org/show_bug.cgi?id=4081

With this patch we are able to invoke s4 builds from the outside of the
"source4" directory (but the target remains the "source4/bin" path).

One constraint: all commands: "autogen-waf.sh", "configure", "make" have to be
run from the same directory!
Regarding "make": you have to run it using "make -C <source4 path> [targets]" if
the invoke directory is not "source4" itself.
2010-04-08 14:14:24 +02:00
Matthias Dieter Wallnöfer
e2aec9d81f s4:registry - "patchfile_preg.c" - fix the read operation of the data length on big-endian platforms 2010-04-08 12:27:27 +02:00
Matthias Dieter Wallnöfer
2164ba51e2 s4:registry - "patchfile_preg.c" - use "sizeof(uint32_t)" for some size specifications
Looks nicer.
2010-04-08 12:27:27 +02:00
Jelmer Vernooij
479fd9c03f s4-net: Simplify SamDB connect code. 2010-04-08 12:21:35 +02:00
Jelmer Vernooij
2578072541 s4-python: Move set_global_schema to pydsdb. 2010-04-08 12:21:35 +02:00
Günther Deschner
0ec6f297ee s4-smbtorture: minor typo in SetJob test in RPC-SPOOLSS.
Guenther
2010-04-07 23:53:19 +02:00
Thomas Nagy
7f3116a63d build: allow the waf build to work with python 3.0 and 3.1
Python 3.x is a bit fussier about print statements and indentation.

Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-08 07:46:39 +10:00
Matthias Dieter Wallnöfer
64957ce068 LDB:sample_module - reintroduce accidentally removed "ldb_msg_add_fmt" statement
Obviously this is really needed by the "samba4.ldb" test.
2010-04-07 23:06:02 +02:00
Jelmer Vernooij
472860c9a7 Move configure_check_unused script to root scriptdir, as it is useful
for both s3 and s4.
2010-04-07 22:53:39 +02:00
Jelmer Vernooij
36474e5867 s4: Remove unused pkg-config replacement in perl. 2010-04-07 22:53:39 +02:00
Matthias Dieter Wallnöfer
baf81a0e08 LDB:python bindings - also empty LDB message elements should have a python representation
Bug found by ekacnet (see technical mailing list).
2010-04-07 20:40:06 +02:00
Matthias Dieter Wallnöfer
79fccc45bc s4:registry - "regf backend" - fix it up regarding REG_DWORD/REG_DWORD_BIG_ENDIAN_VALUES
This is needed to make it platform independently work (also on big endian
platforms as little endian).

Also add a size check before storing a DWORD.
2010-04-07 20:22:57 +02:00
Matthias Dieter Wallnöfer
8ae956d7ba s4:winbind/wb_server.c - fix indentation 2010-04-07 19:37:35 +02:00
Jeremy Allison
40172f374b Test using (-1) for tid and sessionid in compound related requests.
Jeremy.
2010-04-07 10:33:02 -07:00
Jelmer Vernooij
c76bd65b60 s4-samdb: Allow skipping global schema. 2010-04-07 17:40:00 +02:00
Jelmer Vernooij
feeedf49cf s4-provision: Proper handling of exceptions, use SamDB class but skip global schema. 2010-04-07 17:39:59 +02:00
Jelmer Vernooij
21ab06f8a2 s4-python: Move samdb_ntds_objectGUID to pydsdb. 2010-04-07 17:39:59 +02:00
Jelmer Vernooij
fe4b212eba urgent_replication: Use standard comments rather than docstrings. 2010-04-07 17:39:59 +02:00
Matthias Dieter Wallnöfer
acfd02574b s4:pyregistry.c - fix indentation 2010-04-07 15:05:19 +02:00
Matthias Dieter Wallnöfer
fa4d91e1e0 s4:provision - add a comment which explains why "paths.dns_keytab" is stored without path reference 2010-04-07 15:05:18 +02:00
Günther Deschner
345fcf5875 s4-smbtorture: test for invalid form flags in RPC-SPOOLSS.
Guenther
2010-04-07 14:56:07 +02:00
Günther Deschner
f63c345bbd s4-smbtorture: test all types and also use a wellknown builtin form name in RPC-SPOOLSS.
Guenther
2010-04-07 14:41:13 +02:00
Günther Deschner
4712940e7c s4-smbtorture: merge badname spoolss openprinter tests.
Guenther
2010-04-07 11:40:41 +02:00
Günther Deschner
8bb30ffcf6 s4-smbtorture: avoid passing down a full test_spoolss_context to directory
spoolss tests when not used.

Guenther
2010-04-07 11:40:31 +02:00
Jelmer Vernooij
c349aa3619 s4-python: Use standard infrastructure for finding included testtools, subunit and iso8601. 2010-04-07 00:29:28 +02:00
Günther Deschner
4d482d9c19 s4-smbtorture: more work on forms tests in RPC-SPOOLSS.
Guenther
2010-04-06 21:13:19 +02:00
Matthias Dieter Wallnöfer
91ce32b4c4 s4:param/secrets.c - add some "char *" casts
Also this quiets some warnings.
2010-04-06 14:54:11 +02:00
Matthias Dieter Wallnöfer
2859b9df99 s4:net tool - add a "discard_const_p" to suppress the "PySys_SetArgv" warning 2010-04-06 14:54:11 +02:00
Matthias Dieter Wallnöfer
5b824eb17b s4:torture - remove unused variables 2010-04-06 14:54:11 +02:00
Matthias Dieter Wallnöfer
b7b464eeee s4:auth/ntlm/auth_developer.c - "fixed_challenge_get_challenge" - fix the assignment of the challenge
This is a string buffer and not a DATA_BLOB.
2010-04-06 14:54:10 +02:00
Matthias Dieter Wallnöfer
0086db6c0c LDB:sample_module.c - remove code parts which generate warnings
Btw: The use of the "ldb_msg_add_fmt" operation directly on the request message
object is strongly discouraged. Better is to make a shallow copy of this message
and attach it to a new child request which is handled by the following modules.
2010-04-06 14:54:10 +02:00
Jelmer Vernooij
5f080d8e03 s4-python: Fix compilation of samba._ldb. 2010-04-06 14:24:45 +02:00
Jelmer Vernooij
449bdf3543 s4-python: Move set_session_info to PySambaLdb. 2010-04-06 13:12:43 +02:00
Jelmer Vernooij
55b98e9768 s4-python: Move register_samba_handlers to PySambaLdb. 2010-04-06 13:12:43 +02:00
Jelmer Vernooij
e9c3f2ef13 s4-python: Move ldb_set_utf8_casefold to pyldb-samba. 2010-04-06 13:12:43 +02:00
Jelmer Vernooij
ae97613499 s4-python: Move set_opaque_integer to pyldb. 2010-04-06 13:12:43 +02:00
Jelmer Vernooij
b72a5c0336 Move glue.set_credentials hack to samba.Ldb. 2010-04-06 13:12:43 +02:00