1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

4750 Commits

Author SHA1 Message Date
Tim Potter
9e555f75e2 r7500: Initialise module subsystems.
(This used to be commit 564dfe14d00e80a0d373ab0fc17803ffaac0892e)
2007-10-10 13:18:01 -05:00
Andrew Tridgell
47ab0ed8ed r7499: ensure that the account we run tests as ("Administrator") maps to the
unixName that we are running as in the test suite. Otherwise files are
created as a user without any entry in the sam, so the ACL doesn't
allow that user read permission when it should. This should fix the
RAW-ACLS test in the build farm.
(This used to be commit 30445483e4facb0a1d8a5979a2eac6c166193c09)
2007-10-10 13:18:00 -05:00
Derrell Lipman
2e1851e1ac r7498: ldb_sqlite3 work in progress
(This used to be commit 797263330b9eada019e432ff201bf5c872e35b5d)
2007-10-10 13:18:00 -05:00
Andrew Tridgell
ee30cf3b1d r7497: add timeouts to all rpc requests. The default timeout is 60
seconds. This should prevent the problem I am seeing on a solaris box
where a rpc request gets stuck forever
(This used to be commit c24ab34813d675b9b81f3062fb6f30aae5697805)
2007-10-10 13:18:00 -05:00
Andrew Tridgell
d1e8e62a56 r7496: removed an unused variable
(This used to be commit a8c99d0e37b5ca37cabc201c1290c6cd26a16549)
2007-10-10 13:18:00 -05:00
Andrew Tridgell
3a3947cd86 r7495: used --maximum-runtime=300 for each smbtorture call, to prevent it
running too long
(This used to be commit 3d70755abfb7764379d648e9bc1697ae9289d02b)
2007-10-10 13:18:00 -05:00
Andrew Tridgell
82da98a1da r7494: added --maximum-runtime to smbtorture as well. I have seen smbtorture
get stuck waiting on no file descriptors, with no timeout, so it sits
forever. I need to fix that bug separately, but to prevent build farm
machines being totally stuck, this timeout will be used.
(This used to be commit 5cccf0a770e0c1069f940fa8f4853f64327dc90c)
2007-10-10 13:18:00 -05:00
Andrew Tridgell
ea7942d468 r7493: add a --maximum-runtime option to smbd. If this time is exceeeded then it exits.
This will be used in the build farm
(This used to be commit 3cec5b3c8656efcb00df530071c2badca914126a)
2007-10-10 13:17:59 -05:00
Stefan Metzmacher
39172de4dc r7492: give better output
metze
(This used to be commit 134f5defa0f1eb240207f593866ab75f20943938)
2007-10-10 13:17:59 -05:00
Rafal Szczesniak
1104ca3337 r7491: libnet functions used in tests have different names now.
rafal
(This used to be commit d54bf09701b1085451479a32569849998c53c811)
2007-10-10 13:17:59 -05:00
Rafal Szczesniak
c29896d0ae r7490: Rename functions and prefices s/rpc_composite/libnet_rpc/
This makes more clear where the functions belong to. Also
the rule will be that lowercased function names are not
part of "official" libnet API (though it doesn't mean one
absolutely cannot use them).

rafal
(This used to be commit f6ef7b882acc6ee07422944a417a8d9013c9d8d2)
2007-10-10 13:17:59 -05:00
Stefan Metzmacher
a4b58b091b r7489: just a cosmetic change
metze
(This used to be commit 2dcbf07d0cc105a49c7b086f340c7ec9b5c97b6a)
2007-10-10 13:17:59 -05:00
Stefan Metzmacher
bda75f7e90 r7488: update the mode in the struct too,
that fixes the RAW-RENAME test

metze
(This used to be commit e27c1ab89b21726d3c9e7f8f7af22d1ff38f2413)
2007-10-10 13:17:59 -05:00
Stefan Metzmacher
68ff6b1262 r7487: check both files before and after setting the attribs on file1
metze
(This used to be commit 376c0560e0cb453fa8a378ff2983b34310956ae8)
2007-10-10 13:17:58 -05:00
Stefan Metzmacher
4233f18a31 r7486: fix for the build farm to display the panic messages and backtrace inside the per test frame
metze
(This used to be commit 5cf27b4af33fd7e30a59e53e4b08d67ac83ddccd)
2007-10-10 13:17:58 -05:00
Andrew Tridgell
612babc4af r7485: - allow test_xxx.sh to run outside of 'make test' by ensuring $PREFIX is setup
- use loopback interface only, otherwise nbtd will answer with a real
  ip, which the socket wrapper code will fail to connect to

- enable eadb for posix testing

- sleeping to wait for smbd to start is pointless, as smbd won't start
  till its fifo is opened due to the fifo redirection on stdin

- sleep for a few seconds to allow for nbt server to register names after opening fifo

