kai/samba.git
16 years agor19259: An ldb browser.
Derrell Lipman [Fri, 13 Oct 2006 02:49:16 +0000 (02:49 +0000)]
r19259: An ldb browser.

This has the layout complete so anyone interested can see what a qooxdoo
application might look like.  It doesn't yet issue any JSON-RPC calls to do
anything useful (that's next), and it still has the appearance of a qooxdoo
test rather than something unique to Samba.  I'll adjust the appearance later.

This layout is loosely (or not so loosely) based on 'gq'.  A few things in
this layout won't apply to an ldb browser, but they're there for the time
being anyway until I decide exactly what to do with them.

Derrell
(This used to be commit 0780cbcdcc7672932b055966a9d0480d2cd705b4)

16 years agor19258: Don't delete the contents of the partitions twice, and in particular
Andrew Bartlett [Fri, 13 Oct 2006 01:35:52 +0000 (01:35 +0000)]
r19258: Don't delete the contents of the partitions twice, and in particular
don't delete their contents until we have specified the new partition
locations.

However, preserve the important part of tridge's change, that is to
ensure that no database index is present when the mass delete occours.
In my testing, it is best to leave the index until the provision is
compleated.

Andrew Bartlett
(This used to be commit 962219df7dc53ce6f6889f4b71ee19850c7ff7b5)

16 years agor19256: add missing infolevel and fields to SetUserInfo call
Rafal Szczesniak [Thu, 12 Oct 2006 20:21:46 +0000 (20:21 +0000)]
r19256: add missing infolevel and fields to SetUserInfo call

that's why ntsrv and win2k3 srv could pass the net test
and we could not...

rafal
(This used to be commit 60ade8ddbd01ac45e5fe6380542ba23cd861e133)

16 years agor19253: its not so useful to index on objectclass. Much better to search on
Andrew Tridgell [Thu, 12 Oct 2006 08:33:48 +0000 (08:33 +0000)]
r19253: its not so useful to index on objectclass. Much better to search on
objectCategory

provision now takes 2.4 secs, down from 24s on my laptop
(This used to be commit 3d3144cc06b9987adb3f17e43f2858e7c416b6ae)

16 years agor19252: - fixed 'erase' argument to setup_ldb()
Andrew Tridgell [Thu, 12 Oct 2006 08:32:58 +0000 (08:32 +0000)]
r19252: - fixed 'erase' argument to setup_ldb()

- when wiping a ldb, wipe within each naming context first. By not
  wiping the naming contexts we didn't wipe the partitions, which
  caused a massive slowdown in re-provisioning due to re-indexing of
  the schema.
(This used to be commit b62437214cf7c98c81598c4f37c91ab284928dbb)

16 years agor19251: fix silly typos causing the test to fail at account_name
Rafal Szczesniak [Wed, 11 Oct 2006 21:40:07 +0000 (21:40 +0000)]
r19251: fix silly typos causing the test to fail at account_name
and acct_expiry fields.

rafal
(This used to be commit dba5e642a0230539ac73292ac5baae0f74e9f46e)

16 years agor19247: Ok, figured out that wkssvc wksgetinfo also gives the server name. I thought I
Volker Lendecke [Wed, 11 Oct 2006 15:26:03 +0000 (15:26 +0000)]
r19247: Ok, figured out that wkssvc wksgetinfo also gives the server name. I thought I
had tested that w2k3 copies the input server name to output.

Volker
(This used to be commit b7e54501f773a11892ab5ef3202ee4d57723725e)

16 years agor19245: mrege from samba3:
Stefan Metzmacher [Wed, 11 Oct 2006 13:36:37 +0000 (13:36 +0000)]
r19245: mrege from samba3:

add AC_REMOVE_INCLUDE(), AC_REMOVE_DEFINE() macros

metze
(This used to be commit dc65a6625295a7316c2e9982ee09eb9607dbed70)

16 years agor19242: merge from samba3:
Stefan Metzmacher [Wed, 11 Oct 2006 11:52:49 +0000 (11:52 +0000)]
r19242: merge from samba3:

handle NO_CONFIG_H in libreplace

metze
(This used to be commit 909d736a4bf5a7adfcd64eecf6bb2a92211c6f96)

16 years agor19234: fix configure test for net/if.h for some platforms
Stefan Metzmacher [Wed, 11 Oct 2006 07:19:00 +0000 (07:19 +0000)]
r19234: fix configure test for net/if.h for some platforms

AC_LANG_SOURCE() causes to have the content of confdefs.h
in front of the file that will be compiled

metze
(This used to be commit cd03738e7c5610c4a0cb1161b9bcee5d7c88322d)

16 years agor19229: let mkversion.sh handle bzr trees
Stefan Metzmacher [Tue, 10 Oct 2006 15:19:56 +0000 (15:19 +0000)]
r19229: let mkversion.sh handle bzr trees

metze
(This used to be commit 12c8067337e4cecf1fcd3123e4e0e3bb1bbcba8e)

16 years agor19227: - add a AC_CACHE_CHECK() around the net/if.h test
Stefan Metzmacher [Tue, 10 Oct 2006 09:32:02 +0000 (09:32 +0000)]
r19227: - add a AC_CACHE_CHECK() around the net/if.h test
  to see (we now get some output that this test happens at all...).

- make use of AC_INCLUDES_DEFAULT

metze
(This used to be commit 7e399e607c8e9bf7365de7d492d29377177cdc1f)

16 years agor19225: 30 seconds is too short for a Samba4 provision to finish. Make the
Andrew Bartlett [Tue, 10 Oct 2006 08:55:44 +0000 (08:55 +0000)]
r19225: 30 seconds is too short for a Samba4 provision to finish.  Make the
timeout longer.

Andrew Bartlett
(This used to be commit cc03ffd0e97f82e4af3f80dc760c5297e2f93d79)

16 years agor19219: Fix a memleak in the generated srv_code.
Volker Lendecke [Tue, 10 Oct 2006 07:52:31 +0000 (07:52 +0000)]
r19219: Fix a memleak in the generated srv_code.

Fix a warning.

Implement the rng_fault_state return check.

After this (and Jeremy's fix) all Samba3-developers should do a 'make idl' and
do a complete rebuild.

Volker
(This used to be commit 0c0a861c8b5b4c44d290f8db0d4c5e95260140ca)

16 years agor19217: Merge from SAMBA_4_0_RELEASE:
Andrew Bartlett [Tue, 10 Oct 2006 04:22:00 +0000 (04:22 +0000)]
r19217: Merge from SAMBA_4_0_RELEASE:

Re-enable TLS in the default configuration.  We passed on the build
farm because we have an explicit diffie-hilliman parameters file set.

Andrew Bartlett
(This used to be commit d20ab6a5ed7f980cb653e965c4de3de8d058d9c4)

16 years agor19216: Merge from SAMBA_4_0_RELEASE:
Andrew Bartlett [Tue, 10 Oct 2006 04:20:50 +0000 (04:20 +0000)]
r19216: Merge from SAMBA_4_0_RELEASE:

Move default for subobj.LDAPMODULES into scripting/libjs/provision.js
so that SWAT can provision again.

Andrew Bartlett
(This used to be commit a4aafe307d6d1396fa79b0c48b0a36cbf682f0ce)

16 years agor19208: Fix Samba3 pidl generation to remove memory leaks.
Jeremy Allison [Mon, 9 Oct 2006 19:40:48 +0000 (19:40 +0000)]
r19208: Fix Samba3 pidl generation to remove memory leaks.
Jermey.
(This used to be commit 4b878578c27d499e38b208c87b4fd4b399474092)

16 years agor19205: Some consolidation
Volker Lendecke [Mon, 9 Oct 2006 14:33:56 +0000 (14:33 +0000)]
r19205: Some consolidation
(This used to be commit 6991864a032b136c68190b0f86714cd6c0c14b9f)

16 years agor19204: Samba3 does level6 now
Volker Lendecke [Mon, 9 Oct 2006 14:06:13 +0000 (14:06 +0000)]
r19204: Samba3 does level6 now
(This used to be commit 603ecde9bca4460fb139f5119b9034c8b22f727b)

16 years agor19202: Make RPC-SAMBA3-SPOOLSS work against w2k3 again
Volker Lendecke [Mon, 9 Oct 2006 11:52:57 +0000 (11:52 +0000)]
r19202: Make RPC-SAMBA3-SPOOLSS work against w2k3 again
(This used to be commit f67a0159d107238a0b2197777fb2d51596f66097)

16 years agor19201: rap_cli_do_call only needs smbcli_tree, not smbcli_state
Volker Lendecke [Mon, 9 Oct 2006 11:31:55 +0000 (11:31 +0000)]
r19201: rap_cli_do_call only needs smbcli_tree, not smbcli_state
(This used to be commit 15c3b5d26eb1a21ce29afbf9f938176efdc0761f)

16 years agor19200: Implement smbcli_rap_netservergetinfo. To be used in RPC-SAMBA3SPOOLSS and
Volker Lendecke [Mon, 9 Oct 2006 11:19:30 +0000 (11:19 +0000)]
r19200: Implement smbcli_rap_netservergetinfo. To be used in RPC-SAMBA3SPOOLSS and
others that might need the server name.

Volker
(This used to be commit 03eaf0edf9f8a6d70375f9f12810b4fbb860290a)

16 years agor19199: split out the xattr NTACL code into a separate part of the posix
Andrew Tridgell [Mon, 9 Oct 2006 11:13:49 +0000 (11:13 +0000)]
r19199: split out the xattr NTACL code into a separate part of the posix
backend, allowing other ACL backends to be added. The xattr backend is
still the default backend
(This used to be commit 90f044e63b12d32228310c7529382198bd7e6dfe)

16 years agor19198: fix typo...
Stefan Metzmacher [Mon, 9 Oct 2006 10:44:14 +0000 (10:44 +0000)]
r19198: fix typo...

metze
(This used to be commit 70bab6edfc1c8e52dfa3ff0f02059a2af6086589)

16 years agor19196: merge from samba3:
Stefan Metzmacher [Mon, 9 Oct 2006 09:56:13 +0000 (09:56 +0000)]
r19196: merge from samba3:

pass always a mem_ctx to functions and a ldb_context where needed

metze
(This used to be commit 67a6a41ba3af840cd8226de73576a90ecf602caa)

16 years agor19195: this should fix should workaround the broken
Stefan Metzmacher [Mon, 9 Oct 2006 09:12:57 +0000 (09:12 +0000)]
r19195: this should fix should workaround the broken
HPUX 11.23 <machine/sys/getppdp.h> on host hpisgr8
in the build-farm.

metze
(This used to be commit 88adbd744355284df223f5618bd76e3d327055d8)

16 years agor19188: merge from samba3:
Stefan Metzmacher [Mon, 9 Oct 2006 08:00:18 +0000 (08:00 +0000)]
r19188: merge from samba3:

fix compiler warnings

metze
(This used to be commit dc139d8715f58b27363266f1426da451907845eb)

16 years agor19187: this function should be static...
Stefan Metzmacher [Mon, 9 Oct 2006 07:59:19 +0000 (07:59 +0000)]
r19187: this function should be static...
(this also fix compiler warnings)

metze
(This used to be commit f8afdac4710581db421dc7c558eb8ba57597b056)

16 years agor19186: that doesn't help...
Stefan Metzmacher [Mon, 9 Oct 2006 07:33:41 +0000 (07:33 +0000)]
r19186: that doesn't help...

metze
(This used to be commit 59c6d51ab31d9d686de35024509f08f5de41c788)

16 years agor19180: with "export MAKE_TEST_KEEP_PCAP=yes" make test
Stefan Metzmacher [Mon, 9 Oct 2006 06:46:39 +0000 (06:46 +0000)]
r19180: with "export MAKE_TEST_KEEP_PCAP=yes" make test
doesn't delete the generated pcap files

metze
(This used to be commit e89ae157e832483a44a1a744466c63edbcb2261d)

16 years agor19178: fix the standalone build of socket_wrapper by not using
Stefan Metzmacher [Sun, 8 Oct 2006 21:53:09 +0000 (21:53 +0000)]
r19178: fix the standalone build of socket_wrapper by not using
samba's DLIST_ macros

metze
(This used to be commit 82abc39b559ccae832dd749495ebcfdffc2e5755)

16 years agor19176: Also require <fcntl.h> and <sys/ioctl.h> for non samba builds.
Love Hörnquist Åstrand [Sun, 8 Oct 2006 21:45:07 +0000 (21:45 +0000)]
r19176: Also require <fcntl.h> and <sys/ioctl.h> for non samba builds.
(This used to be commit fe621c1ab277407fb62ad7bced829815b6625f22)

16 years agor19175: If not in _SAMBA_BUILD_, define _PUBLIC_ to nothing.
Love Hörnquist Åstrand [Sun, 8 Oct 2006 21:09:54 +0000 (21:09 +0000)]
r19175: If not in _SAMBA_BUILD_, define _PUBLIC_ to nothing.
(This used to be commit 8c2585f0cfb7ae229de066965a732904545f0869)

16 years agor19174: fix the test to pass against win2k3 server (username length
Rafal Szczesniak [Sun, 8 Oct 2006 21:09:52 +0000 (21:09 +0000)]
r19174: fix the test to pass against win2k3 server (username length
limit had been hit here, I guess).

rafal
(This used to be commit 795a37e1708caf5563ba71696595a840bc53408c)

16 years agor19173: see if HPUX 11.23 needs the same workaround as 11.11
Stefan Metzmacher [Sun, 8 Oct 2006 21:09:21 +0000 (21:09 +0000)]
r19173: see if HPUX 11.23 needs the same workaround as 11.11

metze
(This used to be commit 896326d5081da6a20babacf4c28c556fa44216c5)

16 years agor19171: change the socket wrapper license to
Stefan Metzmacher [Sun, 8 Oct 2006 20:48:34 +0000 (20:48 +0000)]
r19171: change the socket wrapper license to
what heimdal uses...

metze
(This used to be commit 9f8809a16ef837f5cdf07ed2e383893d035e96d6)

16 years agor19167: - Various JSON-RPC facilities will desire to keep resources open in a
Derrell Lipman [Sat, 7 Oct 2006 20:35:59 +0000 (20:35 +0000)]
r19167: - Various JSON-RPC facilities will desire to keep resources open in a
  session.  Provide a common method of doing this, which allows limiting,
  somewhat (at least on a per-session basis) the possibility of DOS attacks.

- Add bindings for LDB functions, so they can be called via JSON-RPC
(This used to be commit 38d64118d17e20dc625c8262b2f667927daeac0d)

16 years agor19166: better bug and reporting and proper authentication tracking
Derrell Lipman [Sat, 7 Oct 2006 20:33:09 +0000 (20:33 +0000)]
r19166: better bug and reporting and proper authentication tracking
(This used to be commit 9eba44bf16e1f5b6c9dc29d9917bc3b7754da54c)

16 years agor19165: handle errors better for jsonrpc. generate an error object whenever possible
Derrell Lipman [Sat, 7 Oct 2006 20:31:27 +0000 (20:31 +0000)]
r19165: handle errors better for jsonrpc.  generate an error object whenever possible
(This used to be commit aa8e4227a11d997f7c4c5af2b7a3c7c371b8c1cd)

16 years agor19162: Merge WERR code from Samba 3.
Günther Deschner [Sat, 7 Oct 2006 05:28:14 +0000 (05:28 +0000)]
r19162: Merge WERR code from Samba 3.

Guenther
(This used to be commit d9562e0f83d76043da7955e89b1fff8a1d921a36)

16 years agor19153: Simple consistency check for enumprinters level 2 as well
Volker Lendecke [Fri, 6 Oct 2006 19:02:02 +0000 (19:02 +0000)]
r19153: Simple consistency check for enumprinters level 2 as well
(This used to be commit bd50a5929494949af865107551bb637ca9a3d96b)

16 years agor19152: A simple consistency check for enumprinters
Volker Lendecke [Fri, 6 Oct 2006 18:50:48 +0000 (18:50 +0000)]
r19152: A simple consistency check for enumprinters
(This used to be commit 593b17c8e5678949d8b41d241f522ffb20c6640f)

16 years agor19150: add a usefull tool to test the gdb_backtrace script
Stefan Metzmacher [Fri, 6 Oct 2006 18:04:48 +0000 (18:04 +0000)]
r19150: add a usefull tool to test the gdb_backtrace script

just compile it with
cc -g -o gdb_backtrace_test gdb_backtrace_test.c

and run it in the same directory where your gdb_backtrace script is.

metze
(This used to be commit 56ae0171bafe4576c6163a0198a18b8163314e20)

16 years agor19149: ladebug needs to have the stoponattach flag set
Stefan Metzmacher [Fri, 6 Oct 2006 17:55:17 +0000 (17:55 +0000)]
r19149: ladebug needs to have the stoponattach flag set
to generate the current backtrace without waiting for a signal...

metze
(This used to be commit d86100289a3a857456e2d4441c290ca2ea2330ff)

16 years agor19146: merge from samba3:
Stefan Metzmacher [Fri, 6 Oct 2006 16:17:19 +0000 (16:17 +0000)]
r19146: merge from samba3:

talloc_reference() can fail

metze
(This used to be commit 542cd5d029e97c2e0c7c006a1ced12114c1bb6da)

16 years agor19142: ensure no race conditions during installation by having same name in source...
Derrell Lipman [Fri, 6 Oct 2006 15:50:26 +0000 (15:50 +0000)]
r19142: ensure no race conditions during installation by having same name in source and swat directory; install new apps and services
(This used to be commit a2b996317f81aa61d7d5bf427003399560e64f77)

16 years agor19141: add a reasonable subset of the qooxdoo runtime environment, and example appli...
Derrell Lipman [Fri, 6 Oct 2006 15:40:18 +0000 (15:40 +0000)]
r19141: add a reasonable subset of the qooxdoo runtime environment, and example applications
(This used to be commit ff28ab7314ff1eebcd62f387678b816091af8121)

16 years agor19140: allow own authentication handling by jsonrpc apps
Derrell Lipman [Fri, 6 Oct 2006 15:38:43 +0000 (15:38 +0000)]
r19140: allow own authentication handling by jsonrpc apps
(This used to be commit de2eb8df0c1aa361adbf14a5984b1719e17f70cb)

16 years agor19139: typos; consitent ordering of operations
Derrell Lipman [Fri, 6 Oct 2006 15:37:39 +0000 (15:37 +0000)]
r19139: typos; consitent ordering of operations
(This used to be commit aaab47cb910fbbec6913bc5f796f0d6d479f729d)

16 years agor19138: add authentication capability; fix typos
Derrell Lipman [Fri, 6 Oct 2006 15:36:07 +0000 (15:36 +0000)]
r19138: add authentication capability; fix typos
(This used to be commit d8f0701feb85b7ca70edd5e8a9581661eb6c52e2)

16 years agor19136: No conflict, after "svn up" it applied correctly", merge 19126 from 3_0
Volker Lendecke [Fri, 6 Oct 2006 15:16:18 +0000 (15:16 +0000)]
r19136: No conflict, after "svn up" it applied correctly", merge 19126 from 3_0
(This used to be commit 042a22b6dd34bb147cf4f8cc10f98d4cda3ccd55)

16 years agor19134: Merge the second set of C++ warning fixes from Samba3. I'll leave r19132 to
Volker Lendecke [Fri, 6 Oct 2006 15:03:41 +0000 (15:03 +0000)]
r19134: Merge the second set of C++ warning fixes from Samba3. I'll leave r19132 to
metze to merge until the questions have been answered.

Volker
(This used to be commit e946717bf600f4ff922dc55a9a5d259535d0d1c9)

16 years agor19131: merge from samba3:
Stefan Metzmacher [Fri, 6 Oct 2006 14:04:05 +0000 (14:04 +0000)]
r19131: merge from samba3:

fix the logic for the AC_PROG_CC_C99 test

metze
(This used to be commit 5ccc020639b72a75edfc7f29775b298acf27216e)

16 years agor19129: Add comment to clarify behavior
Simo Sorce [Fri, 6 Oct 2006 13:47:52 +0000 (13:47 +0000)]
r19129: Add comment to clarify behavior
(This used to be commit 7180f38e9e436ca7a7c49f2d4b315ec5eb9c7631)

16 years agor19128: - make the gdb_backtrace script more portable
Stefan Metzmacher [Fri, 6 Oct 2006 13:23:42 +0000 (13:23 +0000)]
r19128: - make the gdb_backtrace script more portable
- try /proc/${PID}/exe first
- fallback to the binary given on the commandline
- fallback searching the binary with 'which' from the
  commandline argument
- use 'ladebug' debugger on Tru64

metze
(This used to be commit f792a9532d0e263984c37d32bcf059b955e20b2c)

16 years agor19123: - pass LDFLAGS from configure to Makefile
Stefan Metzmacher [Fri, 6 Oct 2006 11:02:59 +0000 (11:02 +0000)]
r19123: - pass LDFLAGS from configure to Makefile
  which should fix the build on Tru64 in the build farm.

Thanks to Bjoern Jacke for finding this!

metze
(This used to be commit 165722a16cf9b8e3f352ed44285cdae0fba66536)

16 years agor19122: merge from samba3:
Stefan Metzmacher [Fri, 6 Oct 2006 11:01:05 +0000 (11:01 +0000)]
r19122: merge from samba3:

sync system/iconv.h

metze
(This used to be commit 9c74964b619fd0754d3b72c21fe2cef4d24e7ad5)

16 years agor19120: silence a warning about a test function
Andrew Tridgell [Fri, 6 Oct 2006 10:17:52 +0000 (10:17 +0000)]
r19120: silence a warning about a test function
(This used to be commit 59915150f0e303222a16f9d08d3ab31db4e4c617)

16 years agor19118: get rid of a bunch of bool misuse warnings
Andrew Tridgell [Fri, 6 Oct 2006 09:26:29 +0000 (09:26 +0000)]
r19118: get rid of a bunch of bool misuse warnings
(This used to be commit e620f44643caf93a8bcb203a966c986c14a8dc0e)

16 years agor19117: I've changed the checker wrapper on snab to allow for a
Andrew Tridgell [Fri, 6 Oct 2006 07:45:31 +0000 (07:45 +0000)]
r19117: I've changed the checker wrapper on snab to allow for a
.checker_innocent file, similar to our .valgrind_suppressions file.
(This used to be commit 8228efdb93be20cc3255fbd55336fac89d1bc2d9)

16 years agor19116: fixed a checker warning
Andrew Tridgell [Fri, 6 Oct 2006 07:44:36 +0000 (07:44 +0000)]
r19116: fixed a checker warning
(This used to be commit 48243721df27fa68b3232d71b411fba1e0ab7010)

16 years agor19115: Add the mapping required between Samba4's AD schema OIDs and what
Andrew Bartlett [Fri, 6 Oct 2006 07:09:22 +0000 (07:09 +0000)]
r19115: Add the mapping required between Samba4's AD schema OIDs and what
Fedora DS can support.

Andrew Bartlett
(This used to be commit bdeb10de2e751e7f0b12d5658ad55a4e7827bbd5)

16 years agor19114: fixed another checker warning and a possible error on allocation
Andrew Tridgell [Fri, 6 Oct 2006 06:52:30 +0000 (06:52 +0000)]
r19114: fixed another checker warning and a possible error on allocation
failure
(This used to be commit bc02f7ef96e164a59441e3fd9429221be83fc7e4)

16 years agor19113: fixed another checker warning.
Andrew Tridgell [Fri, 6 Oct 2006 06:42:05 +0000 (06:42 +0000)]
r19113: fixed another checker warning.
(This used to be commit d12550af01f8d4c135fbf6f429852c31570ec92b)

16 years agor19112: fixed a checker warning.
Andrew Tridgell [Fri, 6 Oct 2006 06:38:26 +0000 (06:38 +0000)]
r19112: fixed a checker warning.

In case you haven't noticed, lots of our packages now run the IBM
checker in the build farm on 'snab'
(This used to be commit b39a79f17c9d8729264436bb774e8bd2b88e12f9)

16 years agor19111: fixed basic web server operation
Andrew Tridgell [Fri, 6 Oct 2006 05:36:29 +0000 (05:36 +0000)]
r19111: fixed basic web server operation
(This used to be commit 290468ede533044ae2ea4dcdbb551fb776406c3e)

16 years agor19098: with
Stefan Metzmacher [Thu, 5 Oct 2006 11:46:31 +0000 (11:46 +0000)]
r19098: with
export MAKE_TEST_ENABLE_PCAP=yes

make test will use SOCKET_WRAPPER_PCAP_FILE support
and will run each test with a different file

the capture will be removed unless the test fails.

the TEST PCAP: line will show the location of the file

metze
(This used to be commit 5095783cdf01db9d28392ba0d88186c1a4df654b)

16 years agor19097: add support for SUCKET_WRAPPER_PCAP_FILE
Stefan Metzmacher [Thu, 5 Oct 2006 11:39:59 +0000 (11:39 +0000)]
r19097: add support for SUCKET_WRAPPER_PCAP_FILE

we may need to rework the code to use something like PUSH_U32()
into a data blob instead of the structs for the header layout.

metze
(This used to be commit 990dfc98e42a1c2369e77aa5cc2139680f4b16af)

16 years agor19092: active replica records cannot expire!
Stefan Metzmacher [Thu, 5 Oct 2006 07:51:51 +0000 (07:51 +0000)]
r19092: active replica records cannot expire!

we handle that in the scavenging code, but were missing that
in the wins server name query code...

metze
(This used to be commit 7fb8dd3ab7a50b6fd77c74cb9078c62013b04a54)

16 years agor19091: merge from samba3:
Stefan Metzmacher [Thu, 5 Oct 2006 07:47:56 +0000 (07:47 +0000)]
r19091: merge from samba3:

remove some -Wl,-rpath combinations with /usr/lib

metze
(This used to be commit 66c6aab37ea24ae3f867b34f3b8039921fa2f718)

16 years agor19084: make socket_wrapper more portable (standalone) and not use uintX_t
Stefan Metzmacher [Thu, 5 Oct 2006 07:03:41 +0000 (07:03 +0000)]
r19084: make socket_wrapper more portable (standalone) and not use uintX_t

metze
(This used to be commit 7e89a0a28263e36ef7410122f987edf369154651)

16 years agor19082: add the source vs. destination address and tcp logic
Stefan Metzmacher [Thu, 5 Oct 2006 06:27:41 +0000 (06:27 +0000)]
r19082: add the source vs. destination address and tcp logic
for SOCKET_WRAPPER_PCAP_FILE support.

metze
(This used to be commit 20945409b89be094c958f5f43c8c158f223f7911)

16 years agor19079: talloc_array can fail
Volker Lendecke [Wed, 4 Oct 2006 20:59:06 +0000 (20:59 +0000)]
r19079: talloc_array can fail
(This used to be commit 441ad8a45c390f807a6ec5f27d585aad54f3b210)

16 years agor19076: ldb_dn_copy_partial can fail
Volker Lendecke [Wed, 4 Oct 2006 20:22:08 +0000 (20:22 +0000)]
r19076: ldb_dn_copy_partial can fail
(This used to be commit 78aa689a74941cd6873a91c429889a4c1d1a6432)

16 years agor19075: Fix a potential NULL dereference
Volker Lendecke [Wed, 4 Oct 2006 20:15:23 +0000 (20:15 +0000)]
r19075: Fix a potential NULL dereference
(This used to be commit 84ae80b39bfa49fe7f9fa801d45a79bf04df8aff)

16 years agor19074: Merge from 3_0: Fix a potential NULL dereference.
Volker Lendecke [Wed, 4 Oct 2006 19:45:34 +0000 (19:45 +0000)]
r19074: Merge from 3_0: Fix a potential NULL dereference.

Volker
(This used to be commit af72af684bca68c1759be1357f817db7be699eed)

16 years agor19069: The sequence number is a 64 bit unsigned integer
Simo Sorce [Wed, 4 Oct 2006 19:08:36 +0000 (19:08 +0000)]
r19069: The sequence number is a 64 bit unsigned integer
Well spotted Volker
(This used to be commit f4239ef5983cfc06fd5cab42448564faed676944)

16 years agor19068: Fix a potential NULL dereference
Volker Lendecke [Wed, 4 Oct 2006 19:03:29 +0000 (19:03 +0000)]
r19068: Fix a potential NULL dereference
(This used to be commit 2dff8ee8cc8b9faf3fbec46d458d6de214622afc)

16 years agor19063: merge from samba3
Stefan Metzmacher [Wed, 4 Oct 2006 12:33:36 +0000 (12:33 +0000)]
r19063: merge from samba3

needed for dl* errors in iconv_open()

metze
(This used to be commit 91c29e425a015d2ee8e1eff61aa2c0d4083c4e89)

16 years agor19059: allow dash in URLs
Derrell Lipman [Tue, 3 Oct 2006 18:07:46 +0000 (18:07 +0000)]
r19059: allow dash in URLs
(This used to be commit 3dade8d761c4a342cf5ee9dba8d10812eb22b877)

16 years agor19055: JSON-RPC is working! It passes the small qooxdoo JSON-RPC test suite
Derrell Lipman [Tue, 3 Oct 2006 02:38:08 +0000 (02:38 +0000)]
r19055: JSON-RPC is working!  It passes the small qooxdoo JSON-RPC test suite
perfectly.

This check in covers the remaining fixes and enhancements to complete the
server.  In a subsequent check-in, I need to learn about the new qooxdoo
packaging mechanism.  Although it'd be nice to have the whole source tree,
that's huge and needn't be in samba svn.  It's now supposed to be very easy to
package qooxdoo, so I'll figure out how that's done and then check in the
relevant small number of files.

Steps after that involve generating the stubs to allow various ejs functions
to be called via JSON-RPC.

Derrell
(This used to be commit 5bfebbda7a5d28d4deb31c54a8feb24c4416cbf6)

16 years agor19053: match the flag values with the actual equivalents in samr.idl
Rafal Szczesniak [Mon, 2 Oct 2006 22:18:36 +0000 (22:18 +0000)]
r19053: match the flag values with the actual equivalents in samr.idl

rafal
(This used to be commit 07aee708118070f99d42e8a25e28680e79c8f49c)

16 years agor19052: clarify what actually does what
Derrell Lipman [Mon, 2 Oct 2006 20:44:19 +0000 (20:44 +0000)]
r19052: clarify what actually does what
(This used to be commit 0218a1798978f92491fbf88eaffbc3226b640b5e)

16 years agor19051: JSON-RPC server work-in-progress. It's almost working.
Derrell Lipman [Mon, 2 Oct 2006 20:39:31 +0000 (20:39 +0000)]
r19051: JSON-RPC server work-in-progress.  It's almost working.
(This used to be commit 6e9cb2ed1cf87aed322fd7821237d088c2fef340)

16 years agor19049: Samba 3 client fixes
Gerald Carter [Mon, 2 Oct 2006 16:19:05 +0000 (16:19 +0000)]
r19049: Samba 3 client fixes

* Make sure to check for NULL pointers when dealing with
  [out,unique] before assigning valoues
* Detect RPC faults and return immediately
(This used to be commit c96dae478c2fee2fede9c853a71c8079bbb8ba47)

16 years agor19048: ensure our memory gets cleaned up even upon exception
Derrell Lipman [Mon, 2 Oct 2006 15:23:03 +0000 (15:23 +0000)]
r19048: ensure our memory gets cleaned up even upon exception
(This used to be commit bcf5e98a8c83791db93a9024b3433f9d5ee3cc7e)

16 years agor19036: add LOCAL-REPLACE and reorder the testlist
Stefan Metzmacher [Mon, 2 Oct 2006 10:45:00 +0000 (10:45 +0000)]
r19036: add LOCAL-REPLACE and reorder the testlist

metze
(This used to be commit c8070c38f2915e8f56fef62242d3ab9a202e4c34)

16 years agor19035: add LOCAL-REPLACE test
Stefan Metzmacher [Mon, 2 Oct 2006 10:38:24 +0000 (10:38 +0000)]
r19035: add LOCAL-REPLACE test

metze
(This used to be commit e95a1ab2cd568ef5492dfae130cb2e937ac15194)

16 years agor19033: prepare to use the libreplace testsuite as LOCAL-REPLACE in smbtorture
Stefan Metzmacher [Mon, 2 Oct 2006 10:35:40 +0000 (10:35 +0000)]
r19033: prepare to use the libreplace testsuite as LOCAL-REPLACE in smbtorture

metze
(This used to be commit 71fc73e11cee89f1b52cda5a32468a74a38cecc3)

16 years agor19032: let the getdents replacement fail and see what the build-farm says.
Stefan Metzmacher [Mon, 2 Oct 2006 09:26:05 +0000 (09:26 +0000)]
r19032: let the getdents replacement fail and see what the build-farm says.

metze
(This used to be commit 4ed53dfafcbafbad8f2cde65e84dc0fe32fa62f8)

16 years agor19029: test if opendir() on a file sets errno = ENOTDIR
Stefan Metzmacher [Mon, 2 Oct 2006 08:56:35 +0000 (08:56 +0000)]
r19029: test if opendir() on a file sets errno = ENOTDIR

metze
(This used to be commit 6b5f06b059583f9d685d71d48299ab334581c179)

16 years agor19027: Modify RPC-SAMBA3-SPOOLSS so that it can be activated in the build farm
Volker Lendecke [Mon, 2 Oct 2006 08:35:19 +0000 (08:35 +0000)]
r19027: Modify RPC-SAMBA3-SPOOLSS so that it can be activated in the build farm
(This used to be commit 7304abe5958fde1940439f7d95da96e16ea4bc57)

16 years agor19025: - remove read-only and policy dependent fields and flags
Rafal Szczesniak [Mon, 2 Oct 2006 06:00:14 +0000 (06:00 +0000)]
r19025: - remove read-only and policy dependent fields and flags
- do not stop NET-API-USERMODIFY test when a single field fails
- add account flags to the fields tested
- separate "cleanup" step from closing domain at the end

rafal
(This used to be commit 16fde3b8e2c93ec10e43bb09334bf460db8ac70b)

16 years agor19024: remove read-only and policy dependent fields and flags
Rafal Szczesniak [Mon, 2 Oct 2006 05:53:45 +0000 (05:53 +0000)]
r19024: remove read-only and policy dependent fields and flags
from user modify routines.

rafal
(This used to be commit 7ca0d3dbcb9193c0f023e7c43764c7557925bb0e)

16 years agor19023: lets see what the build-farm says about trying the
Stefan Metzmacher [Mon, 2 Oct 2006 05:52:42 +0000 (05:52 +0000)]
r19023: lets see what the build-farm says about trying the
getdirentries() based readdir() replacement first.

metze
(This used to be commit 268c8bc7ef63ca7fd7900bd0aec345b895512c68)

16 years agor19022: eliminate a warning
Derrell Lipman [Mon, 2 Oct 2006 02:39:05 +0000 (02:39 +0000)]
r19022: eliminate a warning
(This used to be commit d48b2d83057b8e78e3ed31f56578e18ef9b9aed6)

16 years agor19021: match the prototype for a trigger function
Derrell Lipman [Mon, 2 Oct 2006 02:38:43 +0000 (02:38 +0000)]
r19021: match the prototype for a trigger function
(This used to be commit f2f191891582af7dcb6d38c14e4ef7afc361299a)

16 years agor19020: move jsonrpc_include to a more appropriate location in the file, and call...
Derrell Lipman [Mon, 2 Oct 2006 02:38:02 +0000 (02:38 +0000)]
r19020: move jsonrpc_include to a more appropriate location in the file, and call the setup function for parsing literals.
(This used to be commit bb07f606dedde5c63f190229b8dbb85f3d1342f7)

16 years agor19019: Add a parser for javascript literals. This is implemented for parsing JSON
Derrell Lipman [Mon, 2 Oct 2006 02:36:27 +0000 (02:36 +0000)]
r19019: Add a parser for javascript literals.  This is implemented for parsing JSON
strings, but is generally useful for creating ejs variables from object or
array literals, which aren't supported in the old version of ejs that we're
using.

This parser is implemented in C, but is callable from an ejs script via
literal_to_var().
(This used to be commit 82fdcd9339a8ffb1016b96c06f7d6580aa759174)

16 years agor19017: Merge from Samba3:
Volker Lendecke [Sun, 1 Oct 2006 20:45:46 +0000 (20:45 +0000)]
r19017: Merge from Samba3:

Attempt to fix the BSD RAW-CHKPATH failures: In Samba3 we rely on opendir
returning ENOTDIR when the file opened is not a directory. Can we merge this
back into Samba4?

This includes the tabs->spaces fix requested by Stefan.

Volker
(This used to be commit 7b9ee1171ddc89537ba3b286f20c722fb70c980b)