kai/samba.git
16 years agor19535: Fix warnings.
Jelmer Vernooij [Thu, 2 Nov 2006 21:41:50 +0000 (21:41 +0000)]
r19535: Fix warnings.

16 years agor19532: oops forgot this
Simo Sorce [Thu, 2 Nov 2006 00:32:42 +0000 (00:32 +0000)]
r19532: oops forgot this

16 years agor19531: Make struct ldb_dn opaque and local to ldb_dn.c
Simo Sorce [Wed, 1 Nov 2006 23:31:26 +0000 (23:31 +0000)]
r19531: Make struct ldb_dn opaque and local to ldb_dn.c

16 years agor19523: Remove unused functions.
Andrew Bartlett [Wed, 1 Nov 2006 09:57:56 +0000 (09:57 +0000)]
r19523: Remove unused functions.

Andrew Bartlett

16 years agor19522: Remove gensec and credentials dependency from the rootdse module (less
Andrew Bartlett [Wed, 1 Nov 2006 03:21:04 +0000 (03:21 +0000)]
r19522: Remove gensec and credentials dependency from the rootdse module (less
dependency loops).

This moves the evaluation of the SASL mechansim list to display in the
rootDSE to the ldap server.

Andrew Bartlett

16 years agor19521: Fix memory leak.
Andrew Bartlett [Wed, 1 Nov 2006 03:17:42 +0000 (03:17 +0000)]
r19521: Fix memory leak.

Andrew Bartlett

16 years agor19520: Try not to read past the end of the ldb buffer.
Andrew Bartlett [Wed, 1 Nov 2006 03:17:23 +0000 (03:17 +0000)]
r19520: Try not to read past the end of the ldb buffer.

Andrew Bartlett

16 years agor19513: Add support for recipes (using '@')
Jelmer Vernooij [Mon, 30 Oct 2006 11:34:59 +0000 (11:34 +0000)]
r19513: Add support for recipes (using '@')

16 years agor19512: Add --shell option to smbtorture (first work towards support for 'recipes')
Jelmer Vernooij [Mon, 30 Oct 2006 01:19:31 +0000 (01:19 +0000)]
r19512: Add --shell option to smbtorture (first work towards support for 'recipes')

16 years agor19511: Remove unused externs.
Jelmer Vernooij [Mon, 30 Oct 2006 00:24:35 +0000 (00:24 +0000)]
r19511: Remove unused externs.

16 years agor19510: Make smbtorture's `nprocs' parameter a parametric option.
Jelmer Vernooij [Mon, 30 Oct 2006 00:17:16 +0000 (00:17 +0000)]
r19510: Make smbtorture's `nprocs' parameter a parametric option.

16 years agor19509: Simplify buildsystem code, create proper symlinks for aliases.
Jelmer Vernooij [Sun, 29 Oct 2006 23:50:32 +0000 (23:50 +0000)]
r19509: Simplify buildsystem code, create proper symlinks for aliases.

16 years agor19508: fixed SMB2-SETINFO
Andrew Tridgell [Sun, 29 Oct 2006 22:48:43 +0000 (22:48 +0000)]
r19508: fixed SMB2-SETINFO

the pvfs_acl_xattr backend was not being initialised

16 years agor19507: Merge my DSO fixes branch. Building Samba's libraries as shared libraries
Jelmer Vernooij [Sun, 29 Oct 2006 17:40:19 +0000 (17:40 +0000)]
r19507: Merge my DSO fixes branch. Building Samba's libraries as shared libraries
works again now, by specifying --enable-dso to configure.

16 years agor19506: fixed remaining parts of RAW-READ and RAW-WRITE tests to check for
Andrew Tridgell [Sun, 29 Oct 2006 05:01:36 +0000 (05:01 +0000)]
r19506: fixed remaining parts of RAW-READ and RAW-WRITE tests to check for
CAP_LARGE_FILES

16 years agor19505: fixed a valgrind error
Andrew Tridgell [Sat, 28 Oct 2006 09:40:00 +0000 (09:40 +0000)]
r19505: fixed a valgrind error

16 years agor19504: - fixed a free error in file_lines_parse
Andrew Tridgell [Sat, 28 Oct 2006 06:06:15 +0000 (06:06 +0000)]
r19504: - fixed a free error in file_lines_parse

- added a function to test for large file support

- enable CAP_LARGE_FILES only if the test passes

- don't test at large offsets if the server doesn't set
  CAP_LARGE_FILES

16 years agor19503: it only makes sense to run the LOCAL-ICONV test on 'known good'
Andrew Tridgell [Sat, 28 Oct 2006 05:21:11 +0000 (05:21 +0000)]
r19503: it only makes sense to run the LOCAL-ICONV test on 'known good'
platforms as it tests the system iconv with the built in iconv. Limit
the test to Linux to avoid spurious errors.

16 years agor19502: fixed the RPC-SECRETS test with kerberos. Andrew, can you look at this
Andrew Tridgell [Sat, 28 Oct 2006 04:17:43 +0000 (04:17 +0000)]
r19502: fixed the RPC-SECRETS test with kerberos. Andrew, can you look at this
as well?

The server side change is needed to fix a valgrind error, which was
possibly exploitable if the client sent deliberately bad data

16 years agor19501: fix the hangs in the build farm in RPC-SECRETS
Andrew Tridgell [Fri, 27 Oct 2006 01:10:49 +0000 (01:10 +0000)]
r19501: fix the hangs in the build farm in RPC-SECRETS

a RPC-SECRETS on kerberos test still fails, but I'll let andrew take a
look at that later :)

