13 years agor19282: make the recent qooxdoo work that Derrell has done available via the
Andrew Tridgell [Sat, 14 Oct 2006 21:02:38 +0000 (21:02 +0000)]
r19282: make the recent qooxdoo work that Derrell has done available via the
main menu
(This used to be commit b0fee976edd35c35b315637253297169afac35ab)

13 years agor19281: Generalize what we do for the RAW-QFILEINFO test call so that the same process
Brad Henry [Sat, 14 Oct 2006 20:27:33 +0000 (20:27 +0000)]
r19281: Generalize what we do for the RAW-QFILEINFO test call so that the same process
is used for other tests that operate on a share when run against windows.
(This used to be commit 3d0cadb303fe9db49289d300a1c9fca44eee9d33)

13 years agor19280: Missed renaming a remove_qfileinfo_test() function call.
Brad Henry [Sat, 14 Oct 2006 20:21:33 +0000 (20:21 +0000)]
r19280: Missed renaming a remove_qfileinfo_test() function call.
(This used to be commit 059d52167cbc36d9dbf17b7a9e6463700fa4749d)

13 years agor19279: These setup and cleanup functions are general enough for any test which needs
Brad Henry [Sat, 14 Oct 2006 20:18:53 +0000 (20:18 +0000)]
r19279: These setup and cleanup functions are general enough for any test which needs
a share to operate on, not just the qfileinfo test, so now they are named
more appropriately.
(This used to be commit eb16d5324d6e1f4e4b33993e23a6446c3289a85f)

13 years agor19278: Change the delete_directory() expect function so that rmdir will
Brad Henry [Sat, 14 Oct 2006 19:25:14 +0000 (19:25 +0000)]
r19278: Change the delete_directory() expect function so that rmdir will
automatically remove any subdirs and files of the directory to be deleted.
(This used to be commit a41eefaaa738177f55d93b227f341f903a902939)

13 years agor19277: This commit adds support to run the smbtorture RPC-ASYNCBIND RPC-ATSVC
Brad Henry [Sat, 14 Oct 2006 14:50:30 +0000 (14:50 +0000)]
r19277: This commit adds support to run the smbtorture RPC-ASYNCBIND RPC-ATSVC
RPC-SECRETS RPC-SRVSVC RPC-SVCCTL  RPC-WKSSVC tests against windows, either
by 'make wintest' or in the build farm.

I was surprised when RPC-EVENTLOG and RPC-LSA failed, so i'll investigate today.
(This used to be commit 542bddacc8a57d5486d0b721ddd9357179b597b5)

13 years agor19276: remove unused file
Stefan Metzmacher [Sat, 14 Oct 2006 10:36:14 +0000 (10:36 +0000)]
r19276: remove unused file

(This used to be commit bd4cd24a9dc370552a90f267bdcabf4cb45c8507)

13 years agor19274: fix ldbdel and ldbmodify to return an error if the underlying ldb call
Andrew Tridgell [Sat, 14 Oct 2006 08:26:10 +0000 (08:26 +0000)]
r19274: fix ldbdel and ldbmodify to return an error if the underlying ldb call
(This used to be commit 330a722f1330059cbba19f99210a1a5a7c773a36)

13 years agor19273: - fixed error handling with the ldap backend
Andrew Tridgell [Sat, 14 Oct 2006 04:43:51 +0000 (04:43 +0000)]
r19273: - fixed error handling with the ldap backend

- propogate errors to the ldbadd command line tool

- use the rdn_name module when testing the tdb backend to allow the
  same test code to correctly test the ldap and non-ldap backends
(This used to be commit dd82c474a123d90329bda653a4cb73c93e087b15)

13 years agor19266: Add a target_hostname element to the binding struct. This allows us
Andrew Bartlett [Fri, 13 Oct 2006 13:01:48 +0000 (13:01 +0000)]
r19266: Add a target_hostname element to the binding struct.  This allows us
to perform a lookup once, resolve the name to an IP, while still
communicating the full name to the lower layers, for kerberos etc.

This fixes 'net samdump', which was failing due to the schannel target
name being *smbserver.

Andrew Bartlett
(This used to be commit 0546f487f4cc99b5549dc1e457ea243d4bd66333)

13 years agor19265: It is not an error to set the target hostname to NULL.
Andrew Bartlett [Fri, 13 Oct 2006 12:54:13 +0000 (12:54 +0000)]
r19265: It is not an error to set the target hostname to NULL.

Andrew Bartlett
(This used to be commit c9c2e90e2e3937d05c58c681af187413b12d9220)

13 years agor19264: Clarify behaviour in ldb_search_callback() and provide more
Andrew Bartlett [Fri, 13 Oct 2006 09:44:55 +0000 (09:44 +0000)]
r19264: Clarify behaviour in ldb_search_callback() and provide more
information when modules fail to load.

Andrew Bartlett
(This used to be commit 512ef62f4a63fd90b67757b2c7b2e8ec83969204)

13 years agor19262: Don't DEBUG() an unitialised variable
Andrew Bartlett [Fri, 13 Oct 2006 09:14:43 +0000 (09:14 +0000)]
r19262: Don't DEBUG() an unitialised variable
(This used to be commit 548c682fe5aff4657f53d7986642a87566f6f531)

