1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

12386 Commits

Author SHA1 Message Date
Rafal Szczesniak
8732429818 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
(This used to be commit c3805aeb5e)
2007-10-10 14:49:58 -05:00
Andrew Bartlett
5904bbf3d9 r22177: Restore the PIDDIR mapping for the client 'pid directory', as this is
(ab)used for messaging.

Andrew Bartlett
(This used to be commit 0a721c3193)
2007-10-10 14:49:58 -05:00
Andrew Bartlett
7e92a071c5 r22176: Make the LOCAL-MESSAGING test pass again. Messaging sockets are in
the 'pid directory' now...

Andrew Bartlett
(This used to be commit 224e7d4cc7)
2007-10-10 14:49:57 -05:00
Andrew Bartlett
ca3e134c8b r22171: At least walk over the test_SetupCredentials2 before bailing as 'we
don't do this yet'...

Andrew Bartlett
(This used to be commit 99786cbaa9)
2007-10-10 14:49:57 -05:00
Andrew Bartlett
f3303bc8f6 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
(This used to be commit 12f4e6033e)
2007-10-10 14:49:57 -05:00
Andrew Bartlett
f57ebf3f12 r22168: Ensure we actually run all the transports for the slow tests
(otherwise we miss tests).

Andrew Bartlett
(This used to be commit 216bf28a8d)
2007-10-10 14:49:57 -05:00
Andrew Bartlett
5f11116a6b r22167: This seems to get Fedora DS to run the tests again.
Andrew Bartlett
(This used to be commit b893c63183)
2007-10-10 14:49:56 -05:00
Andrew Bartlett
f02c0a64d3 r22166: Stop heimdal from trying to prototype innetgr in roken, now we don't
do it in libreplace.

Andrew Bartlett
(This used to be commit a95ce3c895)
2007-10-10 14:49:56 -05:00
Andrew Tridgell
d9916ac98c r22165: merge transaction fix from samba3
(This used to be commit ff78be0be4)
2007-10-10 14:49:56 -05:00
Andrew Bartlett
c41fe665e4 r22162: get the TEST_LDAP mode working again
Andrew Bartlett
(This used to be commit 529575d07a)
2007-10-10 14:49:55 -05:00
Andrew Bartlett
7b88696bed 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
(This used to be commit a230261e83)
2007-10-10 14:49:55 -05:00
Andrew Bartlett
dbfb32ffe5 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
(This used to be commit 519f3c0575)
2007-10-10 14:49:55 -05:00
Jelmer Vernooij
e338b4b47b r22156: - Lazy evaluate variable names.
- Don't set up environments until necessary

- Add --resetup-environment option

- Add 'none' environment
(This used to be commit ed0410309b)
2007-10-10 14:49:55 -05:00
Stefan Metzmacher
4cc500433d 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
(This used to be commit dd83a8dad8)
2007-10-10 14:49:54 -05:00
Jelmer Vernooij
892c8cd1b4 r22137: Actually use client.conf, defer more code as far as possible.
(This used to be commit 9399123a72)
2007-10-10 14:49:54 -05:00
Rafal Szczesniak
c0b76be62f r22136: Fix incorrect event handling.
Submitted by John Jorgensen <jorgensen.john@gmail.com>

rafal
(This used to be commit f12a7f223d)
2007-10-10 14:49:54 -05:00
Jelmer Vernooij
3ff1625f1f r22134: Create different smb.conf file for the client side. This should make use with Samba 3 or windows easier as well as environments.
(This used to be commit a32cdc06c3)
2007-10-10 14:49:54 -05:00
Jelmer Vernooij
51fd156081 r22133: Don't push parameters into environment until necessary.
(This used to be commit 290815d180)
2007-10-10 14:49:53 -05:00
Andrew Bartlett
a16989b1e9 r22121: The RPC-CRACKNAMES test now passes against Samba4. This should help
the code coverage...

Andrew Bartlett
(This used to be commit 394c863a3f)
2007-10-10 14:49:53 -05:00
Andrew Bartlett
d0179f164a 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
(This used to be commit a29eb8f7e5)
2007-10-10 14:49:53 -05:00
Andrew Bartlett
1c7f70ded5 r22119: Where we get a request to 'crack' a user principal name from a
compleatly unknown domain, return the correct error code.