16 years agor19498: the autofree test cannot be run as part of smbtorture
Andrew Tridgell [Thu, 26 Oct 2006 03:26:53 +0000 (03:26 +0000)]
r19498: the autofree test cannot be run as part of smbtorture

16 years agor19496: remove unused file
Stefan Metzmacher [Wed, 25 Oct 2006 15:14:03 +0000 (15:14 +0000)]
r19496: remove unused file

metze

16 years agor19495: Stop linking binaries twice (once before installation, once during build).
Jelmer Vernooij [Wed, 25 Oct 2006 14:58:05 +0000 (14:58 +0000)]
r19495: Stop linking binaries twice (once before installation, once during build).
Make TORTURE-TALLOC and TORTURE-REPLACE builtin again rather than
separate binaries.

16 years agor19492: - fix RPC-AUTHCONTEXT and RPC-SAMBA3-GETUSERNAME (sorry volker:-)
Stefan Metzmacher [Wed, 25 Oct 2006 11:50:23 +0000 (11:50 +0000)]
r19492: - fix RPC-AUTHCONTEXT and RPC-SAMBA3-GETUSERNAME (sorry volker:-)

smb_composite_sesssetup() doesn't set session->vuid any more...
(I changed that yesterday, because it was inconsistently only done
 for spnego session setups, as it was needed internaly for the 2nd
 session setup call, but know session->vuid is only touched (reset to 0)
 for the wrong password case)

metze

16 years agor19490: better to check the return result
Simo Sorce [Wed, 25 Oct 2006 01:59:07 +0000 (01:59 +0000)]
r19490: better to check the return result

16 years agor19489: Change ldb_msg_add_value and ldb_msg_add_empty to take a foruth argument.
Simo Sorce [Wed, 25 Oct 2006 01:42:59 +0000 (01:42 +0000)]
r19489: Change ldb_msg_add_value and ldb_msg_add_empty to take a foruth argument.
This is a pointer to an element pointer. If it is not null it will be
filled with the pointer of the manipulated element.
Will avoid double searches on the elements list in some cases.

16 years agor19485: Fix Coverity # 319
Volker Lendecke [Tue, 24 Oct 2006 20:15:13 +0000 (20:15 +0000)]
r19485: Fix Coverity # 319

16 years agor19482: remove pointless cast
Stefan Metzmacher [Tue, 24 Oct 2006 17:00:52 +0000 (17:00 +0000)]
r19482: remove pointless cast

metze

16 years agor19481: - reset the vuid before trying a new session setup
Stefan Metzmacher [Tue, 24 Oct 2006 16:16:31 +0000 (16:16 +0000)]
r19481: - reset the vuid before trying a new session setup
- only touch session->vuid when needed
- it make no sense to set an .spnego.out.vuid

metze

