Andrew Bartlett [Wed, 1 Dec 2010 04:34:19 +0000 (15:34 +1100)]
wintest Move stopping of BIND into a new step
We must run this early, to ensure that BIND isn't alive to write to
the zone file after provision has cleaned it up.
Andrew Bartlett
Andrew Bartlett [Mon, 29 Nov 2010 00:24:08 +0000 (11:24 +1100)]
Andrew Tridgell [Wed, 1 Dec 2010 05:07:56 +0000 (16:07 +1100)]
wintest: make command matching case insensitive by default
the new BASEDN changes break the RODC join otherwise
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Dec 1 06:54:13 CET 2010 on sn-devel-104
Andrew Tridgell [Wed, 1 Dec 2010 04:08:33 +0000 (15:08 +1100)]
wintest: we don't need the WIN_BASEDN vars any more
they are based on the realm now
Andrew Tridgell [Wed, 1 Dec 2010 04:08:15 +0000 (15:08 +1100)]
wintest: fixed formatting of wintest in emacs python mode
Andrew Bartlett [Tue, 30 Nov 2010 23:07:38 +0000 (10:07 +1100)]
wintest Wipe the BIND data directory just before we restart bind
This will hopefully mean we don't end up with stale zone info in the
new server.
Andrew Bartlett
Andrew Bartlett [Tue, 30 Nov 2010 10:18:34 +0000 (21:18 +1100)]
wintest Another way to work out if a Windows machine is a DC
it's not perfect (may fail on member servers) but it's picks up the
difference between standalone and DC OK.
Andrew Bartlett
Andrew Bartlett [Tue, 30 Nov 2010 05:00:15 +0000 (16:00 +1100)]
wintest Add more retries and fix up RODC handling after auto-dcpromo
The extra looping allows some time for the system to settle down while
we connect to the server for the first time.
Andrew Bartlett
Andrew Bartlett [Tue, 30 Nov 2010 01:48:51 +0000 (12:48 +1100)]
wintest Allow 'samba-tool newuser' to run a few times waiting for the RID Set
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
Andrew Bartlett [Tue, 30 Nov 2010 01:48:30 +0000 (12:48 +1100)]
s4-samba-tool Show when we have created the user successfully
Andrew Bartlett [Tue, 30 Nov 2010 01:37:01 +0000 (12:37 +1100)]
wintest Make the new --vms option default to running all tests.
Andrew Bartlett
Andrew Bartlett [Tue, 30 Nov 2010 00:58:05 +0000 (11:58 +1100)]
wintest Set WIN_LCREALM and WIN_BASEDN automatically
Also this uppper cases WIN_REALM, to avoid this being sensitive based
on the configuration file.
Andrew Bartlett
Andrew Bartlett [Tue, 30 Nov 2010 00:55:32 +0000 (11:55 +1100)]
wintest Add a function to shut down all the managed VMs at the start
This helps ensure that old virtual machines don't interfer with a new
test run.
Andrew Bartlett
Andrew Bartlett [Mon, 29 Nov 2010 11:30:41 +0000 (22:30 +1100)]
wintest Fix case of BASEDN variables
This needs to be automatically calculated.
Andrew Bartlett
Andrew Bartlett [Mon, 29 Nov 2010 08:03:34 +0000 (19:03 +1100)]
wintest Add automatic dcpromo is the host isn't a DC yet
This is slow, and requires an extra reboot, but should be consistent
and reproducible.
Andrew Bartlett
Andrew Bartlett [Mon, 29 Nov 2010 08:02:56 +0000 (19:02 +1100)]
wintest Add more VMs and correct titles
Andrew Tridgell [Wed, 1 Dec 2010 04:00:50 +0000 (15:00 +1100)]
wintest: cope with delays in w2k3 starting its DRS server
w2k3 brings up its DRS server quite a long time after its other
services
Andrew Tridgell [Wed, 1 Dec 2010 03:31:04 +0000 (14:31 +1100)]
s4-drs: the options attribute is optional on NTDSDSA objects
Andrew Tridgell [Wed, 1 Dec 2010 03:27:07 +0000 (14:27 +1100)]
wintest: wait for the windows DC to register its DNS name
after a windows DC uses dcpromo to join our domain, it can take a
while for it to register its DNS name
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Wed, 1 Dec 2010 02:54:29 +0000 (13:54 +1100)]
s4-provision: remove the disabled bit in the dns-$HOSTNAME account
Andrew Tridgell [Wed, 1 Dec 2010 02:24:35 +0000 (13:24 +1100)]
wintest: fixed casefold handling in expect calls
Andrew Tridgell [Wed, 1 Dec 2010 00:42:35 +0000 (11:42 +1100)]
waf: less verbose message for failing to resolve a syslib path
Andrew Tridgell [Wed, 1 Dec 2010 00:28:26 +0000 (11:28 +1100)]
waf: use Logs.warn() instead of print() in the symbol check code
Jelmer Vernooij [Wed, 1 Dec 2010 00:13:20 +0000 (01:13 +0100)]
pygensec: Fix initialization.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Dec 1 02:33:06 CET 2010 on sn-devel-104
Jelmer Vernooij [Tue, 30 Nov 2010 23:19:37 +0000 (00:19 +0100)]
pytalloc: Make py_talloc_default_cmp private.
Jelmer Vernooij [Tue, 30 Nov 2010 23:14:27 +0000 (00:14 +0100)]
pytalloc: Make py_talloc_dealloc private.
Jelmer Vernooij [Tue, 30 Nov 2010 23:07:11 +0000 (00:07 +0100)]
pytalloc: Make py_talloc_default_repr private (now exposed by talloc.Object).
Jelmer Vernooij [Tue, 30 Nov 2010 23:05:05 +0000 (00:05 +0100)]
pyparam: Use talloc.Object.
Jelmer Vernooij [Tue, 30 Nov 2010 23:03:08 +0000 (00:03 +0100)]
pyregistry: Use talloc.Object.
Jelmer Vernooij [Tue, 30 Nov 2010 23:03:00 +0000 (00:03 +0100)]
pyauth: Use talloc.Object.
Jelmer Vernooij [Tue, 30 Nov 2010 23:02:53 +0000 (00:02 +0100)]
pygensec: Use talloc.Object.
Jelmer Vernooij [Tue, 30 Nov 2010 23:02:19 +0000 (00:02 +0100)]
pycredentials: Use talloc.Object.
Jelmer Vernooij [Tue, 30 Nov 2010 23:01:51 +0000 (00:01 +0100)]
pytalloc: Expose PyTalloc_GetObjectType
Jelmer Vernooij [Tue, 30 Nov 2010 22:48:46 +0000 (23:48 +0100)]
pidl/python: Allow import of talloc, even though it doesn't live in the
samba.dcerpc. namespace.
Jelmer Vernooij [Tue, 30 Nov 2010 22:06:32 +0000 (23:06 +0100)]
pidl: Allow more flexibility importing modules using convenience function.
Jelmer Vernooij [Tue, 30 Nov 2010 21:59:51 +0000 (22:59 +0100)]
pytalloc: Add convenience function for checking if something is a talloc
object.
Jelmer Vernooij [Tue, 30 Nov 2010 21:59:32 +0000 (22:59 +0100)]
pidl: Base new objects off of talloc object.
Andrew Tridgell [Tue, 30 Nov 2010 22:57:50 +0000 (09:57 +1100)]
waf: added a help target for the other waf builds
this lets the s3 waf build use "make help"
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Dec 1 01:47:50 CET 2010 on sn-devel-104
Andrew Tridgell [Tue, 30 Nov 2010 22:56:29 +0000 (09:56 +1100)]
s4-build: added a 'make help' target
Andrew Tridgell [Tue, 30 Nov 2010 02:24:01 +0000 (13:24 +1100)]
s4-provision: fixed check for missing msDS-SupportedEncryptionTypes
thanks to Jelmer for spotting this
Andrew Tridgell [Tue, 30 Nov 2010 00:55:48 +0000 (11:55 +1100)]
wintest: make expect calls case insensitive by default
Andrew Tridgell [Tue, 30 Nov 2010 00:54:55 +0000 (11:54 +1100)]
wintest: added --vms option
this allows you to run tests associated with a specified list of VMs
Andrew Tridgell [Mon, 29 Nov 2010 22:56:30 +0000 (09:56 +1100)]
heimdal: fix for w2000 from lha
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Dec 1 00:59:59 CET 2010 on sn-devel-104
Andrew Tridgell [Tue, 30 Nov 2010 04:23:39 +0000 (15:23 +1100)]
s4-dns: catch all DNS exceptions in samba_dnsupdate
Andrew Bartlett [Tue, 30 Nov 2010 07:04:42 +0000 (18:04 +1100)]
s4-smb_server Return why the ntvfs_connect() failed.
Andrew Bartlett
Andrew Bartlett [Tue, 30 Nov 2010 04:59:04 +0000 (15:59 +1100)]
s4-librpc Handle all types of GUID in the GUID() initialiser
By taking a length-limited string, we can parse binary and string GUID
values, which is particularly useful when reading from ldb.
Andrew Bartlett
Günther Deschner [Tue, 30 Nov 2010 22:06:53 +0000 (23:06 +0100)]
s3-waf: convert RPC_LSARPC into a subsystem.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Dec 1 00:13:58 CET 2010 on sn-devel-104
Günther Deschner [Tue, 30 Nov 2010 22:04:23 +0000 (23:04 +0100)]
s3-waf: convert RPC_SAMR into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 21:41:41 +0000 (22:41 +0100)]
s3-waf: convert INIT_SAMR into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 21:37:37 +0000 (22:37 +0100)]
s3-waf: convert INIT_NETLOGON into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 21:34:54 +0000 (22:34 +0100)]
s3-waf: convert INIT_LSA into a subsystem.
Guenther
Jelmer Vernooij [Tue, 30 Nov 2010 21:22:15 +0000 (22:22 +0100)]
talloc: Add talloc object.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Nov 30 23:26:56 CET 2010 on sn-devel-104
Günther Deschner [Tue, 30 Nov 2010 20:50:56 +0000 (21:50 +0100)]
s3-waf: fix LIBNBT deps.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Nov 30 22:39:05 CET 2010 on sn-devel-104
Günther Deschner [Tue, 30 Nov 2010 20:46:31 +0000 (21:46 +0100)]
s3-waf: convert IDMAP_AD into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 20:44:25 +0000 (21:44 +0100)]
s3-waf: convert IDMAP_HASH into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 20:42:17 +0000 (21:42 +0100)]
s3-waf: convert IDMAP_ADEX into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 18:05:36 +0000 (19:05 +0100)]
s3-waf: no need to compile ../librpc/ndr/ndr_compression.c twice.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Nov 30 19:52:59 CET 2010 on sn-devel-104
Günther Deschner [Tue, 30 Nov 2010 18:00:09 +0000 (19:00 +0100)]
s3-waf: use LIBCLI_NDR_NETLOGON.
Guenther
Günther Deschner [Tue, 30 Nov 2010 17:56:26 +0000 (18:56 +0100)]
s3-waf: convert LIBNBT into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 17:52:21 +0000 (18:52 +0100)]
s3-waf: convert SPNEGO_PARSE into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 17:48:38 +0000 (18:48 +0100)]
s3-waf: use SLCACHE in ntlm_auth.
Guenther
Günther Deschner [Tue, 30 Nov 2010 17:40:30 +0000 (18:40 +0100)]
s3-waf: use TLDAP in smbtorture.
Guenther
Günther Deschner [Tue, 30 Nov 2010 17:17:40 +0000 (18:17 +0100)]
s3-waf: convert NPA_TSTREAM into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 17:07:21 +0000 (18:07 +0100)]
s3-waf: add LIBDRSUAPI subsystem.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Nov 30 18:58:42 CET 2010 on sn-devel-104
Günther Deschner [Tue, 30 Nov 2010 17:01:13 +0000 (18:01 +0100)]
s3-waf: let SMBD_BASE depend on NDR_NOTIFY.
Guenther
Günther Deschner [Tue, 30 Nov 2010 16:58:13 +0000 (17:58 +0100)]
s3-waf: let LIBSMB (in fact LIBNBT) depend on NDR_NBT.
Guenther
Günther Deschner [Tue, 30 Nov 2010 16:56:03 +0000 (17:56 +0100)]
s3-waf: let LIBSMB (in fact LIBNBT) depend on NDR_SVCCTL.
Guenther
Günther Deschner [Tue, 30 Nov 2010 16:50:32 +0000 (17:50 +0100)]
s3-waf: convert LIBCLI_SPOOLSS into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 16:46:56 +0000 (17:46 +0100)]
s3-waf: convert RPCCLI_EPMAPPER into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 16:45:25 +0000 (17:45 +0100)]
s3-waf: convert RPCCLI_EVENTLOG into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 16:44:25 +0000 (17:44 +0100)]
s3-waf: convert RPCCLI_NTSVCS into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 16:43:09 +0000 (17:43 +0100)]
s3-waf: convert RPCCLI_DRSUAPI into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 16:40:38 +0000 (17:40 +0100)]
s3-waf: convert RPCCLI_DFS into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 16:38:44 +0000 (17:38 +0100)]
s3-waf: convert RPCCLI_INITSHUTDOWN into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 16:36:13 +0000 (17:36 +0100)]
s3-waf: convert RPCCLI_DSSETUP into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 16:21:38 +0000 (17:21 +0100)]
s3-waf: convert RPCCLI_SVCCTL into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 16:19:12 +0000 (17:19 +0100)]
s3-waf: convert RPCCLI_WKSSVC into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 16:15:43 +0000 (17:15 +0100)]
s3-waf: convert RPCCLI_SRVSVC into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 16:27:37 +0000 (17:27 +0100)]
s3-waf: convert LIBCLI_NETLOGON into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 16:09:34 +0000 (17:09 +0100)]
s3-waf: convert LIBCLI_LSA into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 15:43:34 +0000 (16:43 +0100)]
s3-waf: convert LIBCLI_SAMR into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 15:25:37 +0000 (16:25 +0100)]
s3-waf: convert PARAM_UTIL into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 15:16:22 +0000 (16:16 +0100)]
s3-waf: convert TOKEN_UTIL into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 14:12:52 +0000 (15:12 +0100)]
s3-waf: convert REG_EVENTLOG into a subsystem.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Nov 30 16:25:51 CET 2010 on sn-devel-104
Günther Deschner [Tue, 30 Nov 2010 13:56:26 +0000 (14:56 +0100)]
s3-waf: convert LIBNMB into a subsystem.
Guenther
Günther Deschner [Tue, 30 Nov 2010 13:29:31 +0000 (14:29 +0100)]
s3-waf: convert FNAME_UTIL into a subsystem.
Guenther
Volker Lendecke [Tue, 30 Nov 2010 11:31:39 +0000 (12:31 +0100)]
s3: Fix bug 7832
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Nov 30 14:39:34 CET 2010 on sn-devel-104
Jelmer Vernooij [Tue, 30 Nov 2010 11:01:07 +0000 (12:01 +0100)]
wafsamba: Fix indentation.
Without this change we'd exclude the rpath for private libraries
whenever the first dependency of a subsystem was a public library.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Nov 30 13:08:04 CET 2010 on sn-devel-104
Volker Lendecke [Mon, 29 Nov 2010 17:09:49 +0000 (18:09 +0100)]
s3: Add shadow copy info to smbclient allinfo
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Nov 30 12:23:50 CET 2010 on sn-devel-104
Volker Lendecke [Mon, 29 Nov 2010 16:39:43 +0000 (17:39 +0100)]
s3: Add cli_shadow_copy_data
Matthias Dieter Wallnöfer [Tue, 30 Nov 2010 07:32:22 +0000 (08:32 +0100)]
s4:torture - partially revert "s4:torture - prefer the termination "return"s at the end of two unittests"
This partially reverts commit
54a5c398aaa1d53b5892c9b0aa5539ae7da651da.
As tridge pointed out I've overseen the nested loop in "run_iometer".
Therefore we end in a infinite loop. Obviously it wasn't run by "make
test" since then I would have detected it.
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Nov 30 09:23:00 CET 2010 on sn-devel-104
Jelmer Vernooij [Tue, 30 Nov 2010 00:10:31 +0000 (01:10 +0100)]
wafsamba: Only use private library rpath when linking against private
libraries.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Nov 30 02:23:37 CET 2010 on sn-devel-104
Jelmer Vernooij [Mon, 29 Nov 2010 22:47:00 +0000 (23:47 +0100)]
samba_dist: Fix dist for subprojects.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Nov 30 00:32:41 CET 2010 on sn-devel-104
Jelmer Vernooij [Mon, 29 Nov 2010 02:05:36 +0000 (03:05 +0100)]
samdb: Build as public library.
Matthias Dieter Wallnöfer [Mon, 29 Nov 2010 21:42:07 +0000 (22:42 +0100)]
s4:torture - prefer the termination "return"s at the end of two unittests
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Nov 29 23:29:23 CET 2010 on sn-devel-104
Jeremy Allison [Mon, 29 Nov 2010 20:36:05 +0000 (12:36 -0800)]
Fix bug discovered with "encryped passwords = no".
message_push_string() and message_push_blob() both update
the bcc value, so we don't need the old code that tries to
do it manually.
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Nov 29 22:24:01 CET 2010 on sn-devel-104
Günther Deschner [Mon, 29 Nov 2010 16:59:31 +0000 (17:59 +0100)]
s4-smbtorture: only run the cupsaddsmb adobe driver test against s3.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Nov 29 18:47:17 CET 2010 on sn-devel-104
Günther Deschner [Mon, 29 Nov 2010 16:56:40 +0000 (17:56 +0100)]
s3-spoolss: Fix Bug #7641: handle win9x adddriver calls w/o config file.
This turned cupsaddsmb to run into an infinite loop.
Guenther
Günther Deschner [Mon, 29 Nov 2010 16:50:05 +0000 (17:50 +0100)]
s4-smbtorture: add torture test for cupsaddsmb win9x driver install behavior.
Guenther
Günther Deschner [Mon, 29 Nov 2010 16:48:42 +0000 (17:48 +0100)]
s4-smbtorture: make add-printerdriver test more robust against empty configfiles.
Guenther