1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
Commit Graph

22311 Commits

Author SHA1 Message Date
Günther Deschner
5eedaaea43 s4-smbtorture: skip winreg symlink test against Samba in RPC-SPOOLSS.
Guenther
2010-04-09 20:00:56 +02:00
Günther Deschner
bc2e675c3a s4-smbtorture: make sure to check for result of spoolss_GetJob tests.
This avoids returning potentially uninitialised data. Thanks Andreas for
pointing this out.

Guenther
2010-04-09 20:00:56 +02:00
Günther Deschner
1cec3029e5 s4-smbtorture: display helpful error message when winreg_QueryMultipleValues fails.
Guenther
2010-04-09 18:33:45 +02:00
Stefan Metzmacher
bae564b0a3 selftest: make sure filter-subunit and format-subunit use unbuffered io
metze
2010-04-09 16:42:00 +02:00
Stefan Metzmacher
e1faff9071 s4:selftest: mark some smb2.compound tests as knownfail
metze
2010-04-09 16:28:31 +02:00
Stefan Metzmacher
0bf6043df9 RPC-ALTERCONTEXT: let the test pass against w2k3 and w2k8
The behavior between w2k3 and w2k8 differs:
- w2k3 just ignores alter_context requests which try to change
  an existing presentation context.
- w2k8 returns DERPC_NCA_S_PROTO_ERROR and closes the transport
  connection.

metze
2010-04-09 16:28:31 +02:00
Stefan Metzmacher
5844a7dfe6 s4:torture/rpc/lsa.c: add test_lsa_OpenPolicy2_ex() that takes an expected status
metze
2010-04-09 16:28:31 +02:00
Stefan Metzmacher
e95e2e8262 s4:librpc/rpc: correctly initialize last_fault_code for bind and alter_context requests
metze
2010-04-09 16:28:30 +02:00
Stefan Metzmacher
f716c027c6 s4:heimdal_build/wscript_build: we don't need separate subsystems just for optional source files
metze
2010-04-09 16:28:29 +02:00
Stefan Metzmacher
787ecd4023 s4:heimdal_build/wscript_build: remove useless dependecies of HEIMDAL_ROKEN_H
This hopefully fixes the build on host opi - OpenSUSE 10.2 (x86_64).