16 years agor19480: - clear the whole session struct (only let the pid untouched)
Stefan Metzmacher [Tue, 24 Oct 2006 16:14:00 +0000 (16:14 +0000)]
r19480: - clear the whole session struct (only let the pid untouched)
- zero state struct

metze

16 years agor19479: Remove more unused functions. These are handled via authentication
Andrew Bartlett [Tue, 24 Oct 2006 08:08:03 +0000 (08:08 +0000)]
r19479: Remove more unused functions.  These are handled via authentication
abstractions now.

Andrew Bartlett

16 years agor19478: Remove unused functions, and make static functions used only in this
Andrew Bartlett [Tue, 24 Oct 2006 07:56:59 +0000 (07:56 +0000)]
r19478: Remove unused functions, and make static functions used only in this
file.  Everybody calls this via the dcerpc_pipe_connect() or
dcerpc_pipe_connect_b() functions.

Andrew Bartlett

16 years agor19476: small typo.
Brad Henry [Tue, 24 Oct 2006 02:50:17 +0000 (02:50 +0000)]
r19476: small typo.

16 years agor19475: fixed a couple of typos.
Brad Henry [Tue, 24 Oct 2006 02:49:15 +0000 (02:49 +0000)]
r19475: fixed a couple of typos.

16 years agor19474: Move the Samba server / Windows client test to its own script.
Brad Henry [Tue, 24 Oct 2006 01:40:15 +0000 (01:40 +0000)]
r19474: Move the Samba server / Windows client test to its own script.

16 years agor19473: Add NET tests in their own script. Run the same set of tests that 'make test...
Brad Henry [Tue, 24 Oct 2006 01:29:02 +0000 (01:29 +0000)]
r19473: Add NET tests in their own script. Run the same set of tests that 'make test' does.
Comment those tests which don't pass.

16 years agor19472: Move rpc tests to their own scripts. Run the same tests as 'make test' does.
Brad Henry [Tue, 24 Oct 2006 01:25:09 +0000 (01:25 +0000)]
r19472: Move rpc tests to their own scripts. Run the same tests as 'make test' does.
Comment those tests that don't pass.

16 years agor19471: Move BASE and RAW tests to their own scripts. Run the same set of tests as...
Brad Henry [Tue, 24 Oct 2006 01:18:07 +0000 (01:18 +0000)]
r19471: Move BASE and RAW tests to their own scripts. Run the same set of tests as 'make test' does, at least for those that pass.
Comment the tests that don't pass.

16 years agor19470: Move common windows test functions into their own script wintest_functions...
Brad Henry [Tue, 24 Oct 2006 01:04:20 +0000 (01:04 +0000)]
r19470: Move common windows test functions into their own script wintest_functions.sh, and remove them from the main windows test script.

16 years agor19465: Rather than use the non-standard API for determining the signature
Andrew Bartlett [Mon, 23 Oct 2006 06:08:25 +0000 (06:08 +0000)]
r19465: Rather than use the non-standard API for determining the signature
length, use the amount the wapped message expanded by.

This works, because GSSAPI doesn't do AEAD (signing of headers), and
so changing the signature length after the fact is valid.

Andrew Bartlett

16 years agor19464: Reject passwords that cannot be converted into UCS2.
Andrew Bartlett [Mon, 23 Oct 2006 06:06:35 +0000 (06:06 +0000)]
r19464: Reject passwords that cannot be converted into UCS2.

Andrew Bartlett

16 years agor19463: Make it clear what argument is incorrect
Andrew Bartlett [Mon, 23 Oct 2006 06:05:41 +0000 (06:05 +0000)]
r19463: Make it clear what argument is incorrect

Andrew Bartlett

16 years agor19462: This isn't an encrypted attribute.
Andrew Bartlett [Mon, 23 Oct 2006 06:05:21 +0000 (06:05 +0000)]
r19462: This isn't an encrypted attribute.

Andrew Bartlett

16 years agor19461: Make sqlite3 work again (semi-async)
Simo Sorce [Mon, 23 Oct 2006 00:17:44 +0000 (00:17 +0000)]
r19461: Make sqlite3 work again (semi-async)
Still not all tests pass

16 years agor19460: currently building when there is an existing previous build in place is broken
Simo Sorce [Mon, 23 Oct 2006 00:17:04 +0000 (00:17 +0000)]
r19460: currently building when there is an existing previous build in place is broken

