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
Stefan Metzmacher [Tue, 8 Apr 2008 08:25:51 +0000 (10:25 +0200)]
BASE-DELAYWRITE: use timeval_* and make it possible to spefic the writetime update delay
metze
Jelmer Vernooij [Tue, 8 Apr 2008 13:18:24 +0000 (15:18 +0200)]
Clearer names for singleton return types.
Jelmer Vernooij [Tue, 8 Apr 2008 12:58:38 +0000 (14:58 +0200)]
Remove length arguments, add tests for unixinfo.GidToSid and unixinfo.UidToSid.
Jelmer Vernooij [Tue, 8 Apr 2008 12:56:09 +0000 (14:56 +0200)]
Fix bug handling size arguments in a direction without actual data.
Jelmer Vernooij [Tue, 8 Apr 2008 12:19:26 +0000 (14:19 +0200)]
Array lengths can be obtained from Python objects so remove them from the Python API.
Jelmer Vernooij [Tue, 8 Apr 2008 11:32:38 +0000 (13:32 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pidldocs
Jelmer Vernooij [Tue, 8 Apr 2008 11:31:07 +0000 (13:31 +0200)]
Set VENDORPREFIX rather than PREFIX to try to fix installation on some
buildfarm hosts.
Andrew Bartlett [Tue, 8 Apr 2008 07:31:36 +0000 (17:31 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Tue, 8 Apr 2008 07:28:25 +0000 (17:28 +1000)]
Re-add support for the --ldap-backend-port option to provision-backend
This option allows Fedora DS multi-master replication to work. I've
tried to update the wiki and scripts to the largely consistant with
each other.
Andrew Bartlett
Andrew Bartlett [Tue, 8 Apr 2008 07:26:55 +0000 (17:26 +1000)]
Rework talloc hirarchy for C provision setup.
This seems to fix (or sweep under the covers) a crash in this code.
Andrew Bartlett
Jelmer Vernooij [Tue, 8 Apr 2008 03:16:07 +0000 (05:16 +0200)]
Add manually written Python binding for libnet_Join.
Jelmer Vernooij [Tue, 8 Apr 2008 01:29:12 +0000 (03:29 +0200)]
Add trivial test for unixinfo interface.
Jelmer Vernooij [Tue, 8 Apr 2008 01:23:53 +0000 (03:23 +0200)]
Add python bindings for drsuapi.
Jelmer Vernooij [Tue, 8 Apr 2008 01:18:43 +0000 (03:18 +0200)]
Add python bindings for unixinfo.
Jelmer Vernooij [Tue, 8 Apr 2008 01:15:55 +0000 (03:15 +0200)]
Add [todo] for functions that are obviously incomplete.
Jelmer Vernooij [Tue, 8 Apr 2008 00:58:18 +0000 (02:58 +0200)]
Raise NotImplementedError from functions that don't have complete IDL.
Jelmer Vernooij [Tue, 8 Apr 2008 00:57:59 +0000 (02:57 +0200)]
Support [todo] attribute on functions.
Jelmer Vernooij [Tue, 8 Apr 2008 00:48:54 +0000 (02:48 +0200)]
Add Python bindings for DFS.
Jelmer Vernooij [Tue, 8 Apr 2008 00:08:31 +0000 (02:08 +0200)]
Add signature of connect function to docstrings.
Jelmer Vernooij [Mon, 7 Apr 2008 23:42:27 +0000 (01:42 +0200)]
use builtin getset stuff rather than custom getattr/setattr implementation.
Jelmer Vernooij [Mon, 7 Apr 2008 23:23:19 +0000 (01:23 +0200)]
Add function signature to docstrings in python.
Jelmer Vernooij [Mon, 7 Apr 2008 22:59:27 +0000 (00:59 +0200)]
Register types rather than constructors, display structs as classes.
Jelmer Vernooij [Mon, 7 Apr 2008 22:13:09 +0000 (00:13 +0200)]
Set tp_flags for Python types.
Jelmer Vernooij [Mon, 7 Apr 2008 22:10:24 +0000 (00:10 +0200)]
Set docstrings from helpstring attribute where possible.
Jelmer Vernooij [Mon, 7 Apr 2008 21:21:38 +0000 (23:21 +0200)]
Add simple docstring for Python modules.