- use bcast name resolution, so we don't rely on /etc/hosts being right
(This used to be commit 9ce2b9a79ba34705bcd8c32db1e084763702faec)
2007-10-10 13:17:58 -05:00
Andrew Tridgell
6a4cb0e651 r7484: the previous bug can also affect the kdc
(This used to be commit ee8bf9db4a619b40ae71b5e97ea7640483587573)
2007-10-10 13:17:58 -05:00
Andrew Tridgell
07b0d86121 r7483: ensure we try reading from a socket if epoll says we can, and don't
just do the write. This is needed because the write could return
-1/EAGAIN for dgram sockets, if the socket buffer is nearly full. The
epoll loop then goes on forever.

This was causing some failures in 'make test'
(This used to be commit b7fefe76a2d3c288611868f41d65af4e13ac460b)
2007-10-10 13:17:58 -05:00
Tim Potter
6412e8eeae r7482: Rename smbcli_send_tconX() to smbcli_tconX() so as not to get it
confused with an async function.
(This used to be commit 340ad67cada15329051c205c5b094ad641718c72)
2007-10-10 13:17:58 -05:00
Tim Potter
182dd02ebe r7481: Add a mprVarIsPtr macro.
(This used to be commit 633b24345fecad1111f40999efa2897bba521f19)
2007-10-10 13:17:57 -05:00
Derrell Lipman
0264c1792d r7480: ldb_sqlite3 work in progress
(This used to be commit 510e7994da808ab12f51fa7a36c3f5f9244c51ac)
2007-10-10 13:17:57 -05:00
Tim Potter
43d3689ecf r7479: ifdef out some more stuff to fix compiler warnings.
(This used to be commit c4d10a98ff991cc48d065c4373570aedc37dccf3)
2007-10-10 13:17:57 -05:00
Andrew Tridgell
b8c8da4a50 r7478: fixed a problem with a backgrounded smbd looping to handle continuous
tty related signals
(This used to be commit db2b507adde8a28524cb9bff3558e5c339276767)
2007-10-10 13:17:57 -05:00
Tim Potter
16a5d7c175 r7477: Add MPR_TYPE_PTR to ejs_typeof().
(This used to be commit 8574f64ca2bda864f472067ae594285b6f5dc957)
2007-10-10 13:17:57 -05:00
Andrew Tridgell
b1b134084f r7476: ensure dgram sockets are created non-blocking. As they usually skip
the connect() stage, we were missing this
(This used to be commit f5102b886c10fead0f6bcdc4460584ae53912ebc)
2007-10-10 13:17:57 -05:00
Andrew Tridgell
2514f8925e r7475: removed RPC-SAMLOGON test until we get a lighter version of it. It is
chewing far too much cpu, which is unfair on our volunteer systems

andrew, sorry about this, I think we need RPC-SAMLOGON-FULL, and make
RPC-SAMLOGON only do a basic test
(This used to be commit 71bf781227c020f1d22382a5417999dfbda23c1b)
2007-10-10 13:17:57 -05:00
Stefan Metzmacher
06ebab9e91 r7469: fix typo
metze
(This used to be commit 98acab72c9bf810a96c6529510ee12eb5a4c74c3)
2007-10-10 13:17:56 -05:00
Stefan Metzmacher
13dcf319dc r7468: create better output
metze
(This used to be commit 99152ce6f084acb13dc38b407c569aca89b12ed5)
2007-10-10 13:17:56 -05:00
Stefan Metzmacher
714a089552 r7467: a little fix for the build-farm
metze
(This used to be commit 6e8c8f0f8730a755cfbef9d1900f348031ba9b7f)
2007-10-10 13:17:56 -05:00
Stefan Metzmacher
57f859a11a r7466: add RPC-SPOOLSS to the supported tests
metze
(This used to be commit 3c1d2364450a4f157e5f19c01295a8575adebaff)
2007-10-10 13:17:56 -05:00
Stefan Metzmacher
838e4835de r7465: - return empty lists for now
- return WERR_NOT_SUPPORTED on AddPort()
(we pass the RPC-SPOOLSS test now :-)

metze
(This used to be commit d62db5b7d3b6418e870b87c8fd33a1587ecc1728)
2007-10-10 13:17:56 -05:00
Stefan Metzmacher
56af29caa5 r7464: add newline to printf
metze
(This used to be commit 7123cd1116a464057bfaa0b3fcb881ee96f684cc)
2007-10-10 13:17:56 -05:00
Stefan Metzmacher
67c606b863 r7463: - move some more stuff into functions
- try to kill all jobs return by jobs -p

metze
(This used to be commit e4f5e52a8454fc2e6d5536e2cc9eb918c6c0e174)
2007-10-10 13:17:55 -05:00
Stefan Metzmacher
46b829513a r7462: fix Enum* pushing, we need to send back a buffer of the same size as we got
in the recv code..., this makes the w2k3 printserver properties gui happy:-)