16 years agor19459: Do not build nss by default (it probably works only on linux)
Simo Sorce [Sun, 22 Oct 2006 22:06:08 +0000 (22:06 +0000)]
r19459: Do not build nss by default (it probably works only on linux)
Fix warning with standalone.sh if build exists

16 years agor19458: Some info on the "schema"
Simo Sorce [Sun, 22 Oct 2006 21:30:12 +0000 (21:30 +0000)]
r19458: Some info on the "schema"

16 years agor19457: committed by mistake, this binary is available from here anyway:
Simo Sorce [Sun, 22 Oct 2006 21:20:27 +0000 (21:20 +0000)]
r19457: committed by mistake, this binary is available from here anyway:
http://www.samba.org/ftp/unpacked/junkcode/nsstest.c

16 years agor19456: Add an example application for ldb using the tdb backend
Simo Sorce [Sun, 22 Oct 2006 21:18:43 +0000 (21:18 +0000)]
r19456: Add an example application for ldb using the tdb backend

16 years agor19455: forgot this
Simo Sorce [Sun, 22 Oct 2006 21:17:30 +0000 (21:17 +0000)]
r19455: forgot this

16 years agor19454: In standalone build init asq too
Simo Sorce [Sun, 22 Oct 2006 21:16:46 +0000 (21:16 +0000)]
r19454: In standalone build init asq too

16 years agor19453: Expose helper functions
Simo Sorce [Sun, 22 Oct 2006 21:16:22 +0000 (21:16 +0000)]
r19453: Expose helper functions

16 years agor19452: Warn but don't die if registering against the rootdse is not possible
Simo Sorce [Sun, 22 Oct 2006 21:15:30 +0000 (21:15 +0000)]
r19452: Warn but don't die if registering against the rootdse is not possible

16 years agor19449: ldbbrowse: installation hopefully works now. "Developer" installations
Derrell Lipman [Sun, 22 Oct 2006 02:57:28 +0000 (02:57 +0000)]
r19449: ldbbrowse: installation hopefully works now.  "Developer" installations
('configure.developer' or 'configure --enable-developer') may still have
problems as I'm not sure I got all of the paths right for that.

With the changes Tridge has made to the Main Menu in swat, given a
non-developer installation, you should be able to get to ldbbrowse via:

  JSON/qooxdoo -> ldb browser

Derrell

16 years agor19443: reset trap when we have removed the test specifc files already
Stefan Metzmacher [Sat, 21 Oct 2006 11:50:34 +0000 (11:50 +0000)]
r19443: reset trap when we have removed the test specifc files already

metze

16 years agor19442: this real cause of the failures on *BSD came from the missing
Stefan Metzmacher [Sat, 21 Oct 2006 10:12:39 +0000 (10:12 +0000)]
r19442: this real cause of the failures on *BSD came from the missing
ICONV dependency and not from a broken configure test
and incorrect ifdef's.

metze

16 years agor19441: work in progress support for NFS4 ACLs in Samba4 on Linux. Still work
Andrew Tridgell [Sat, 21 Oct 2006 09:46:12 +0000 (09:46 +0000)]
r19441: work in progress support for NFS4 ACLs in Samba4 on Linux. Still work
to do, particularly with getting the detailed bit mappings right, and
on sid mapping. Does not pass RAW-ACLS yet

16 years agor19440: merged from samba3
Andrew Tridgell [Sat, 21 Oct 2006 09:42:46 +0000 (09:42 +0000)]
r19440: merged from samba3

16 years agor19439: revert my change to a torture assert - expected is a bool
Andrew Tridgell [Sat, 21 Oct 2006 09:38:16 +0000 (09:38 +0000)]
r19439: revert my change to a torture assert - expected is a bool

16 years agor19438: try to fix up the build breakages on BSD systems due to incorrectly
Andrew Tridgell [Sat, 21 Oct 2006 09:15:15 +0000 (09:15 +0000)]
r19438: try to fix up the build breakages on BSD systems due to incorrectly
detecting iconv.h