13 years agor19261: Fix use of unitialised variables. (The binding string is used, if not
Andrew Bartlett [Fri, 13 Oct 2006 07:25:51 +0000 (07:25 +0000)]
r19261: Fix use of unitialised variables.  (The binding string is used, if not

This showed up in a manual pre-TP3 test of the 'net samdump' code, and
shows the critical need for the windows testing infrustructure on the
build farm.

Andrew Bartlett
(This used to be commit 9cef40779ad987b506b1f514a67b5b1c8aea9969)

13 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.

(This used to be commit 0780cbcdcc7672932b055966a9d0480d2cd705b4)

13 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

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

Andrew Bartlett
(This used to be commit 962219df7dc53ce6f6889f4b71ee19850c7ff7b5)

13 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...

(This used to be commit 60ade8ddbd01ac45e5fe6380542ba23cd861e133)

13 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

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

13 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)

13 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.

(This used to be commit dba5e642a0230539ac73292ac5baae0f74e9f46e)

13 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.

(This used to be commit b7e54501f773a11892ab5ef3202ee4d57723725e)

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


(This used to be commit dc65a6625295a7316c2e9982ee09eb9607dbed70)

13 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

(This used to be commit 909d736a4bf5a7adfcd64eecf6bb2a92211c6f96)

13 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

(This used to be commit cd03738e7c5610c4a0cb1161b9bcee5d7c88322d)

13 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

(This used to be commit 12c8067337e4cecf1fcd3123e4e0e3bb1bbcba8e)

13 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...).


(This used to be commit 7e399e607c8e9bf7365de7d492d29377177cdc1f)

13 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)

13 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.

(This used to be commit 0c0a861c8b5b4c44d290f8db0d4c5e95260140ca)

13 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)

13 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)

13 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.
(This used to be commit 4b878578c27d499e38b208c87b4fd4b399474092)

13 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)

13 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)

13 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)

13 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)

13 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.

(This used to be commit 03eaf0edf9f8a6d70375f9f12810b4fbb860290a)

13 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)

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

(This used to be commit 70bab6edfc1c8e52dfa3ff0f02059a2af6086589)

13 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

(This used to be commit 67a6a41ba3af840cd8226de73576a90ecf602caa)

13 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.

(This used to be commit 88adbd744355284df223f5618bd76e3d327055d8)

13 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

(This used to be commit dc139d8715f58b27363266f1426da451907845eb)

13 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)

(This used to be commit f8afdac4710581db421dc7c558eb8ba57597b056)

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

(This used to be commit 59c6d51ab31d9d686de35024509f08f5de41c788)

13 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

(This used to be commit e89ae157e832483a44a1a744466c63edbcb2261d)

13 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

(This used to be commit 82abc39b559ccae832dd749495ebcfdffc2e5755)

13 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)

13 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)

13 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).

(This used to be commit 795a37e1708caf5563ba71696595a840bc53408c)

13 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

(This used to be commit 896326d5081da6a20babacf4c28c556fa44216c5)

13 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...

(This used to be commit 9f8809a16ef837f5cdf07ed2e383893d035e96d6)

13 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)

13 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)

13 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)

13 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.

(This used to be commit d9562e0f83d76043da7955e89b1fff8a1d921a36)

13 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)

13 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)

13 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.

(This used to be commit 56ae0171bafe4576c6163a0198a18b8163314e20)

13 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...

(This used to be commit d86100289a3a857456e2d4441c290ca2ea2330ff)

13 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

(This used to be commit 542cd5d029e97c2e0c7c006a1ced12114c1bb6da)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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.

(This used to be commit e946717bf600f4ff922dc55a9a5d259535d0d1c9)

13 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

(This used to be commit 5ccc020639b72a75edfc7f29775b298acf27216e)

13 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)

13 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

(This used to be commit f792a9532d0e263984c37d32bcf059b955e20b2c)

13 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!

(This used to be commit 165722a16cf9b8e3f352ed44285cdae0fba66536)

13 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

(This used to be commit 9c74964b619fd0754d3b72c21fe2cef4d24e7ad5)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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
(This used to be commit bc02f7ef96e164a59441e3fd9429221be83fc7e4)

13 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)

13 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)

13 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)

13 years agor19098: with
Stefan Metzmacher [Thu, 5 Oct 2006 11:46:31 +0000 (11:46 +0000)]
r19098: with

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

(This used to be commit 5095783cdf01db9d28392ba0d88186c1a4df654b)

13 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.

(This used to be commit 990dfc98e42a1c2369e77aa5cc2139680f4b16af)

13 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...

(This used to be commit 7fb8dd3ab7a50b6fd77c74cb9078c62013b04a54)

13 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

(This used to be commit 66c6aab37ea24ae3f867b34f3b8039921fa2f718)

13 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

(This used to be commit 7e89a0a28263e36ef7410122f987edf369154651)

13 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

(This used to be commit 20945409b89be094c958f5f43c8c158f223f7911)

13 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)

13 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)

13 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)

13 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.

(This used to be commit af72af684bca68c1759be1357f817db7be699eed)

13 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)

13 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)

13 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()

(This used to be commit 91c29e425a015d2ee8e1eff61aa2c0d4083c4e89)

13 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)

13 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

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.

(This used to be commit 5bfebbda7a5d28d4deb31c54a8feb24c4416cbf6)

13 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

(This used to be commit 07aee708118070f99d42e8a25e28680e79c8f49c)

13 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)

13 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)

13 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)

13 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)