1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-05 21:57:51 +03:00

4985 Commits

Author SHA1 Message Date
Derrell Lipman
797263330b r7498: ldb_sqlite3 work in progress 2007-10-10 13:18:00 -05:00
Andrew Tridgell
c24ab34813 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
2007-10-10 13:18:00 -05:00
Andrew Tridgell
a8c99d0e37 r7496: removed an unused variable 2007-10-10 13:18:00 -05:00
Andrew Tridgell
3d70755abf r7495: used --maximum-runtime=300 for each smbtorture call, to prevent it
running too long
2007-10-10 13:18:00 -05:00
Andrew Tridgell
5cccf0a770 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.
2007-10-10 13:18:00 -05:00
Andrew Tridgell
3cec5b3c86 r7493: add a --maximum-runtime option to smbd. If this time is exceeeded then it exits.
This will be used in the build farm
2007-10-10 13:17:59 -05:00
Stefan Metzmacher
134f5defa0 r7492: give better output
metze
2007-10-10 13:17:59 -05:00
Rafal Szczesniak
d54bf09701 r7491: libnet functions used in tests have different names now.
rafal
2007-10-10 13:17:59 -05:00
Rafal Szczesniak
f6ef7b882a 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
2007-10-10 13:17:59 -05:00
Stefan Metzmacher
2dcbf07d0c r7489: just a cosmetic change
metze
2007-10-10 13:17:59 -05:00
Stefan Metzmacher
e27c1ab89b r7488: update the mode in the struct too,
that fixes the RAW-RENAME test

metze
2007-10-10 13:17:59 -05:00
Stefan Metzmacher
376c0560e0 r7487: check both files before and after setting the attribs on file1
metze
2007-10-10 13:17:58 -05:00
Stefan Metzmacher
5cf27b4af3 r7486: fix for the build farm to display the panic messages and backtrace inside the per test frame
metze
2007-10-10 13:17:58 -05:00
Andrew Tridgell
9ce2b9a79b 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
2007-10-10 13:17:58 -05:00
Andrew Tridgell
ee8bf9db4a r7484: the previous bug can also affect the kdc 2007-10-10 13:17:58 -05:00
Andrew Tridgell
b7fefe76a2 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'
2007-10-10 13:17:58 -05:00
Tim Potter
340ad67cad r7482: Rename smbcli_send_tconX() to smbcli_tconX() so as not to get it
confused with an async function.
2007-10-10 13:17:58 -05:00
Tim Potter
633b24345f r7481: Add a mprVarIsPtr macro. 2007-10-10 13:17:57 -05:00
Derrell Lipman
510e7994da r7480: ldb_sqlite3 work in progress 2007-10-10 13:17:57 -05:00
Tim Potter
c4d10a98ff r7479: ifdef out some more stuff to fix compiler warnings. 2007-10-10 13:17:57 -05:00
Andrew Tridgell
db2b507add r7478: fixed a problem with a backgrounded smbd looping to handle continuous
tty related signals
2007-10-10 13:17:57 -05:00
Tim Potter
8574f64ca2 r7477: Add MPR_TYPE_PTR to ejs_typeof(). 2007-10-10 13:17:57 -05:00
Andrew Tridgell
f5102b886c r7476: ensure dgram sockets are created non-blocking. As they usually skip
the connect() stage, we were missing this
2007-10-10 13:17:57 -05:00
Andrew Tridgell
71bf781227 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
2007-10-10 13:17:57 -05:00
Stefan Metzmacher
98acab72c9 r7469: fix typo
metze
2007-10-10 13:17:56 -05:00
Stefan Metzmacher
99152ce6f0 r7468: create better output
metze
2007-10-10 13:17:56 -05:00
Stefan Metzmacher
6e8c8f0f87 r7467: a little fix for the build-farm
metze
2007-10-10 13:17:56 -05:00
Stefan Metzmacher
3c1d236445 r7466: add RPC-SPOOLSS to the supported tests
metze
2007-10-10 13:17:56 -05:00
Stefan Metzmacher
d62db5b7d3 r7465: - return empty lists for now
- return WERR_NOT_SUPPORTED on AddPort()
(we pass the RPC-SPOOLSS test now :-)

metze
2007-10-10 13:17:56 -05:00
Stefan Metzmacher
7123cd1116 r7464: add newline to printf
metze
2007-10-10 13:17:56 -05:00
Stefan Metzmacher
e4f5e52a84 r7463: - move some more stuff into functions
- try to kill all jobs return by jobs -p

metze
2007-10-10 13:17:55 -05:00
Stefan Metzmacher
0130b0d902 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
2007-10-10 13:17:55 -05:00
Andrew Tridgell
30e876e9c2 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)
2007-10-10 13:17:55 -05:00
Andrew Tridgell
417e967afb r7460: fixed several problems with the socket wrapper code and unbound sockets
This should fix the LOCAL-SOCKET test in the build farm
2007-10-10 13:17:55 -05:00
Andrew Tridgell
a4f17fcd92 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.
2007-10-10 13:17:55 -05:00
Stefan Metzmacher
c214996391 r7458: don't look at components[-1] :-)
we now survive the RAW-UNLINK test without crashing

metze
2007-10-10 13:17:55 -05:00
Tim Potter
832332de5d 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.
2007-10-10 13:17:55 -05:00
Tim Potter
b95c0bc9b0 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.
2007-10-10 13:17:54 -05:00
Tim Potter
b0ad51f2ce r7455: Remove some talloc contexts that aren't used. 2007-10-10 13:17:54 -05:00
Derrell Lipman
0e3b872560 r7449: add ctype.h header to dn expand function 2007-10-10 13:17:54 -05:00
Derrell Lipman
9a78161b0f r7446: add distclean target to generated ldb makefile 2007-10-10 13:17:54 -05:00
Derrell Lipman
7543acfa9f r7443: reorg functions for readability 2007-10-10 13:17:54 -05:00
Stefan Metzmacher
dad7915562 r7442: skip tests that require smbd, but smbd is down
metze
2007-10-10 13:17:54 -05:00
Volker Lendecke
02efa4427d r7441: Get rid of // comments. Tridge, if this breaks anything, please revert it. More tomorrow
Volker
2007-10-10 13:17:54 -05:00
Derrell Lipman
2fc5343f06 r7438: work in progress 2007-10-10 13:17:53 -05:00
Derrell Lipman
61dcb462f3 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.
2007-10-10 13:17:53 -05:00
Volker Lendecke
29f7e430ac 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
2007-10-10 13:17:53 -05:00
Volker Lendecke
96d9b7fc98 r7435: Another little step, sorry for the spam... :-) 2007-10-10 13:17:53 -05:00
Stefan Metzmacher
38e5198b11 r7434: - do local tests step by step for better build-farm output
- fix typo ADDARGS -> ADDARG

metze
2007-10-10 13:17:53 -05:00
Volker Lendecke
c1ccaa0cc9 r7433: Another little AIX one... 2007-10-10 13:17:53 -05:00