16 years agor19437: don't run the LOCAL-ICONV test on systems that don't have CP850
Andrew Tridgell [Sat, 21 Oct 2006 08:27:18 +0000 (08:27 +0000)]
r19437: don't run the LOCAL-ICONV test on systems that don't have CP850
support

16 years agor19436: fixed stderr in piped_child() as well
Andrew Tridgell [Sat, 21 Oct 2006 06:56:51 +0000 (06:56 +0000)]
r19436: fixed stderr in piped_child() as well

16 years agor19435: fixed the subunit code on platforms with small pipe buffers, and use
Andrew Tridgell [Sat, 21 Oct 2006 06:44:36 +0000 (06:44 +0000)]
r19435: fixed the subunit code on platforms with small pipe buffers, and use
pipe() on all platforms, not socket pairs (stdin/out are not sockets)

also show the output while its happening, so the tests become useful
again for non-automated usage.

I still really dislike running tests like the TALLOC one as child
processes

16 years agor19434: we need to force line buffering as the new torture code doesn't create
Andrew Tridgell [Sat, 21 Oct 2006 06:40:39 +0000 (06:40 +0000)]
r19434: we need to force line buffering as the new torture code doesn't create
a pty in the piped_child() code

Jelmer, if you want to fix this on platforms that support it, see the
forkpty() call, or see
http://junkcode.samba.org/ftp/unpacked/junkcode/rline/

16 years agor19433: Metze, please take a look at this one!
Andrew Tridgell [Sat, 21 Oct 2006 06:13:50 +0000 (06:13 +0000)]
r19433: Metze, please take a look at this one!

Failures on some platforms of the WINSREPLICATION test have been
bugging us for months. I finally traced it down to this one record, at
least on the SerNet-solaris8 machine. Disabling this one record allows
the test to pass. I have no idea why, but I'll leave that to Metze :)

16 years agor19432: This way of reverting snapshots is much better than the way I was doing them...
Brad Henry [Sat, 21 Oct 2006 03:18:09 +0000 (03:18 +0000)]
r19432: This way of reverting snapshots is much better than the way I was doing them before.

16 years agor19428: moved tdbutil.c from lib/tdb/common/ to lib/util/util_tdb.c
Andrew Tridgell [Fri, 20 Oct 2006 23:32:23 +0000 (23:32 +0000)]
r19428: moved tdbutil.c from lib/tdb/common/ to lib/util/util_tdb.c

tdbutil.c is Samba specific, so should not be part of the generic tdb
library

16 years agor19427: print out the currect name
Stefan Metzmacher [Fri, 20 Oct 2006 15:20:48 +0000 (15:20 +0000)]
r19427: print out the currect name

metze

16 years agor19425: two more tdb functions from samba3
Andrew Tridgell [Fri, 20 Oct 2006 09:48:18 +0000 (09:48 +0000)]
r19425: two more tdb functions from samba3

16 years agor19423: merge some tdb changes from SAMBA_3_0 to SAMBA_4_0
Andrew Tridgell [Fri, 20 Oct 2006 08:06:14 +0000 (08:06 +0000)]
r19423: merge some tdb changes from SAMBA_3_0 to SAMBA_4_0

this is in preparation of a merge in the other direction

16 years agor19412: some rather strange looking changes to talloc that gain us about 50%
Andrew Tridgell [Thu, 19 Oct 2006 10:02:26 +0000 (10:02 +0000)]
r19412: some rather strange looking changes to talloc that gain us about 50%
in the talloc benchmark. These changes were driven by some cachegrind
profiles, with the biggest improvements coming from inlining some
functions.

I don't think it would be a good idea to start spreading inline and
likely()/unlikely() in other parts of Samba, as the benefit in most
code will be very small, but talloc() is such a speed critical part of
Samba that I think these changes are worthwhile

16 years agor19411: sigh - we can't call close here as its mapped to swrap_close() in the
Andrew Tridgell [Thu, 19 Oct 2006 09:35:05 +0000 (09:35 +0000)]
r19411: sigh - we can't call close here as its mapped to swrap_close() in the
build farm

16 years agor19410: - fixed checker error
Andrew Tridgell [Thu, 19 Oct 2006 08:58:55 +0000 (08:58 +0000)]
r19410: - fixed checker error

- close the sockets after the socketpair test

