Jelmer Vernooij [Tue, 15 Apr 2008 23:32:54 +0000 (01:32 +0200)]
Remove unused arguments from reg_open_local().
Jelmer Vernooij [Tue, 15 Apr 2008 23:10:20 +0000 (01:10 +0200)]
Fix -r test, knownfailure return code.
Jelmer Vernooij [Tue, 15 Apr 2008 22:17:03 +0000 (00:17 +0200)]
Mention the actual exit code when a suite failed.
Jelmer Vernooij [Tue, 15 Apr 2008 22:05:36 +0000 (00:05 +0200)]
Merge branch 'wbinfo-test' of git://git.samba.org/kai/samba/kai-work-in-progress into v4-0-selftest
Jelmer Vernooij [Tue, 15 Apr 2008 22:05:12 +0000 (00:05 +0200)]
Fix executable bit on blackbox ndrdump tests.
Jelmer Vernooij [Tue, 15 Apr 2008 22:04:11 +0000 (00:04 +0200)]
Provide the right error count to formatters.
Jelmer Vernooij [Tue, 15 Apr 2008 22:03:45 +0000 (00:03 +0200)]
Properly warn about exit codes that indicate success while tests claim
failure.
Jelmer Vernooij [Tue, 15 Apr 2008 22:03:00 +0000 (00:03 +0200)]
Support knownfail Subunit command.
Jelmer Vernooij [Tue, 15 Apr 2008 21:52:06 +0000 (23:52 +0200)]
Deal with commands not even starting.
Kai Blin [Tue, 15 Apr 2008 15:04:36 +0000 (17:04 +0200)]
blackbox: Add many more tests for wbinfo
Jelmer Vernooij [Tue, 15 Apr 2008 21:21:43 +0000 (23:21 +0200)]
Add some documentation about the expected testsuite output.
Jelmer Vernooij [Tue, 15 Apr 2008 20:42:52 +0000 (22:42 +0200)]
Add some documentation on test behaviour in selftest.
Jelmer Vernooij [Tue, 15 Apr 2008 16:03:09 +0000 (18:03 +0200)]
Split binding structure handling out into a separate file.
For easier synchronisation with Samba 3.
Andrew Bartlett [Tue, 15 Apr 2008 15:10:47 +0000 (17:10 +0200)]
Re-add 'db' subdirectory for LDAP backend provision
Andrew Bartlett
Andrew Bartlett [Tue, 15 Apr 2008 14:56:15 +0000 (16:56 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Tue, 15 Apr 2008 14:31:08 +0000 (16:31 +0200)]
Fix some of the winbind tests.
Some of the test expectations were incorrect.
Andrew Bartlett
Andrew Bartlett [Tue, 15 Apr 2008 14:29:13 +0000 (16:29 +0200)]
Fix winbind to check machine account.
This enables 'wbinfo -t', by checking the machine account with a
SamLogon call.
Andrew Bartlett
Jelmer Vernooij [Tue, 15 Apr 2008 14:00:07 +0000 (16:00 +0200)]
Fix size to memcpy call in generated Samba 3 client code.
Reported-By: vl
Andrew Bartlett [Tue, 15 Apr 2008 13:52:52 +0000 (15:52 +0200)]
Fix provision-backend script
Andrew Bartlett
Jelmer Vernooij [Tue, 15 Apr 2008 12:32:13 +0000 (14:32 +0200)]
Fix pointers when pushing strings to python during pidl generation.
Jelmer Vernooij [Tue, 15 Apr 2008 10:51:31 +0000 (12:51 +0200)]
Saner names for Python objects.
Jelmer Vernooij [Tue, 15 Apr 2008 10:15:43 +0000 (12:15 +0200)]
Fix warnings.
Jelmer Vernooij [Tue, 15 Apr 2008 09:10:56 +0000 (11:10 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into HEAD
Jelmer Vernooij [Tue, 15 Apr 2008 08:55:32 +0000 (10:55 +0200)]
Attempt to fix the pidl installation on fedora.
Andrew Bartlett [Tue, 15 Apr 2008 08:40:06 +0000 (10:40 +0200)]
Test password change with 'net password change'.
Andrew Bartlett
Andrew Bartlett [Tue, 15 Apr 2008 08:05:29 +0000 (10:05 +0200)]
Test a few more bits of smbclient
Andrew Bartlett [Tue, 15 Apr 2008 07:13:32 +0000 (09:13 +0200)]
Add blackbox test for ndrdump, to ensure it at least does not
segfault.
Andrew Bartlett
Jelmer Vernooij [Tue, 15 Apr 2008 02:08:28 +0000 (04:08 +0200)]
Work around 'test' quirks - use make's string comparison instead.
Jelmer Vernooij [Tue, 15 Apr 2008 01:59:56 +0000 (03:59 +0200)]
Fix ALL_OBJS value.
Jelmer Vernooij [Tue, 15 Apr 2008 00:25:16 +0000 (02:25 +0200)]
Move SOVERSION, VERSION and PC_FILE out of smb_build but use make variables directly instead.
Jelmer Vernooij [Mon, 14 Apr 2008 23:52:55 +0000 (01:52 +0200)]
Make sure init function sentinels are set for modules.
Jelmer Vernooij [Mon, 14 Apr 2008 23:40:32 +0000 (01:40 +0200)]
Fix the build.
Jelmer Vernooij [Mon, 14 Apr 2008 21:30:17 +0000 (23:30 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
Jelmer Vernooij [Mon, 14 Apr 2008 21:28:14 +0000 (23:28 +0200)]
Use RpcInterfaceTestCase everywhere.
Jelmer Vernooij [Mon, 14 Apr 2008 20:57:07 +0000 (22:57 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
Jelmer Vernooij [Mon, 14 Apr 2008 17:41:13 +0000 (19:41 +0200)]
Explicitly specify the paths when installing pidl.
Jelmer Vernooij [Mon, 14 Apr 2008 20:34:22 +0000 (22:34 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into fixbuild
Jelmer Vernooij [Mon, 14 Apr 2008 18:39:12 +0000 (20:39 +0200)]
Fix the build.
Jelmer Vernooij [Mon, 14 Apr 2008 18:00:32 +0000 (20:00 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
Jelmer Vernooij [Mon, 14 Apr 2008 18:00:04 +0000 (20:00 +0200)]
Fix unresolved symbols.
Jelmer Vernooij [Mon, 14 Apr 2008 17:41:13 +0000 (19:41 +0200)]
Explicitly specify the paths when installing pidl.
Andrew Bartlett [Mon, 14 Apr 2008 17:32:42 +0000 (19:32 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Jelmer Vernooij [Mon, 14 Apr 2008 17:20:43 +0000 (19:20 +0200)]
Make sure credentials are specified when running the Python winreg RPC tests.
Jelmer Vernooij [Mon, 14 Apr 2008 17:13:41 +0000 (19:13 +0200)]
Allow command line options in the subunitrun script.
Jelmer Vernooij [Mon, 14 Apr 2008 17:01:32 +0000 (19:01 +0200)]
Also look in the environment for smb.conf path.
Simo Sorce [Mon, 14 Apr 2008 16:43:37 +0000 (12:43 -0400)]
Fix problems with event context not being the parent.
Jelmer Vernooij [Mon, 14 Apr 2008 16:30:07 +0000 (18:30 +0200)]
Add convenience TestCase class for testing RPC interfaces.
Andrew Bartlett [Mon, 14 Apr 2008 16:01:40 +0000 (18:01 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Mon, 14 Apr 2008 15:58:09 +0000 (17:58 +0200)]
Ensure we initialise s->lp_ctx for the way into the provision.
Andrew Bartlett
Jelmer Vernooij [Mon, 14 Apr 2008 15:54:19 +0000 (17:54 +0200)]
Fix order of variables in the makefile.
Jelmer Vernooij [Mon, 14 Apr 2008 15:22:58 +0000 (17:22 +0200)]
Use _OBJ_FILES variables in a couple more places.
Jelmer Vernooij [Mon, 14 Apr 2008 14:53:00 +0000 (16:53 +0200)]
Move object files lists to makefile rather than smb_build.
Stefan Metzmacher [Mon, 14 Apr 2008 14:45:38 +0000 (16:45 +0200)]
lib/events: fix missing prototype of s4_events_aio_init()
metze
Stefan Metzmacher [Mon, 14 Apr 2008 14:41:46 +0000 (16:41 +0200)]
Makefile: fix variable name automatic_deps -> automatic_dependencies
metze
Andrew Bartlett [Mon, 14 Apr 2008 14:01:15 +0000 (16:01 +0200)]
Include the smbconf parameter to the provision
Otherwise this fails, if the targetdir is not specified
Andrew Bartlett
Andrew Bartlett [Mon, 14 Apr 2008 13:26:26 +0000 (15:26 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Jelmer Vernooij [Mon, 14 Apr 2008 12:51:57 +0000 (14:51 +0200)]
Move standard make compilation rules to build/make.
Andrew Bartlett [Mon, 14 Apr 2008 11:49:47 +0000 (13:49 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Jelmer Vernooij [Mon, 14 Apr 2008 09:55:19 +0000 (11:55 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
Jelmer Vernooij [Mon, 14 Apr 2008 09:54:50 +0000 (11:54 +0200)]
Remove prototypes from build.h in preparation of removing build.h
altogether.
Andrew Bartlett [Mon, 14 Apr 2008 09:53:28 +0000 (11:53 +0200)]
Re-run SWIG
Andrew Bartlett [Mon, 14 Apr 2008 09:51:02 +0000 (11:51 +0200)]
Fix newuser and setpassword scripts, and port to idmap.
The new idmap world does not use the unixUser any more, so we need to
set up the entry (if wanted) in the idmap database. Users without a
backing unix user will get an allocated uid by idmap later.
Andrew Bartlett
Andrew Bartlett [Mon, 14 Apr 2008 09:48:43 +0000 (11:48 +0200)]
Add in a way to get at the private_path() function from python
Andrew Bartlett
Andrew Tridgell [Mon, 14 Apr 2008 09:32:04 +0000 (11:32 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Tridgell [Mon, 14 Apr 2008 09:31:17 +0000 (11:31 +0200)]
fill in unknown fields in SMB2 READ call
Andrew Tridgell [Mon, 14 Apr 2008 09:30:10 +0000 (11:30 +0200)]
show what type of idmapping has failed
James Peach [Sun, 13 Apr 2008 21:09:09 +0000 (14:09 -0700)]
smb_build: Make sure LIBRARY_SONAME is never uninitialized.
Jelmer Vernooij [Sun, 13 Apr 2008 20:49:08 +0000 (22:49 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into cprovision
Jelmer Vernooij [Sun, 13 Apr 2008 20:00:36 +0000 (22:00 +0200)]
Use torture_assert_mem_equal() in a couple more places.
Jelmer Vernooij [Sun, 13 Apr 2008 19:33:59 +0000 (21:33 +0200)]
Use new torture_assert_mem_equal.
Jelmer Vernooij [Sun, 13 Apr 2008 19:31:06 +0000 (21:31 +0200)]
Attempt to fix get_value() test on sparc machines.
Andrew Bartlett [Fri, 11 Apr 2008 09:38:36 +0000 (19:38 +1000)]
Actually test the different 'fill levels' in the provision process.
This should cover a few more codepaths in the provision script.
Andrew Bartlett
Andrew Bartlett [Fri, 11 Apr 2008 09:37:23 +0000 (19:37 +1000)]
Reuse the lp_ctx and samdb returned by the python provision.
Apply the same fix as in libnet_vampire in the old DRS test code.
Andrew Bartlett
Andrew Bartlett [Fri, 11 Apr 2008 09:35:15 +0000 (19:35 +1000)]
Don't specify the ntds_guid to the C -> python provision interface
This paramter was not used anyway.
Andrew Bartlett
Andrew Bartlett [Fri, 11 Apr 2008 09:33:52 +0000 (19:33 +1000)]
Don't reopen the sam.ldb again
Andrew Bartlett
Andrew Bartlett [Fri, 11 Apr 2008 09:15:24 +0000 (19:15 +1000)]
Use the python-provided ldb and lp_ctx pointers in libnet_vampire.c
By using the already open smb.conf and sam.ldb, we not only avoid
overhead, but also remove the risk we could touch a different
database.
Andrew Bartlett
Andrew Bartlett [Fri, 11 Apr 2008 09:04:43 +0000 (19:04 +1000)]
Far less cryptic traceback when you have an existing smb.conf
When the user has an existing smb.conf, but no [netlogon] or [sysvol]
share, the provision script would trigger a traceback. While we still
need to abort in this situation, we do so now with a useful error.
Andrew Bartlett
Andrew Bartlett [Fri, 11 Apr 2008 04:35:26 +0000 (14:35 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Tridgell [Fri, 11 Apr 2008 04:12:34 +0000 (14:12 +1000)]
Fixed a crash bug in unixuid module on failed ID mapping
We need to intialise *ids regardless of the status of the call, as the
IDL specifies that the out[] array always exists. If we don't
initialise out then we get a segv when a id mapping fails.
This still doesn't explain why the idmapping is failing, but at least
the client now gets NT_STATUS_NONE_MAPPED rather than a crashed
server.
Andrew Bartlett [Fri, 11 Apr 2008 01:11:42 +0000 (11:11 +1000)]
Fix merge errors on C provision interface after jelmer's good work.
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Conflicts:
source/torture/local/torture.c
Andrew Bartlett [Fri, 11 Apr 2008 01:09:34 +0000 (11:09 +1000)]
Set a netbios name into provision, and zero the rest.
Remove dns_name initialisation.
Andrew Bartlett
Jelmer Vernooij [Thu, 10 Apr 2008 22:43:23 +0000 (00:43 +0200)]
Return SAM ldb context and loadparm context as part of C provision
result.
Jelmer Vernooij [Thu, 10 Apr 2008 04:07:46 +0000 (06:07 +0200)]
Fix extra argument to provision_bare().
Jelmer Vernooij [Thu, 10 Apr 2008 03:25:18 +0000 (05:25 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into cprovision
Jelmer Vernooij [Thu, 10 Apr 2008 03:23:17 +0000 (05:23 +0200)]
Add infrastructure for returning ProvisionResult in C provision code.
Simo Sorce [Wed, 9 Apr 2008 21:11:57 +0000 (17:11 -0400)]
Make sure we do not reference req after it has been freed
Jelmer Vernooij [Wed, 9 Apr 2008 15:43:37 +0000 (17:43 +0200)]
No longer install unused smbscript binary.
Jelmer Vernooij [Wed, 9 Apr 2008 15:14:01 +0000 (17:14 +0200)]
Fix so version of hostconfig library.
Andrew Bartlett [Wed, 9 Apr 2008 05:32:49 +0000 (15:32 +1000)]
Fix up provision to specify SERVERDN in more places.
Andrew Bartlett
Andrew Bartlett [Wed, 9 Apr 2008 04:59:32 +0000 (14:59 +1000)]
Link the new vampire code togeather.
This adds in the newly attached secrets handling, as well as an
interface to the command line 'net' tool.
Andrew Bartlett
Andrew Bartlett [Wed, 9 Apr 2008 04:57:57 +0000 (14:57 +1000)]
Don't fill in the secrets DB unless we make the entries.
Leave filling in (we still initialise it) the secrets DB for the join
or vampire code.
Andrew Bartlett
Andrew Bartlett [Wed, 9 Apr 2008 04:56:24 +0000 (14:56 +1000)]
Factor out filling in the secrets database.
This allows the vampire code to start with a join, but fill in the
secrets only when the process is compleated.
Andrew Bartlett
Andrew Bartlett [Wed, 9 Apr 2008 04:55:01 +0000 (14:55 +1000)]
Remove dns_name element
This is only used in the DEBUG() message, so let's remove it.
Andrew Bartlett
Andrew Bartlett [Wed, 9 Apr 2008 04:51:22 +0000 (14:51 +1000)]
Be consistant in using ${SEVERDN}.
This ensures we don't fall out of sync with the provision scripts.
Andrew Bartlett
Andrew Bartlett [Wed, 9 Apr 2008 02:03:36 +0000 (12:03 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Wed, 9 Apr 2008 02:02:11 +0000 (12:02 +1000)]
Start implementation of real 'net vampire' code.
This will use DRS Replication (metze's thesis work) and possibly
samsync, and will work outside the smbtorture process.
Andrew Bartlett
Jelmer Vernooij [Wed, 9 Apr 2008 01:51:54 +0000 (03:51 +0200)]
Merge branch 'openchange' into cprovision
Jelmer Vernooij [Wed, 9 Apr 2008 01:51:41 +0000 (03:51 +0200)]
Add docstring, PEP8.
Jelmer Vernooij [Wed, 9 Apr 2008 01:23:13 +0000 (03:23 +0200)]
Move provision C bindings to param/.
Stefan Metzmacher [Tue, 8 Apr 2008 17:04:44 +0000 (19:04 +0200)]
BASE-DELAYWRITE: be more friendly to filesystems without high resolution timestamps
metze