Eduardo Lima [Wed, 31 Mar 2010 14:54:09 +0000 (31 11:54 -0300)]
s4-drs: additional delete test cases
Stefan Metzmacher [Wed, 31 Mar 2010 02:54:41 +0000 (31 04:54 +0200)]
s3:smbd: handle SMB2 in deadtime_fn() and avoid disconnecting non idle clients
metze
Jelmer Vernooij [Wed, 31 Mar 2010 02:52:13 +0000 (31 04:52 +0200)]
selftest: Update sys.path before attempting to import external modules.
Jelmer Vernooij [Wed, 31 Mar 2010 02:51:05 +0000 (31 04:51 +0200)]
selftest: Make sure format-subunit and filter-subunit can find testtools/subunit.
Jelmer Vernooij [Wed, 31 Mar 2010 02:24:04 +0000 (31 04:24 +0200)]
subunit: Include remainder of bindings and metadata.
Jelmer Vernooij [Wed, 31 Mar 2010 02:19:36 +0000 (31 04:19 +0200)]
testtools: Fix included testtools, for systems that don't have it.
Jelmer Vernooij [Wed, 31 Mar 2010 01:56:24 +0000 (31 03:56 +0200)]
s4-python: Install external included packages only if they're not present on the system.
Jelmer Vernooij [Wed, 31 Mar 2010 01:47:10 +0000 (31 03:47 +0200)]
installmisc: Support DESTDIR for Python directories.
Jelmer Vernooij [Wed, 31 Mar 2010 01:34:50 +0000 (31 03:34 +0200)]
format-subunit: Hide reason if it is None.
Jelmer Vernooij [Wed, 31 Mar 2010 01:32:23 +0000 (31 03:32 +0200)]
format-subunit: Don't show reason at all if it is None.
Jelmer Vernooij [Wed, 31 Mar 2010 01:19:18 +0000 (31 03:19 +0200)]
Put testtools directly under lib/ to make it easier to install from Samba 4.
Jelmer Vernooij [Wed, 31 Mar 2010 01:15:24 +0000 (31 03:15 +0200)]
samba_external: Simplify script to find missing external packages; include subunit and testtools as well.
Jelmer Vernooij [Wed, 31 Mar 2010 00:57:47 +0000 (31 02:57 +0200)]
smbtorture: Report number of available tests in a testsuite using subunit.
Jelmer Vernooij [Tue, 30 Mar 2010 13:03:41 +0000 (30 15:03 +0200)]
subunit: Also import copies of filters and perl module.
Jelmer Vernooij [Tue, 30 Mar 2010 12:44:37 +0000 (30 14:44 +0200)]
selftest: Use boolean types in Python.
Jelmer Vernooij [Tue, 30 Mar 2010 12:42:23 +0000 (30 14:42 +0200)]
selftest: Use standard subunit command for progress reporting.
Jelmer Vernooij [Tue, 30 Mar 2010 12:36:25 +0000 (30 14:36 +0200)]
selftest: Support parsing progress in format-subunit/filter-subunit.
Jelmer Vernooij [Tue, 30 Mar 2010 12:30:08 +0000 (30 14:30 +0200)]
selftest: Use standard subunit commands for progress reporting.
Jelmer Vernooij [Tue, 30 Mar 2010 12:15:38 +0000 (30 14:15 +0200)]
s4-selftest: Fix xfail for base.delete.
Jelmer Vernooij [Tue, 30 Mar 2010 12:02:36 +0000 (30 14:02 +0200)]
selftest: Use absolute tests names in knownfail.
Jelmer Vernooij [Tue, 30 Mar 2010 10:46:26 +0000 (30 12:46 +0200)]
selftest: Convert filter-subunit to Python so the subunit Python module
can be used later.
Jelmer Vernooij [Tue, 30 Mar 2010 00:39:50 +0000 (30 02:39 +0200)]
format-subunit: Avoid printing backtrace on Ctrl-C.
Andrew Tridgell [Tue, 30 Mar 2010 22:18:09 +0000 (31 09:18 +1100)]
s4-torture: removed more uses of typeof()
not portable
Andrew Tridgell [Tue, 30 Mar 2010 22:00:54 +0000 (31 09:00 +1100)]
s4-torture: using typeof() is not portable
this failed to compile on solaris8 with cc
Jeremy Allison [Tue, 30 Mar 2010 22:27:26 +0000 (30 15:27 -0700)]
Fix for bug #7233 - print fails with jobs >4GB from Win7 clients.
Contains for by Sebastian Kloska <oncaphillis@snafu.de>. Submitter
confirms this fixes the problem.
Jeremy.
Simo Sorce [Fri, 26 Feb 2010 02:41:09 +0000 (25 21:41 -0500)]
s4:lsa implement lsaRSetForestTrustInformation
Jeremy Allison [Tue, 30 Mar 2010 20:45:53 +0000 (30 13:45 -0700)]
If the timeout has been set to zero, don't register an end time.
The caller doesn't want a timeout.
Jeremy.
Matthias Dieter Wallnöfer [Tue, 30 Mar 2010 19:57:52 +0000 (30 21:57 +0200)]
wbclient/wbclient.c - fix a typo
Matthias Dieter Wallnöfer [Tue, 30 Mar 2010 17:08:57 +0000 (30 19:08 +0200)]
libcli/nbt/dns_hosts_file.c - change "ULONG_MAX" into "UINT32_MAX"
This fits better since the variable which is tested is of type "uint32_t".
Matthias Dieter Wallnöfer [Tue, 30 Mar 2010 15:42:51 +0000 (30 17:42 +0200)]
s4:gensec_gssapi.c - make sure that "GSS_C_DELEG_POLICY_FLAG" is available
FreeBSD 7.2 needs this.
Matthias Dieter Wallnöfer [Tue, 30 Mar 2010 15:24:15 +0000 (30 17:24 +0200)]
s4:torture/basic/denytest.c - use "typeof" in a better supported syntax
This should make it compatible with the SUN Studio C Compiler.
Matthias Dieter Wallnöfer [Tue, 30 Mar 2010 11:02:27 +0000 (30 13:02 +0200)]
s4:registry/tests/diff.c - try to make also this test compatible with big-endian platforms
Matthias Dieter Wallnöfer [Tue, 30 Mar 2010 10:46:56 +0000 (30 12:46 +0200)]
s4:registry/tests/hive.c - make the test compatible with big-endian platforms
Andrew Tridgell [Tue, 30 Mar 2010 07:12:46 +0000 (30 18:12 +1100)]
replace: allow memmem() with an empty string to return NULL
This is how FreeBSD behaves. We don't rely on it returning the string
in Samba.
Stefan Metzmacher [Tue, 30 Mar 2010 07:50:09 +0000 (30 09:50 +0200)]
s3:libads: retry with signing after getting LDAP_STRONG_AUTH_REQUIRED
If server requires LDAP signing we're getting LDAP_STRONG_AUTH_REQUIRED,
if "client ldap sasl wrapping = plain", instead of failing we now
autoupgrade to "client ldap sasl wrapping = sign" for the given connection.
metze
Andrew Tridgell [Tue, 30 Mar 2010 05:27:09 +0000 (30 16:27 +1100)]
selftest: reason may be None
jelmer, please check
Andrew Tridgell [Tue, 30 Mar 2010 04:36:17 +0000 (30 15:36 +1100)]
s4-test: oLschema2ldif doesn't take -H any more
Andrew Tridgell [Tue, 30 Mar 2010 01:08:52 +0000 (30 12:08 +1100)]
s4-heimdal: use the HAVE_INET_* functions from libreplace
Andrew Tridgell [Mon, 29 Mar 2010 13:07:10 +0000 (30 00:07 +1100)]
s4-heimdal: for use of libreplace setegid and seteuid
Andrew Tridgell [Tue, 30 Mar 2010 00:55:10 +0000 (30 11:55 +1100)]
charset: look for the codepages in the right place
selftest runs from source3/source4. The codepages when not installed
are in ../codepages
Andrew Tridgell [Mon, 29 Mar 2010 11:47:34 +0000 (29 22:47 +1100)]
s4-heimdal: a better way of handling dirfd()
This prevents us getting thousands of warnings about dirfd() on
solaris
Jelmer Vernooij [Mon, 29 Mar 2010 23:00:16 +0000 (30 01:00 +0200)]
selftest: Remove diff-subunit - it's included in subunit and not necessary for normal operation.
Jelmer Vernooij [Mon, 29 Mar 2010 22:59:04 +0000 (30 00:59 +0200)]
format-subunit: Improve formatting, simplify code.
Jelmer Vernooij [Mon, 29 Mar 2010 22:30:52 +0000 (30 00:30 +0200)]
selftest: Replace perl subunit formatter with python subunit formatter,
so we can leverage the work happening in python-subunit.
Jelmer Vernooij [Mon, 29 Mar 2010 20:25:25 +0000 (29 22:25 +0200)]
selftest: Convert format-subunit to Python.
Jeremy Allison [Mon, 29 Mar 2010 21:24:18 +0000 (29 14:24 -0700)]
Fix bug 7307 - man net usershare mistake
Fix bad usage message, reported by headset001@yahoo.com.
Jeremy.
Matthias Dieter Wallnöfer [Mon, 29 Mar 2010 20:23:53 +0000 (29 22:23 +0200)]
s4:installmisc.sh - fix location of "dnspython" library
Stefan Metzmacher [Mon, 29 Mar 2010 20:03:55 +0000 (29 22:03 +0200)]
s3:winbindd: correctly retry if the netlogon pipe gets disconnected during a logon call
This fixes hopefully the last part of bug #7295.
metze
Matthias Dieter Wallnöfer [Mon, 29 Mar 2010 19:52:12 +0000 (29 21:52 +0200)]
s4:registry/util.c - remove those "talloc_free"s
They're not really necessary.
Matthias Dieter Wallnöfer [Mon, 29 Mar 2010 19:27:18 +0000 (29 21:27 +0200)]
s4:registry/tests/generic.c - fix the DWORD_* types test to work also against big endian platforms
Matthias Dieter Wallnöfer [Mon, 29 Mar 2010 19:16:44 +0000 (29 21:16 +0200)]
s4:.gitignore - update it for the new heimdal release
Matthias Dieter Wallnöfer [Mon, 29 Mar 2010 19:09:23 +0000 (29 21:09 +0200)]
s4:registry/ldb.c - Break with "NULL" as an error case when the data doesn't fit in the "reg_ldb_pack_value" function
Matthias Dieter Wallnöfer [Mon, 29 Mar 2010 18:53:38 +0000 (29 20:53 +0200)]
s4:registry/ldb.c - Always check the "name" attribute for != NULL
If it's NULL return invalid parameter as Windows does. The name is "" if it
refers to the default value.
Matthias Dieter Wallnöfer [Mon, 29 Mar 2010 18:36:32 +0000 (29 20:36 +0200)]
s4:registry - move the UTF16 length calculation for "reg_key_get_info" into the RPC server code
It does fit better there.
Matthias Dieter Wallnöfer [Mon, 29 Mar 2010 17:55:16 +0000 (29 19:55 +0200)]
s4:registry/util.c - fix indentation
Matthias Dieter Wallnöfer [Mon, 29 Mar 2010 17:45:33 +0000 (29 19:45 +0200)]
howto4.txt - improve the content of chapter 2bis
Matthieu Patou [Wed, 24 Mar 2010 13:47:24 +0000 (24 16:47 +0300)]
s4: complete the build instruction because the problem with the idl_full cames very often
Matthias Dieter Wallnöfer [Mon, 29 Mar 2010 17:28:27 +0000 (29 19:28 +0200)]
WHATSNEW4.txt - updates
Update the file content.
Matthieu Patou [Wed, 24 Mar 2010 10:28:27 +0000 (24 13:28 +0300)]
Add partial information in whatsnew for the next release
Jelmer Vernooij [Mon, 29 Mar 2010 16:43:38 +0000 (29 18:43 +0200)]
registry: Fix compilation.
Wilco Baan Hofman [Sun, 28 Mar 2010 15:07:09 +0000 (28 17:07 +0200)]
Revert reordering from commit
51bedf939568717424edd7732e1e315faa333849
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Wilco Baan Hofman [Sun, 28 Mar 2010 15:03:08 +0000 (28 17:03 +0200)]
Revert "s4:registry - util.c - add harder checks for inputs on "reg_val_data_string""
This reverts commit
eb8c8a0ecaa9bfd29f090db21fccdad7751767ae.
Conflicts:
source4/lib/registry/util.c
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Wilco Baan Hofman [Sun, 28 Mar 2010 14:46:53 +0000 (28 16:46 +0200)]
Revert "s4:registry - util.c - move the "REG_NONE" case in the conversion functions on top of the switch"
This reverts commit
4e6c0e1f6f37a7e04d10dbf7abbf626f52232aaf.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Wilco Baan Hofman [Sun, 28 Mar 2010 14:46:30 +0000 (28 16:46 +0200)]
Revert "s4:registry - util.c - treat unsupported and binary values as the same in the conversion functions"
This reverts commit
cc3eec1681bb6d614e688f51e48bd76f6d513e67.
Conflicts:
source4/lib/registry/util.c
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Wilco Baan Hofman [Sun, 28 Mar 2010 14:30:43 +0000 (28 16:30 +0200)]
Revert "s4:registry - adaptions for "add memory contexts for delete value/key functions""
This reverts commit
43170dafbcbe7464bce9b4c6d76532d7d0bf5b9a.
Conflicts:
source4/lib/registry/dir.c
source4/lib/registry/util.c
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Wilco Baan Hofman [Sun, 28 Mar 2010 14:18:46 +0000 (28 16:18 +0200)]
Revert "s4:registry - "util" - make "reg_key_add_abs" consistent with "reg_key_del_abs""
This reverts commit
9d8592978e28c492d971a3b5a4c0133febc149ea.
Conflicts:
source4/lib/registry/util.c
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Wilco Baan Hofman [Sun, 28 Mar 2010 14:12:22 +0000 (28 16:12 +0200)]
Revert of commit
5b6ad54f43741c0c25b35e44cafe5fed352ff133 in registry.h
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Wilco Baan Hofman [Sun, 28 Mar 2010 14:03:12 +0000 (28 16:03 +0200)]
Remove incorrect const, something that was correct in commit
9c3e6249fd984b823a77cab0514601d2a487920a
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Wilco Baan Hofman [Sun, 28 Mar 2010 13:59:53 +0000 (28 15:59 +0200)]
Revert "s4:registry - "util" - remove "const" from "reg_abs_path""
This reverts commit
9c3e6249fd984b823a77cab0514601d2a487920a.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Stefan Metzmacher [Thu, 25 Mar 2010 14:54:29 +0000 (25 15:54 +0100)]
s3:rpc_client: remove more unused code
metze
Stefan Metzmacher [Thu, 25 Mar 2010 14:29:05 +0000 (25 15:29 +0100)]
s3:rpc_client: remove unused code, we handle transport failures in the transport layer now
metze
Stefan Metzmacher [Mon, 29 Mar 2010 14:31:13 +0000 (29 16:31 +0200)]
s3:winbindd_reconnect: don't only reconnect on NT_STATUS_UNSUCCESSFUL
metze
Stefan Metzmacher [Thu, 25 Mar 2010 14:25:47 +0000 (25 15:25 +0100)]
s3:winbindd_cm: invalidate connection if cm_connect_netlogon() fails
metze
Stefan Metzmacher [Thu, 25 Mar 2010 14:17:07 +0000 (25 15:17 +0100)]
s3:winbindd: consistently use TALLOC_FREE(conn->foo_pipe) is we create a new connection
metze
Stefan Metzmacher [Thu, 25 Mar 2010 14:15:57 +0000 (25 15:15 +0100)]
s3:winbindd_cm: use rpccli_is_connected() helper function
metze
Stefan Metzmacher [Thu, 25 Mar 2010 14:14:02 +0000 (25 15:14 +0100)]
s3:winbindd_cm: use cli_state_is_connected() helper function
metze
Stefan Metzmacher [Sun, 28 Mar 2010 17:34:34 +0000 (28 19:34 +0200)]
s3:rpc_client: return at least 10 sec as old timeout in rpccli_set_timeout() instead of 0
metze
Stefan Metzmacher [Thu, 25 Mar 2010 14:51:51 +0000 (25 15:51 +0100)]
s3:rpc_client: add set_timeout hook to rpc_cli_transport
metze
Stefan Metzmacher [Thu, 25 Mar 2010 14:00:38 +0000 (25 15:00 +0100)]
s3:rpc_client: add rpccli_is_connected()
metze
Stefan Metzmacher [Mon, 29 Mar 2010 12:58:19 +0000 (29 14:58 +0200)]
s3:rpc_client: don't mix layers and keep a reference to cli_state in the caller
We should not rely on the backend to have a reference to the cli_state.
This will make it possible for the backend to set its cli_state reference
to NULL, when the transport is dead.
metze
Stefan Metzmacher [Thu, 25 Mar 2010 13:10:25 +0000 (25 14:10 +0100)]
s3:rpc_transport_np: add comment about bad usage in a destructor
metze
Stefan Metzmacher [Thu, 25 Mar 2010 13:08:42 +0000 (25 14:08 +0100)]
s3:rpc_transport_np: use cli_state_is_connected() helper
metze
Stefan Metzmacher [Thu, 25 Mar 2010 12:20:56 +0000 (25 13:20 +0100)]
s3:libsmb: add cli_state_is_connected() function
metze
Stefan Metzmacher [Mon, 29 Mar 2010 13:07:34 +0000 (29 15:07 +0200)]
s3:libsmb: don't let cli_shutdown() segfault with a NULL cli_state
metze
Jelmer Vernooij [Mon, 29 Mar 2010 16:05:03 +0000 (29 18:05 +0200)]
ldap.py: Fix syntax error.
Jelmer Vernooij [Mon, 29 Mar 2010 15:35:20 +0000 (29 17:35 +0200)]
python: Fix rule for generating docs using pydoctor.
Jelmer Vernooij [Mon, 29 Mar 2010 14:25:03 +0000 (29 16:25 +0200)]
subunit: Update to newer upstream version.
Jelmer Vernooij [Mon, 29 Mar 2010 14:21:26 +0000 (29 16:21 +0200)]
s4-python: Simplify mechanism for finding included Python modules.
Jelmer Vernooij [Mon, 29 Mar 2010 14:08:11 +0000 (29 16:08 +0200)]
s4-python: Move dnspython to lib/, like the other Python modules
This also avoids it from being installed if it's already present on the
system.
Jelmer Vernooij [Mon, 29 Mar 2010 13:43:43 +0000 (29 15:43 +0200)]
s4-python: Format to PEP8, simplify tests.
Holger Hetterich [Mon, 29 Mar 2010 15:05:34 +0000 (29 17:05 +0200)]
Make the smbta-util manpage xml create smbta-util.8 instead of smbta-tool.8
Additionally change any references to smbta-tool in the text of the manpage.
Signed-off-by: Andreas Schneider <asn@samba.org>
Stefan Metzmacher [Sat, 27 Mar 2010 11:48:21 +0000 (27 12:48 +0100)]
pidl:Samba4/Client: don't mix rpc and application NTSTATUS errors anymore for the new bindings
The new dcerpc_binding_handle based client stubs don't mix error codes anymore,
while the old dcerpc_pipe based ones still do to keep OpenChange happy for now.
metze
Günther Deschner [Wed, 24 Mar 2010 12:14:09 +0000 (24 13:14 +0100)]
s4:torture/rpc/samba3rpc.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Wed, 17 Mar 2010 19:14:53 +0000 (17 20:14 +0100)]
s4:libnet/libnet_passwd.c: add explicit check for NTSTATUS r.out.result
metze
Stefan Metzmacher [Wed, 17 Mar 2010 19:31:15 +0000 (17 20:31 +0100)]
s4:libnet/libnet_samsync.c: add explicit check for NTSTATUS r.out.result
metze
Stefan Metzmacher [Wed, 17 Mar 2010 19:30:57 +0000 (17 20:30 +0100)]
s4:libnet/libnet_join.c: add explicit check for NTSTATUS r.out.result
metze
Günther Deschner [Tue, 23 Mar 2010 14:04:25 +0000 (23 15:04 +0100)]
s4:libcli/util/clilsa.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Wed, 24 Mar 2010 08:06:54 +0000 (24 09:06 +0100)]
s4:torture/rpc/lsa.c: add explicit check for NTSTATUS r.out.result
metze
Günther Deschner [Thu, 18 Mar 2010 23:38:04 +0000 (19 00:38 +0100)]
s4:torture/rpc/samr.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Günther Deschner [Fri, 19 Mar 2010 14:35:36 +0000 (19 15:35 +0100)]
s4:torture/rpc/handles.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>