metze
2010-04-09 16:28:28 +02:00
Stefan Metzmacher
2eaddcd9f2 s4:heimdal_build/wscript_build: create a HEIMDAL_ROKEN*_SOURCE variable
metze
2010-04-09 16:28:28 +02:00
Günther Deschner
48daa0b6ee s4-smbtorture: add test to check for registry symlinks in RPC-SPOOLSS-PRINTER.
Guenther
2010-04-09 16:17:54 +02:00
Günther Deschner
a21be5fc1b s4-smbtorture: fix build after winreg IDL renames, sorry..
Guenther
2010-04-09 14:46:28 +02:00
Jelmer Vernooij
673ca04114 s4-build: Fix autoconf build (net_machinepw.c is no longer present) 2010-04-09 14:21:24 +02:00
Günther Deschner
5d04aadcb9 s4-smbtorture: Fix winreg test after keytype renameing.
Guenther
2010-04-09 13:57:18 +02:00
Günther Deschner
35ef60918b s4-winreg: Fix dcesrv_winreg_CreateKey after rename.
Guenther
2010-04-09 13:57:18 +02:00
Günther Deschner
8c593f6355 s4-smbtorture: when creating winreg-symlinks during a test, it is very wise to make them volatile.
Guenther
2010-04-09 13:57:17 +02:00
Günther Deschner
299a6ffe9e s4-smbtorture: winreg keytype options is a bitmask.
Guenther
2010-04-09 13:57:17 +02:00
Günther Deschner
bc9289995a s4-smbtorture: more work on registry REG_LINK (in-registry symlinks) test.
Guenther
2010-04-09 13:57:17 +02:00
Andrew Tridgell
92a051ef2f s4-waf: only enable the python uuid module if python <= 2.4 2010-04-09 21:26:28 +10:00
Andrew Tridgell
a591b8497d s4-waf: added --gdbtest option for waf test 2010-04-09 20:44:25 +10:00
Jelmer Vernooij
0d92dd1074 s4-net: Cope with options without arguments. 2010-04-09 11:53:00 +02:00
Jelmer Vernooij
410527f936 s4-net: 'net user create' -> 'net user add', for backwards compatibility. 2010-04-09 11:53:00 +02:00
Jelmer Vernooij
ececb73262 Support --version in python scripts. 2010-04-09 11:53:00 +02:00
Jelmer Vernooij
9af8d02b22 s4-net: Convert machinepw command to python. 2010-04-09 11:53:00 +02:00
Jelmer Vernooij
f83aa13f62 s4-net: Convert vampire command over to Python. 2010-04-09 11:53:00 +02:00
Jelmer Vernooij
ffa73c412e s4-net: Convert user subcommand to Python. 2010-04-09 11:53:00 +02:00
Kamen Mazdrashki
8149094edd s4/dsdb: Set schemaInfo attribute value during provisioning
After provisioning new Forest, schemaInfo should be set
to a value with revision=1 and current invocation_id
2010-04-09 12:21:34 +03:00
Kamen Mazdrashki
4ba2ac073d s4/dsdb: split writing of schemaInfo blob in two parts
ldb_msg preparation is moved into separate function
so that it can be used for implementing schemaInfo
updates both on module stack (dsdb_module_... functions)
and directly on ldb_context
2010-04-09 12:21:33 +03:00
Kamen Mazdrashki
fbef33fb73 s4/dsdb: Let caller to control if valid invocationId is critical or zero-guid is acceptable 2010-04-09 12:21:33 +03:00
Kamen Mazdrashki
2763a4ac4e s4/test: Add DRS-UNIT test suite to 'quicktests' list 2010-04-09 12:21:32 +03:00
Kamen Mazdrashki
5363b6e68b s4/dsdb: Use dsdb_schema_info object to create default schemaInfo values 2010-04-09 12:21:32 +03:00
Kamen Mazdrashki
c3d7798991 s4/dsdb: Use dsdb_schema_info object to verify schema_info blobs 2010-04-09 12:21:31 +03:00
Kamen Mazdrashki
e5ef11f4e2 s4/test: Use drsut_schemainfo_new() instead of SCHEMA_INFO_DEFAULT local define 2010-04-09 12:21:31 +03:00
Kamen Mazdrashki
15921b669e s4/waf: add new files to WAF build 2010-04-09 12:21:31 +03:00
Kamen Mazdrashki
6d439afbf7 s4/samldb: schemaInfo attribute must be updated when adding new Schema object 2010-04-09 12:21:30 +03:00
Kamen Mazdrashki
7f0da64a49 s4/test: add shemaInfo torture test to automated test suite 2010-04-09 12:21:30 +03:00
Kamen Mazdrashki
08dd0d0b54 s4/schema: Torture test for schemaInfo implementation
This test checks if schemaInfo revision changes when an object
is added or modified in Schema.

Ref. [MS-ADTS], 3.1.1.2.1
2010-04-09 12:21:29 +03:00
Kamen Mazdrashki
80d8f37b26 s4/was: Add 'drsblobs' Python module 2010-04-09 12:21:29 +03:00
Kamen Mazdrashki
3629fb9927 s4: Add 'drsblobs' Python module
This module is be very useful when it comes to making
torture tests.
2010-04-09 12:21:28 +03:00
Kamen Mazdrashki
526e62c46f s4/tort: Unit test for schemaInfo implementation 2010-04-09 12:21:27 +03:00
Kamen Mazdrashki
9d1f8bcca9 s4/dsdb: dsdb_schema_info object implementation 2010-04-09 12:21:26 +03:00
Kamen Mazdrashki
37a6b66344 s4/dsdb: Define dsdb representation for schemaInfo attribute 2010-04-09 12:21:25 +03:00
Kamen Mazdrashki
6e7be5f4d1 s4/ldif: Handle Schema:schemaInfo blobs 2010-04-09 12:21:25 +03:00
Karolin Seeger
deccb6cf9a s4-krb5: Fix typos in comment.
Karolin
2010-04-09 09:24:28 +02:00
Kamen Mazdrashki
8126c78c76 s4/torture: Suppress Valgrind warnings
This patch suppresses two Valgrind warnings of type
"xxx bytes in yy blocks are indirectly lost in loss record"
2010-04-09 02:45:08 +03:00
Günther Deschner
846813797d s4-winreg: add winreg_DeleteKeyEx stub.
Guenther
2010-04-09 00:27:58 +02:00
Matthias Dieter Wallnöfer
0a154b940d s4:registry - "patchfile_preg.c" - assign a better type to the "i" counter variable
The "i" variable sums up "size" values which are of type "size_t". Therefore
also "i" itself should be from this type.
2010-04-08 23:57:35 +02:00
Matthias Dieter Wallnöfer
aa9e782a4d s4:registry - "patchfile_preg.c" - make a SIVAL statement nicer 2010-04-08 23:57:34 +02:00
Jelmer Vernooij
26d928e948 s4-net: Convert 'net time' to python. 2010-04-08 23:41:08 +02:00