Andrew Bartlett [Thu, 12 Apr 2007 10:25:01 +0000 (10:25 +0000)]
r22187: Test kerberos logins in the smbclient blackbox tests, including with a
machine account.
Andrew Bartlett
Stefan Metzmacher [Thu, 12 Apr 2007 10:19:02 +0000 (10:19 +0000)]
r22186: fix build with autodependencies
metze
Jelmer Vernooij [Thu, 12 Apr 2007 08:33:35 +0000 (08:33 +0000)]
r22185: Initial work on a 'member' test environment'.
Andrew Bartlett [Thu, 12 Apr 2007 04:01:42 +0000 (04:01 +0000)]
r22184: On some hosts, parsing a compleatly invalid principal causes heimadal
to try and figure out what realm the current host is in (by DNS lookup
for it's full domain name). We don't want to do that for this test,
just break the checksum.
Andrew Bartlett
Andrew Bartlett [Thu, 12 Apr 2007 02:28:29 +0000 (02:28 +0000)]
r22183: Perl might not be in /usr/bin/perl, so use $(PERL) from the makefile
to start the selftest script.
Andrew Bartlett
Andrew Bartlett [Thu, 12 Apr 2007 02:27:25 +0000 (02:27 +0000)]
r22182: Skip a few tests that will not pass against the ntvfs/posix layer,
when testing ntvfs/cifs -> ntvfs/posix too.
Andrew Bartlett
Andrew Bartlett [Thu, 12 Apr 2007 00:34:59 +0000 (00:34 +0000)]
r22180: Re-add testing of the CIFS backend.
Andrew Bartlett
Rafal Szczesniak [Wed, 11 Apr 2007 23:01:48 +0000 (23:01 +0000)]
r22179: Store resource id along with the object itself to be able to return
it as "number" type. This fixes a small problem with resource set
method returning id of type "number" whereas find method was returning
id of type "string".
rafal
Andrew Bartlett [Wed, 11 Apr 2007 13:01:46 +0000 (13:01 +0000)]
r22177: Restore the PIDDIR mapping for the client 'pid directory', as this is
(ab)used for messaging.
Andrew Bartlett
Andrew Bartlett [Wed, 11 Apr 2007 13:00:27 +0000 (13:00 +0000)]
r22176: Make the LOCAL-MESSAGING test pass again. Messaging sockets are in
the 'pid directory' now...
Andrew Bartlett
Andrew Bartlett [Wed, 11 Apr 2007 12:23:42 +0000 (12:23 +0000)]
r22171: At least walk over the test_SetupCredentials2 before bailing as 'we
don't do this yet'...
Andrew Bartlett
Andrew Bartlett [Wed, 11 Apr 2007 12:10:40 +0000 (12:10 +0000)]
r22170: To get the smbclient blackbox test to pass again, we need to get the
private dir to contain a valid machine account.
It isn't really valid it use the DC's account any more, so extend this
script to also join the domain. This nicely tests out some previously
untested code too!
Andrew Bartlett
Andrew Bartlett [Wed, 11 Apr 2007 11:17:09 +0000 (11:17 +0000)]
r22168: Ensure we actually run all the transports for the slow tests
(otherwise we miss tests).
Andrew Bartlett
Andrew Bartlett [Wed, 11 Apr 2007 10:25:02 +0000 (10:25 +0000)]
r22167: This seems to get Fedora DS to run the tests again.
Andrew Bartlett
Andrew Bartlett [Wed, 11 Apr 2007 06:43:06 +0000 (06:43 +0000)]
r22166: Stop heimdal from trying to prototype innetgr in roken, now we don't
do it in libreplace.
Andrew Bartlett
Andrew Tridgell [Wed, 11 Apr 2007 05:45:02 +0000 (05:45 +0000)]
r22165: merge transaction fix from samba3
Andrew Bartlett [Wed, 11 Apr 2007 05:01:02 +0000 (05:01 +0000)]
r22162: get the TEST_LDAP mode working again
Andrew Bartlett
Andrew Bartlett [Wed, 11 Apr 2007 03:45:39 +0000 (03:45 +0000)]
r22161: Clarify exactly where the socket_wrapper should be handled (early),
and ensure that $prefix exists before it tries to create $prefix/w.
This should fix the build farm. Perhaps we should have a rm -rf
$prefix at the start of this script, as that would have found the
problem, but I want to be careful about that...
Andrew Bartlett
Andrew Bartlett [Wed, 11 Apr 2007 01:32:38 +0000 (01:32 +0000)]
r22160: Only use test environment names that actually exist (get make
quicktest to pass).
Ensure that when we fail on the build farm, this ends up in the total
failures.
I think having the 2 different functions for running the tests is just
asking for this kind of failure. The build farm should be a
presentation detail, and not alter the test behaviour.
There is still a gremlin in there, we will fail horribly on the farm,
but not on local tests...
Andrew Bartlett
Jelmer Vernooij [Tue, 10 Apr 2007 20:19:31 +0000 (20:19 +0000)]
r22156: - Lazy evaluate variable names.
- Don't set up environments until necessary
- Add --resetup-environment option
- Add 'none' environment
Stefan Metzmacher [Tue, 10 Apr 2007 16:00:13 +0000 (16:00 +0000)]
r22152: merge from samba3:
remove netgr functions from libreplace they're not used
in samba4 currently and samba3 has explicit configure checks for them.
should fix bug #4496
metze
Jelmer Vernooij [Mon, 9 Apr 2007 12:15:56 +0000 (12:15 +0000)]
r22137: Actually use client.conf, defer more code as far as possible.
Rafal Szczesniak [Mon, 9 Apr 2007 12:06:42 +0000 (12:06 +0000)]
r22136: Fix incorrect event handling.
Submitted by John Jorgensen <jorgensen.john@gmail.com>
rafal
Jelmer Vernooij [Mon, 9 Apr 2007 00:53:05 +0000 (00:53 +0000)]
r22134: Create different smb.conf file for the client side. This should make use with Samba 3 or windows easier as well as environments.
Jelmer Vernooij [Sun, 8 Apr 2007 23:55:01 +0000 (23:55 +0000)]
r22133: Don't push parameters into environment until necessary.
Andrew Bartlett [Sat, 7 Apr 2007 05:19:24 +0000 (05:19 +0000)]
r22121: The RPC-CRACKNAMES test now passes against Samba4. This should help
the code coverage...
Andrew Bartlett
Andrew Bartlett [Sat, 7 Apr 2007 05:14:23 +0000 (05:14 +0000)]
r22120: Expand the RPC-CRACKNAMES test, to test more values and expose patterns.
Fix up our server side implementation to pass almost all the tests (a
couple are skipped).
Don't require the DsGetDomainControllerInfo calls to pass, just get
some info from them.
Andrew Bartlett
Andrew Bartlett [Sat, 7 Apr 2007 03:04:33 +0000 (03:04 +0000)]
r22119: Where we get a request to 'crack' a user principal name from a
compleatly unknown domain, return the correct error code.
Andrew Bartlett
Andrew Bartlett [Sat, 7 Apr 2007 03:03:01 +0000 (03:03 +0000)]
r22118: Add another RPC-CRACKNAMES test, but allow a way to skip sub-parts of
this test we don't yet support in Samba4. I want to at least try and
test this parts of this codebase...
Andrew Bartlett
Andrew Tridgell [Sat, 7 Apr 2007 01:00:11 +0000 (01:00 +0000)]
r22117: merged from bzr
Andrew Bartlett [Sat, 7 Apr 2007 00:57:26 +0000 (00:57 +0000)]
r22116: Only query by SID if we have a SID
Andrew Bartlett
Andrew Bartlett [Sat, 7 Apr 2007 00:47:39 +0000 (00:47 +0000)]
r22115: I don't like the DOMAIN environment variable. It really isn't a good
match for what we are using it for here.
Andrew Bartlett
Andrew Tridgell [Sat, 7 Apr 2007 00:03:09 +0000 (00:03 +0000)]
r22114: merge from bzr tree
Andrew Tridgell [Fri, 6 Apr 2007 04:43:54 +0000 (04:43 +0000)]
r22098: merged from bzr tree
Andrew Tridgell [Thu, 5 Apr 2007 07:37:21 +0000 (07:37 +0000)]
r22090: fix error handling in cldap client library to cope with bad host names
Andrew Tridgell [Thu, 5 Apr 2007 07:36:46 +0000 (07:36 +0000)]
r22089: check the return value of interpret_addr2()
Andrew Bartlett [Thu, 5 Apr 2007 06:33:37 +0000 (06:33 +0000)]
r22088: export PIDDIR to make the smbd pid show in 'make testenv' again.
Andrew Tridgell [Thu, 5 Apr 2007 06:23:06 +0000 (06:23 +0000)]
r22087: added a RAW-BENCH-OPEN test that can be used to stress out a clustered
implementation of a opendb backend. Use it in combination with
--unclist to tell smbtorture to connect to multiple nodes in the
cluster
Andrew Bartlett [Thu, 5 Apr 2007 06:00:44 +0000 (06:00 +0000)]
r22086: Bail out early on some of these failures.
Andrew Tridgell [Thu, 5 Apr 2007 04:23:57 +0000 (04:23 +0000)]
r22085: correct copyright on opendb_ctdb.c
Andrew Tridgell [Thu, 5 Apr 2007 04:20:55 +0000 (04:20 +0000)]
r22084: use a TDB_INTERNAL tdb for the local ctdb tdb for now
Andrew Tridgell [Thu, 5 Apr 2007 04:08:00 +0000 (04:08 +0000)]
r22083: opendb backend to ctdb now passes simple tests
Andrew Tridgell [Thu, 5 Apr 2007 03:51:49 +0000 (03:51 +0000)]
r22082: merged the ctdb changes from bzr
added opendb ctdb backend from ronnie
Andrew Tridgell [Thu, 5 Apr 2007 03:22:08 +0000 (03:22 +0000)]
r22081: transaction_brlock() should be static
thanks to Ted T'so for pointing this out
Jelmer Vernooij [Wed, 4 Apr 2007 14:24:44 +0000 (14:24 +0000)]
r22077: Import only necessary test variables, more refactoring.
Andrew Bartlett [Wed, 4 Apr 2007 12:40:19 +0000 (12:40 +0000)]
r22076: Fill in short and long domain names into the generated krb5.conf
Andrew Bartlett [Wed, 4 Apr 2007 12:39:44 +0000 (12:39 +0000)]
r22075: Configure the bitwise match plugin, until it becomes accepted upstream.
Andrew Bartlett
Jelmer Vernooij [Wed, 4 Apr 2007 12:23:10 +0000 (12:23 +0000)]
r22074: More refactoring.
Andrew Tridgell [Wed, 4 Apr 2007 06:06:52 +0000 (06:06 +0000)]
r22072: in order to implement the opendb ctdb backend, I've found that the
existing ctdb_call() mechanism isn't sufficient. The main problem is
that the operations on the record need to be done with a lock held
while a local posix file operation is happening. We can't use a
ctdb_call callback function to do the actual file opens, renames,
unlinks etc as the callback would run on the wrong node.
So this commit adds the prototypes for two new ctdb API functions
which will make a opendb backend easier. Volker will probably
recognise these functions as they are basically the same as what he
did in his earlier Samba clustering code :-)
Andrew Tridgell [Wed, 4 Apr 2007 04:57:30 +0000 (04:57 +0000)]
r22070: merge in the changes from the bzr ctdb tree, and convert the brlock
ctdb backend to use the updated multi-database API
Jelmer Vernooij [Tue, 3 Apr 2007 22:43:35 +0000 (22:43 +0000)]
r22063: Fix the RPC-EPMAPPER test.
Stefan Metzmacher [Tue, 3 Apr 2007 09:08:18 +0000 (09:08 +0000)]
r22053: remove samba3 specific stuff from tdbtool
should I merge this to SAMBA_3_0? as it's also totally
broken there, as the connection_struct definition is completely
different
metze
Stefan Metzmacher [Tue, 3 Apr 2007 07:04:37 +0000 (07:04 +0000)]
r22052: merge tdbtool from samba3 and build it
metze
James Peach [Mon, 2 Apr 2007 21:26:32 +0000 (21:26 +0000)]
r22048: Sigh. Commit the other half of r22047.
James Peach [Mon, 2 Apr 2007 21:21:56 +0000 (21:21 +0000)]
r22047: Move suffix rules into smb_build. Enable $< if we are building with
GNU Make. This lets GNU Make users bild with $srcdir != $builddir.
James Peach [Mon, 2 Apr 2007 20:19:00 +0000 (20:19 +0000)]
r22046: Rever r22040, which breaks the build on FreeBSD 5.4 (BSD make).
Stefan Metzmacher [Mon, 2 Apr 2007 18:56:25 +0000 (18:56 +0000)]
r22041: merge trivial changes from samba3
metze
James Peach [Mon, 2 Apr 2007 18:43:31 +0000 (18:43 +0000)]
r22040: Use $< to specify the immediate prerequisit instead of $*. This is
needed for VPATH to find the correct files when srcdir != builddir.
This checkin is a test to see which platforms this change will break.
Stefan Metzmacher [Mon, 2 Apr 2007 18:14:27 +0000 (18:14 +0000)]
r22038: - fix perl warning
- use the same if statement as in input.pm
metze
James Peach [Mon, 2 Apr 2007 17:29:03 +0000 (17:29 +0000)]
r22037: Make sure STATICDIR exists before linking a static archive.
James Peach [Mon, 2 Apr 2007 17:26:18 +0000 (17:26 +0000)]
r22036: Make sure both srcdir and builddir are in VPATH.
James Peach [Mon, 2 Apr 2007 17:23:23 +0000 (17:23 +0000)]
r22035: Introduce HOSTLD which is needed to link the asn1 compiler when cross
compiling.
James Peach [Mon, 2 Apr 2007 17:17:40 +0000 (17:17 +0000)]
r22034: Use builddir and srcdir instead on samba_builddir and samba_srcdir.
James Peach [Mon, 2 Apr 2007 17:14:43 +0000 (17:14 +0000)]
r22032: Make sure static libraries end up in bin/static.
James Peach [Mon, 2 Apr 2007 17:11:36 +0000 (17:11 +0000)]
r22031: Make sure we rewrite the include directives in CFLAGS to contain
paths from builddir and srcdir. builddir has precedence.
James Peach [Mon, 2 Apr 2007 17:08:21 +0000 (17:08 +0000)]
r22030: Simplify include parsing for config.mk files, making sure we get
it right for the srcdir != builddir case. Emit some comment lines
that can be used to figure out which parts of the Makefile output
is generated from which config files.
James Peach [Mon, 2 Apr 2007 17:06:14 +0000 (17:06 +0000)]
r22029: Make sure we respect $srcdir correctly for the srcdir != builddir case.
James Peach [Mon, 2 Apr 2007 17:03:30 +0000 (17:03 +0000)]
r22028: Fix include path for the srcidr != builddir case.
James Peach [Mon, 2 Apr 2007 17:02:52 +0000 (17:02 +0000)]
r22027: Allow separate build and source directories. Don't follow symlinks
when copying hemidal_build since this leads to traversal loops.
Andrew Tridgell [Mon, 2 Apr 2007 07:06:49 +0000 (07:06 +0000)]
r22025: patch from Ronnie to make locktest also test the behaviour of pid
changes in the locks
Andrew Tridgell [Mon, 2 Apr 2007 04:47:19 +0000 (04:47 +0000)]
r22021: use the pid specified in the individual locks, not the request pid, in
locking requests.
This fixes a bug noticed by Ronnie Sahlberg (thanks!)
Rafal Szczesniak [Wed, 28 Mar 2007 23:01:35 +0000 (23:01 +0000)]
r22005: Add more code (doesn't work at the moment) preparing a place for
listing user accounts.
rafal
Jelmer Vernooij [Wed, 28 Mar 2007 22:52:37 +0000 (22:52 +0000)]
r22004: Check for dereferencing null pointers.
Patch by Ronnie Sahlberg.
Jelmer Vernooij [Tue, 27 Mar 2007 23:22:41 +0000 (23:22 +0000)]
r21996: Fix a bug for invalid casts of pointers.
Patch by Ronnie Sahlberg.
Jelmer Vernooij [Tue, 27 Mar 2007 23:04:08 +0000 (23:04 +0000)]
r21995: Patch from Ronnie Sahlberg.
Change the signatures for all functions it generates to specify
_U_ so that GCC "parameter not used" warnings are suppressed.
Andrew Bartlett [Tue, 27 Mar 2007 08:06:05 +0000 (08:06 +0000)]
r21971: Fill in some more values in config files from variables, so we can
better setup multiple environments.
Run the mk-keyblobs script before we need variables it defines.
Andrew Bartlett
Andrew Bartlett [Tue, 27 Mar 2007 04:21:16 +0000 (04:21 +0000)]
r21970: Ensure that Fedora DS can be shut down correctly with the stop script:
This needs the pid file to be in the right spot.
Andrew Bartlett
James Peach [Fri, 23 Mar 2007 20:28:45 +0000 (20:28 +0000)]
r21951: Hopefully fix valgrind warning.
James Peach [Fri, 23 Mar 2007 19:24:21 +0000 (19:24 +0000)]
r21949: After discussion with the Apple and Linux client maintainers,
changing the FindFirst response for the UNIX_INFO2 level to include
a length field before the name. The name is not required to be null
terminated. the lenght field does not count any null.
Stefan Metzmacher [Fri, 23 Mar 2007 09:11:53 +0000 (09:11 +0000)]
r21943: don't send unitialized data
metze
Stefan Metzmacher [Thu, 22 Mar 2007 08:17:30 +0000 (08:17 +0000)]
r21928: fix the interface uuid of wzcsvc.
see http://www.hsc.fr/ressources/articles/win_net_srv/msrpc_wzcsvc.html
and http://www.hsc.fr/ressources/articles/win_net_srv/msrpc_scheduler.html
thanks to jbm for the report!
metze
Jelmer Vernooij [Wed, 21 Mar 2007 17:05:39 +0000 (17:05 +0000)]
r21911: Some more work on making the ncacn_np handling in smbd be less special.
Jelmer Vernooij [Wed, 21 Mar 2007 16:26:25 +0000 (16:26 +0000)]
r21910: Clean up some unused functions.
Jelmer Vernooij [Wed, 21 Mar 2007 15:57:07 +0000 (15:57 +0000)]
r21909: Merge some of my recent improvements to the test infrastructure:
- Allow tests to specify what environment they need to run in (dc and none are thecurrent supported ones).
- Move more Samba4-specific code out of the common code
Rafal Szczesniak [Tue, 20 Mar 2007 22:44:22 +0000 (22:44 +0000)]
r21896: - Enable creating default NetContext when no explicit credentials are
passed. In such case use what's been provided on swat session logon.
- Create a proper NetContext object only once and add it to the resources
for later use.
rafal
Stefan Metzmacher [Fri, 16 Mar 2007 16:35:44 +0000 (16:35 +0000)]
r21859: add a comment why we remove the rid_crypt obfuscation
metze
Rafal Szczesniak [Fri, 16 Mar 2007 00:19:40 +0000 (00:19 +0000)]
r21852: Further work on initialising libnet context from netmgr.
rafal
Stefan Metzmacher [Thu, 15 Mar 2007 13:21:54 +0000 (13:21 +0000)]
r21843: the computer_dn isn't needed anymore because we don't manually reset the password
anymore
metze
Stefan Metzmacher [Thu, 15 Mar 2007 07:22:49 +0000 (07:22 +0000)]
r21842: fix typo in comment
metze
Rafal Szczesniak [Wed, 14 Mar 2007 23:25:54 +0000 (23:25 +0000)]
r21841: Rename the method and check parameters more strictly.
rafal
Stefan Metzmacher [Wed, 14 Mar 2007 19:10:21 +0000 (19:10 +0000)]
r21839: add my email address
metze
Stefan Metzmacher [Wed, 14 Mar 2007 12:07:56 +0000 (12:07 +0000)]
r21838: generate no metadata for constructed attributes
metze
Jelmer Vernooij [Wed, 14 Mar 2007 00:44:29 +0000 (00:44 +0000)]
r21837: Make dcerpc_mgmt a separate library again, as the linker leaves it out when it's part of dcerpc.
Andrew Bartlett [Tue, 13 Mar 2007 23:16:09 +0000 (23:16 +0000)]
r21836: Assume that if an OpenLDAP system is 'modular' then everything is a
module, so we have to bring in syncprov too.
Andrew Bartlett
Andrew Tridgell [Tue, 13 Mar 2007 22:58:23 +0000 (22:58 +0000)]
r21835: fixed a rpc server bug where we failed to remove a call from one
linked list when moving it to another. This could cause a valgrind
error under the RPC-SCANNER test.
Jelmer Vernooij [Tue, 13 Mar 2007 22:03:04 +0000 (22:03 +0000)]
r21834: Remove unnecessary includes
Jelmer Vernooij [Tue, 13 Mar 2007 21:47:57 +0000 (21:47 +0000)]
r21833: Don't install static libs, they can't be used anyway.
Jelmer Vernooij [Tue, 13 Mar 2007 21:00:27 +0000 (21:00 +0000)]
r21832: Ignore some more autogenerated files.
Jelmer Vernooij [Tue, 13 Mar 2007 20:44:14 +0000 (20:44 +0000)]
r21830: Fix header installation, remove proto header with a single prototype.
Jelmer Vernooij [Tue, 13 Mar 2007 20:26:35 +0000 (20:26 +0000)]
r21829: Integrate mgmt in libdcerpc. We have enough libraries as it is and mgmt is part of the DCE/RPC standard.