metze
(This used to be commit 0130b0d90223bb7278f924e1b1370778f25d0d91)
2007-10-10 13:17:55 -05:00
Andrew Tridgell
6ef2a41aa1 r7461: this is the start of some code for mapping IDL onto ejs. This is hand
written code, and it doesn't work or even compile yet. I am committing
it to make it easier to discuss the approach with jelmer and tpot.

The intention is that this code will eventually end up being mostly
auto-generated (with the utility functions split out, just like
librpc/ndr/*.c)
(This used to be commit 30e876e9c2ba73a3bc26e7708110e00a8552a75e)
2007-10-10 13:17:55 -05:00
Andrew Tridgell
d543e4a265 r7460: fixed several problems with the socket wrapper code and unbound sockets
This should fix the LOCAL-SOCKET test in the build farm
(This used to be commit 417e967afb457ee505c2302cdc83d7060033b0aa)
2007-10-10 13:17:55 -05:00
Andrew Tridgell
70656780ad r7459: fixed pvfs for the RAW-MUX test
when you cancel a lock, w2k3 gives NT_STATUS_FILE_LOCK_CONFLICT not
NT_STATUS_CANCELLED. Strange.
(This used to be commit a4f17fcd9218f16b6cc166b2f797e8889d6f63f4)
2007-10-10 13:17:55 -05:00
Stefan Metzmacher
0f8d452ca0 r7458: don't look at components[-1] :-)
we now survive the RAW-UNLINK test without crashing

metze
(This used to be commit c2149963911bf95892e732b744f244fd76ff88c8)
2007-10-10 13:17:55 -05:00
Tim Potter
aa7b6b3ea5 r7457: Return an ejs C pointer object from the ejs connect() function.
Add a session_setup() function that does an anonymous session setup.  Will
add credential passing later.
(This used to be commit 832332de5db7102085e7c44d4256fb199d8123eb)
2007-10-10 13:17:55 -05:00
Tim Potter
a925848704 r7456: Add a simple type that represents a pointer. The ejs people may ask us
to change this later but that will be pretty easy.

We can use this type to pass around pointers to handles in C.  Talloc
allows us to do type checking too.
(This used to be commit b95c0bc9b0a18aeaa89f704e37669f01df2c2ad0)
2007-10-10 13:17:54 -05:00
Tim Potter
302b4db004 r7455: Remove some talloc contexts that aren't used.
(This used to be commit b0ad51f2ce6c3646d664773aaa32fe55172ad88b)
2007-10-10 13:17:54 -05:00
Derrell Lipman
5351ae59a0 r7449: add ctype.h header to dn expand function
(This used to be commit 0e3b872560d82e1a0f7b58fe7d210563d6d29daf)
2007-10-10 13:17:54 -05:00
Derrell Lipman
09bdc1b938 r7446: add distclean target to generated ldb makefile
(This used to be commit 9a78161b0fdb3406c70b9f5a8009ed8fc5268445)
2007-10-10 13:17:54 -05:00
Derrell Lipman
b501bf17ab r7443: reorg functions for readability
(This used to be commit 7543acfa9fe87b43cfee482cf02e56d73d29596b)
2007-10-10 13:17:54 -05:00
Stefan Metzmacher
4140ccd0dd r7442: skip tests that require smbd, but smbd is down
metze
(This used to be commit dad79155624808aa85c34921f05d2e0cded6ad12)
2007-10-10 13:17:54 -05:00
Volker Lendecke
84ee48e3e9 r7441: Get rid of // comments. Tridge, if this breaks anything, please revert it. More tomorrow
Volker
(This used to be commit 02efa4427d80aa1e9a8f0275c568d977faa0f9b8)
2007-10-10 13:17:54 -05:00
Derrell Lipman
ee3f4b12d2 r7438: work in progress
(This used to be commit 2fc5343f0637ef3109b079dbc33d6cf4e58c8d5e)
2007-10-10 13:17:53 -05:00
Derrell Lipman
c63c28f5bd r7437: Make Simo happy.
I still think this URI syntax for a 'protocol' which has no network component
is stupid; it should just be

  sqlite:local_file
or
  sqlite:/full/path/to/file

but there is enough precedent to warrant the behavior that Simo wants that it
is not worth arguing.
(This used to be commit 61dcb462f30a65256e263e87c192ed7f5280c7af)
2007-10-10 13:17:53 -05:00
Volker Lendecke
c96492a9dc r7436: As far as I see it, these are the last two "real" ones for Samba4 on AIX to
build. The remaining patch (not now) is to convert the javascript stuff not to
use // style comments.

Volker
(This used to be commit 29f7e430ac4ae43f6844f021be73bf391610ef73)
2007-10-10 13:17:53 -05:00
Volker Lendecke
46c231f1c8 r7435: Another little step, sorry for the spam... :-)
(This used to be commit 96d9b7fc988405a0d771b778e95a9f60b1efe514)
2007-10-10 13:17:53 -05:00