Andrew Bartlett
(This used to be commit 7d04a36cdb)
2007-10-10 14:49:52 -05:00
Andrew Bartlett
270248ac02 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
(This used to be commit cb2e4ca220)
2007-10-10 14:49:52 -05:00
Andrew Tridgell
5497a1341c r22117: merged from bzr
(This used to be commit d7f122df1d)
2007-10-10 14:49:52 -05:00
Andrew Bartlett
98fda45351 r22116: Only query by SID if we have a SID
Andrew Bartlett
(This used to be commit 018939a8fd)
2007-10-10 14:49:52 -05:00
Andrew Bartlett
68094302c1 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
(This used to be commit 305d1421ef)
2007-10-10 14:49:51 -05:00
Andrew Tridgell
1b02e88aaf r22114: merge from bzr tree
(This used to be commit e60a485ff5)
2007-10-10 14:49:51 -05:00
Andrew Tridgell
a9044f92c9 r22098: merged from bzr tree
(This used to be commit a57af1ff82)
2007-10-10 14:49:51 -05:00
Andrew Tridgell
4685a42eaf r22090: fix error handling in cldap client library to cope with bad host names
(This used to be commit 99c51b104d)
2007-10-10 14:49:51 -05:00
Andrew Tridgell
432dfdbcd1 r22089: check the return value of interpret_addr2()
(This used to be commit af6661e442)
2007-10-10 14:49:50 -05:00
Andrew Bartlett
bfc4053178 r22088: export PIDDIR to make the smbd pid show in 'make testenv' again.
(This used to be commit 9e95871b3a)
2007-10-10 14:49:50 -05:00
Andrew Tridgell
25b4ee7af8 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
(This used to be commit b4e38b1b8d)
2007-10-10 14:49:50 -05:00
Andrew Bartlett
e936efb26f r22086: Bail out early on some of these failures.
(This used to be commit 8311bdfde9)
2007-10-10 14:49:50 -05:00
Andrew Tridgell
eb94925e37 r22085: correct copyright on opendb_ctdb.c
(This used to be commit 43ee3f8724)
2007-10-10 14:49:49 -05:00
Andrew Tridgell
23508a7c86 r22084: use a TDB_INTERNAL tdb for the local ctdb tdb for now
(This used to be commit e2fe45cf40)
2007-10-10 14:49:49 -05:00
Andrew Tridgell
0cbea3104b r22083: opendb backend to ctdb now passes simple tests
(This used to be commit 141bd7ac39)
2007-10-10 14:49:49 -05:00
Andrew Tridgell
66156220eb r22082: merged the ctdb changes from bzr
added opendb ctdb backend from ronnie
(This used to be commit b0da25cb79)
2007-10-10 14:49:48 -05:00
Andrew Tridgell
7196090bfd r22081: transaction_brlock() should be static
thanks to Ted T'so for pointing this out
(This used to be commit 6921f2f709)
2007-10-10 14:49:48 -05:00
Jelmer Vernooij
cb04f015ee r22077: Import only necessary test variables, more refactoring.
(This used to be commit 150bb2238e)
2007-10-10 14:49:48 -05:00
Andrew Bartlett
bc8474b5cc r22076: Fill in short and long domain names into the generated krb5.conf
(This used to be commit c366610cbc)
2007-10-10 14:49:48 -05:00
Andrew Bartlett
6e3887569f r22075: Configure the bitwise match plugin, until it becomes accepted upstream.
Andrew Bartlett
(This used to be commit ce080b107c)
2007-10-10 14:49:47 -05:00
Jelmer Vernooij
e3e505625d r22074: More refactoring.
(This used to be commit b0e0c5cb94)
2007-10-10 14:49:47 -05:00
Andrew Tridgell
b03d49bced 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 :-)
(This used to be commit d9a997fd39)
2007-10-10 14:49:47 -05:00
Andrew Tridgell
a78be2150b r22070: merge in the changes from the bzr ctdb tree, and convert the brlock
ctdb backend to use the updated multi-database API
(This used to be commit 44dcac9e4d)
2007-10-10 14:49:47 -05:00
Jelmer Vernooij
690df3ccd9 r22063: Fix the RPC-EPMAPPER test.
(This used to be commit 101cdd1ec1)
2007-10-10 14:49:46 -05:00
Stefan Metzmacher
464c48a62e 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
(This used to be commit 5677b01d1d)
2007-10-10 14:49:46 -05:00
Stefan Metzmacher
a18b522f2b r22052: merge tdbtool from samba3 and build it
metze
(This used to be commit f471e75216)
2007-10-10 14:49:46 -05:00
James Peach
36d8bdc1a5 r22048: Sigh. Commit the other half of r22047.
(This used to be commit cbc15e963a)
2007-10-10 14:49:46 -05:00
James Peach
f3455f0f44 r22047: Move suffix rules into smb_build. Enable $< if we are building with
GNU Make. This lets GNU Make users bild with $srcdir != $builddir.
(This used to be commit bb473bf856)
2007-10-10 14:49:45 -05:00
James Peach
4e8fd9f2f4 r22046: Rever r22040, which breaks the build on FreeBSD 5.4 (BSD make).
(This used to be commit 5a96812929)
2007-10-10 14:49:45 -05:00
Stefan Metzmacher
769efdf048 r22041: merge trivial changes from samba3
metze
(This used to be commit 902a76ca70)
2007-10-10 14:49:45 -05:00