16 years agor19409: Pull in <sys/time.h> for struct timeval for non samba build (don't
Love Hörnquist Åstrand [Thu, 19 Oct 2006 04:56:21 +0000 (04:56 +0000)]
r19409: Pull in <sys/time.h> for struct timeval for non samba build (don't
depend on namespace pollution)

16 years agor19408: I think tm_mon is ending up as -1 on some platforms
Andrew Tridgell [Thu, 19 Oct 2006 03:04:00 +0000 (03:04 +0000)]
r19408: I think tm_mon is ending up as -1 on some platforms

16 years agor19407: add a copyright notice
Derrell Lipman [Thu, 19 Oct 2006 01:19:44 +0000 (01:19 +0000)]
r19407: add a copyright notice

16 years agor19406: ldbbrowse: done!
Derrell Lipman [Thu, 19 Oct 2006 01:10:57 +0000 (01:10 +0000)]
r19406: ldbbrowse: done!

With ldbbrowse, you can issue searches or browse the database in tree format.
To try it, ensure that "make installswat" is done (it's run by "make install"
so you shouldn't have to do anything special).  Run smbd and connect with your
browser to http://localhost:901/apps/samba/utils/ldbbrowse.html

(It looks great in firefox.  There's some problem with the layout in IE.
Maybe if I get really really motivated one of these days, I'll look into that.)

There's lots more that could be done with it, but as an example of using
qooxdoo and JSON-RPC, I think it accomplishes its task.

Enjoy!

Derrell

16 years agor19405: the talloc speed test suite was not giving an accurate picture of the
Andrew Tridgell [Thu, 19 Oct 2006 00:59:33 +0000 (00:59 +0000)]
r19405: the talloc speed test suite was not giving an accurate picture of the
cost of talloc versus malloc. The size parameter in the test suite was
constantly increasing, leading to a worst case for malloc. It is far
more common to have talloc calls of 100 bytes or lower, so change the
benchmark to reflect this.

This makes talloc look much worse - on my laptop I now get:

talloc: 5615164 ops/sec
malloc: 14337130 ops/sec

I'm working on improving that.

16 years agor19404: fixed the LOCAL-ICONV test
Andrew Tridgell [Wed, 18 Oct 2006 23:27:48 +0000 (23:27 +0000)]
r19404: fixed the LOCAL-ICONV test

16 years agor19403: try to fix the crashes in the buildfarm related to timegm
Andrew Tridgell [Wed, 18 Oct 2006 22:33:20 +0000 (22:33 +0000)]
r19403: try to fix the crashes in the buildfarm related to timegm

16 years agor19402: - use the new tdb_lockall_read() to make ldb_search() more efficient,
Andrew Tridgell [Wed, 18 Oct 2006 21:45:46 +0000 (21:45 +0000)]
r19402: - use the new tdb_lockall_read() to make ldb_search() more efficient,
  by avoiding chain locks on each tdb_fetch() within the search

- use the tdb_get_seqnum() call to avoid re-reading the @BASEINFO
  record when it hasn't changed.

These speed up the LOCAL-DBSPEED test for ldb from 7k ops/sec to a bit
over 11k ops/sec

16 years agor19401: make tdb_lockall() much more efficient, and add a tdb_lockall_read()
Andrew Tridgell [Wed, 18 Oct 2006 21:41:59 +0000 (21:41 +0000)]
r19401: make tdb_lockall() much more efficient, and add a tdb_lockall_read()
call which does a read lock on all chains. These will be used to make
ldb searches more efficient

16 years agor19400: fixed a valgrind error in the directory registry backend (name was
Andrew Tridgell [Wed, 18 Oct 2006 21:37:37 +0000 (21:37 +0000)]
r19400: fixed a valgrind error in the directory registry backend (name was
used after closedir(), which invalidates the name)

16 years agor19398: more comments
Rafal Szczesniak [Wed, 18 Oct 2006 21:21:28 +0000 (21:21 +0000)]
r19398: more comments

rafal

16 years agor19397: Restrict databases which can be opened to a known set (currently only 'sam...
Derrell Lipman [Wed, 18 Oct 2006 18:55:50 +0000 (18:55 +0000)]
r19397: Restrict databases which can be opened to a known set (currently only 'sam.ldb')

16 years agor19396: Assume socketpair() is always available (cared for by libreplace) and
Jelmer Vernooij [Wed, 18 Oct 2006 16:47:35 +0000 (16:47 +0000)]
r19396: Assume socketpair() is always available (cared for by libreplace) and
create a socket for stderr.

16 years agor19395: Fix replacement function compilation.
Jelmer Vernooij [Wed, 18 Oct 2006 16:40:55 +0000 (16:40 +0000)]
r19395: Fix replacement function compilation.

16 years agor19393: Add replacement function for socketpair()
Jelmer Vernooij [Wed, 18 Oct 2006 16:08:22 +0000 (16:08 +0000)]
r19393: Add replacement function for socketpair()

16 years agor19392: Use torture_setting_* rather than lp_parm_* where possible.
Jelmer Vernooij [Wed, 18 Oct 2006 14:23:19 +0000 (14:23 +0000)]
r19392: Use torture_setting_* rather than lp_parm_* where possible.

16 years agor19389: Remove samba3-specific checks: instead, always simply mark these tests as
Jelmer Vernooij [Wed, 18 Oct 2006 12:23:35 +0000 (12:23 +0000)]
r19389: Remove samba3-specific checks: instead, always simply mark these tests as
known failing.

16 years agor19388: Start running all LOCAL-* tests but list some of them as known failing.
Jelmer Vernooij [Wed, 18 Oct 2006 10:39:07 +0000 (10:39 +0000)]
r19388: Start running all LOCAL-* tests but list some of them as known failing.

16 years agor19387: Exit with 0 if failures were expected
Jelmer Vernooij [Wed, 18 Oct 2006 10:03:30 +0000 (10:03 +0000)]
r19387: Exit with 0 if failures were expected

16 years agor19384: ldbbrowse now has all basic functionality.
Derrell Lipman [Wed, 18 Oct 2006 00:35:56 +0000 (00:35 +0000)]
r19384: ldbbrowse now has all basic functionality.

Issues left for the enterprising developers:

  - Selection of the ldb file to open.  This version always browses sam.ldb.

  - When issuing a search which returns a huge amount of data, firefox times
    out while adding the data to the page.  The ldb functions on the server
    should be upgraded to allow providing a starting offset in the result set,
    and a limit of how many results to return.  The application can then issue
    multiple requests if necessary, to limit the amount of processing needed
    to handle any single result set.

Next step for me is to make it look more like a Samba application and less
like a qooxdoo example application.  Per Tridge's request, I'll leave the
debug console on the page.

Derrell

16 years agor19383: pass only the base filename of an ldb file to be opened; allow server to...
Derrell Lipman [Wed, 18 Oct 2006 00:29:26 +0000 (00:29 +0000)]
r19383: pass only the base filename of an ldb file to be opened; allow server to prepend path where it's located (private_dir)

16 years agor19382: latest qooxdoo runtime build
Derrell Lipman [Wed, 18 Oct 2006 00:28:05 +0000 (00:28 +0000)]
r19382: latest qooxdoo runtime build

16 years agor19381: Print out the specific tests that failed after a smbtorture run.
Jelmer Vernooij [Tue, 17 Oct 2006 22:06:43 +0000 (22:06 +0000)]
r19381: Print out the specific tests that failed after a smbtorture run.

Support listing known failures as a list of wildcards in the file
`KNOWN_FAILURES'.

16 years agor19380: forgot to add home drive testing as well as home directory...
Rafal Szczesniak [Tue, 17 Oct 2006 20:56:46 +0000 (20:56 +0000)]
r19380: forgot to add home drive testing as well as home directory...

rafal

16 years agor19379: add testing home directory field to the samr tests.
Rafal Szczesniak [Tue, 17 Oct 2006 20:32:01 +0000 (20:32 +0000)]
r19379: add testing home directory field to the samr tests.

rafal

16 years agor19378: Add another type of test result 'error'
Jelmer Vernooij [Tue, 17 Oct 2006 19:36:55 +0000 (19:36 +0000)]
r19378: Add another type of test result 'error'

16 years agor19377: Simplify report functions.
Jelmer Vernooij [Tue, 17 Oct 2006 19:06:50 +0000 (19:06 +0000)]
r19377: Simplify report functions.