kai/samba-autobuild/.git
11 years agoMove blackbox tests closer to what they're testing.
Jelmer Vernooij [Thu, 26 Jun 2008 08:56:59 +0000 (10:56 +0200)]
Move blackbox tests closer to what they're testing.
(This used to be commit c9b2e2aa861ccc01e5d92cfe468be1f6324ed294)

11 years agoOnly try to detect the events lib dir if it wasn't set earlier.
Jelmer Vernooij [Thu, 26 Jun 2008 08:11:49 +0000 (10:11 +0200)]
Only try to detect the events lib dir if it wasn't set earlier.
(This used to be commit 3f48f68800176d992a1bd9b6349f22ec152fc34a)

11 years agoUse variable for selftest directory.
Jelmer Vernooij [Wed, 25 Jun 2008 18:04:35 +0000 (20:04 +0200)]
Use variable for selftest directory.
(This used to be commit 78760606fa71c370ae3c05b077c5146166bdaa7b)

11 years agoFix another reference to ldbdir.
Jelmer Vernooij [Wed, 25 Jun 2008 17:58:41 +0000 (19:58 +0200)]
Fix another reference to ldbdir.
(This used to be commit 6416b637ea6570edd27eb8ef3005c408d311f3a3)

11 years agoUse ldbsrcdir rather than ldbdir.
Jelmer Vernooij [Wed, 25 Jun 2008 17:39:50 +0000 (19:39 +0200)]
Use ldbsrcdir rather than ldbdir.
(This used to be commit 25f500d2233198b88c1d54268f5f6f461cea75d9)

11 years agoUse variable for popt source dir.
Jelmer Vernooij [Wed, 25 Jun 2008 17:06:59 +0000 (19:06 +0200)]
Use variable for popt source dir.
(This used to be commit effc25e805facea001ebd64d383f1a536c61d0e3)

11 years agoUse ldbsrcdir rather than ldbdir.
Jelmer Vernooij [Wed, 25 Jun 2008 17:04:03 +0000 (19:04 +0200)]
Use ldbsrcdir rather than ldbdir.
(This used to be commit a422c6c5ff47f36ef3376f54e707561c6a53ac23)

11 years agoUndefine HAVE_KRB5_ENCRYPT_BLOCK because Heimdal really doesn't have it.
Jelmer Vernooij [Wed, 25 Jun 2008 15:24:38 +0000 (17:24 +0200)]
Undefine HAVE_KRB5_ENCRYPT_BLOCK because Heimdal really doesn't have it.
(This used to be commit 55a6e852c77ffb91d2e0a0503dab06214f675db8)

11 years agoUse workaround for $(abspath)
Jelmer Vernooij [Wed, 25 Jun 2008 15:12:19 +0000 (17:12 +0200)]
Use workaround for $(abspath)
(This used to be commit 21b4d017a2cccdaa6ab4ed32409f19c612293fd0)

11 years agoRevert "Remove the dependency on $(abspath) in makefiles"
Jelmer Vernooij [Wed, 25 Jun 2008 14:51:37 +0000 (16:51 +0200)]
Revert "Remove the dependency on $(abspath) in makefiles"

This reverts commit c85a3632623184cb97c2e8567ca77834e81070a4.
(This used to be commit 1a771c664444ff43e141238f473273700b392aa7)

11 years agowbinfo: Output string for sid type in lookupsid.
Kai Blin [Wed, 30 Apr 2008 06:15:34 +0000 (08:15 +0200)]
wbinfo: Output string for sid type in lookupsid.
(This used to be commit 8b4c7fb200598b7f747fc681f76d464760f693ee)

11 years agosmbd: make sure the parent smbd stays alive forever
Stefan Metzmacher [Fri, 20 Jun 2008 09:03:12 +0000 (11:03 +0200)]
smbd: make sure the parent smbd stays alive forever

The problem was that the parent smbd doesn't have
any event when the process model standard was in use.

Now we always add an fd event for stdin, but may not
ask for any events to trigger.

metze
(This used to be commit fa6c00734ccf9bfe7a962253ddb5e2a1722c9b09)

11 years agoInclude events_util.h in events_aio.c
Volker Lendecke [Thu, 19 Jun 2008 10:39:25 +0000 (12:39 +0200)]
Include events_util.h in events_aio.c

Without this, linking fails with DLIST_ADD and DLIST_REMOVE being undefined

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 87385e4c873f80956dc1c43424dd4f49a993586c)

11 years agoRemove the dependency on $(abspath) in makefiles
Volker Lendecke [Thu, 19 Jun 2008 10:29:50 +0000 (12:29 +0200)]
Remove the dependency on $(abspath) in makefiles

This is not around before GNU make 3.81, for me this fixes the build
on GNU make 3.80

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit c85a3632623184cb97c2e8567ca77834e81070a4)

11 years agocredentials: set GSS_KRB5_CRED_NO_CI_FLAGS_X to avoid GSS_C_CONF_FLAG and GSS_C_INTEG...
Stefan Metzmacher [Wed, 11 Jun 2008 05:59:20 +0000 (07:59 +0200)]
credentials: set GSS_KRB5_CRED_NO_CI_FLAGS_X to avoid GSS_C_CONF_FLAG and GSS_C_INTEG_FLAG

metze
(This used to be commit f573c1ff4443f3002c310d3ba29d8c343ad03907)

11 years agoChange detection of objectCategory short fomm
Andrew Bartlett [Thu, 19 Jun 2008 08:06:35 +0000 (18:06 +1000)]
Change detection of objectCategory short fomm

To actually validate the DN, we load and call the validation fucntion,
not just check the 'ldb_dn_is_valid()' function.

Andrew Bartlett
(This used to be commit 5fb5a4e13db3a03da414876efa717c3de44ca77c)

11 years agoFix segfault caused by talloc_free() being called while still processing
Andrew Bartlett [Thu, 19 Jun 2008 07:59:57 +0000 (17:59 +1000)]
Fix segfault caused by talloc_free() being called while still processing

The problem here was that with the packet code set to serialise, we
can have multiple packets 'processing' at once, and previously the
second packet (allowed because we are spining on an event context down
the stack) would clear the flag.

Andrew Bartlett
(This used to be commit 33789111241a1d97fc105ec4edd7b8054895b28c)

11 years agoRemove old ldap.js test, we have replicated it in python now.
Andrew Bartlett [Thu, 19 Jun 2008 04:53:14 +0000 (14:53 +1000)]
Remove old ldap.js test, we have replicated it in python now.

This will soon allow the removal of smbscript, once the samba3sam test
conversion is complete.

Andrew Bartlett
(This used to be commit 60c93b9777d9bd7dce89f9024ba767f5404ac72d)

11 years agoAdd a blackbox test for the provision-backend script.
Andrew Bartlett [Thu, 19 Jun 2008 01:05:20 +0000 (11:05 +1000)]
Add a blackbox test for the provision-backend script.

This test (as most tests do :-) found a few bugs, also fixed in this
commit.

Andrew Bartlett
(This used to be commit d96a6482dad54d1d27a87107865e833a9c32cf53)

11 years agoDon't sign NTP packets to disabled accounts
Andrew Bartlett [Wed, 18 Jun 2008 23:34:04 +0000 (09:34 +1000)]
Don't sign NTP packets to disabled accounts

(As this would allow an offline attack on their password)

Andrew Bartlett
(This used to be commit e28481fc0976231c6f4cb7a5f7c7708f4becdb18)

11 years agoUse friendly NTSTATUS message in python code when possible.
Jelmer Vernooij [Tue, 17 Jun 2008 12:21:02 +0000 (14:21 +0200)]
Use friendly NTSTATUS message in python code when possible.
(This used to be commit 09cf8c7dd82bb95e2f8782782286869654d96375)

11 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
Jelmer Vernooij [Tue, 17 Jun 2008 11:48:29 +0000 (13:48 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
(This used to be commit 30a33cd0a64c434d6aee551f641343c3b2a6d9ca)

11 years agoMake sure events pc file gets installed.
Jelmer Vernooij [Tue, 17 Jun 2008 11:42:19 +0000 (13:42 +0200)]
Make sure events pc file gets installed.
(This used to be commit e12c0b61573f27969a79d4c07a8fd42f6c931d7e)

11 years agoChange our module code to not use the special symbol name init_module()
Andrew Tridgell [Tue, 17 Jun 2008 03:11:29 +0000 (13:11 +1000)]
Change our module code to not use the special symbol name init_module()

Current glibc libraries include a function called init_module(). If we
use the same name, then a dlsym() can find the glibc function if the
module doesn't have an initialisation function.

In ldb, none of our modules have an init_module(), so we end up calling the libc
functions with bogus arguments.
(This used to be commit 1b0621068998590e7b1e9528b78744dcd2cd5909)

11 years agoAvoid including events_util.h in events_internal.h since the latter is
Jelmer Vernooij [Tue, 17 Jun 2008 00:21:46 +0000 (02:21 +0200)]
Avoid including events_util.h in events_internal.h since the latter is
installed.
(This used to be commit 7a7e8f30dd3e5bfad788a098872afa8263321cbb)

11 years agoTry to get a bit further with provisioning
Simo Sorce [Mon, 16 Jun 2008 21:51:42 +0000 (17:51 -0400)]
Try to get a bit further with provisioning
(This used to be commit 649f6c0c1084828dda7d50bd2904208192de77da)

11 years agoChange order of includes in swig file to avoid warnings.
Jelmer Vernooij [Mon, 16 Jun 2008 21:25:48 +0000 (23:25 +0200)]
Change order of includes in swig file to avoid warnings.
(This used to be commit 0e1fccbd73eb0f219ea9662c56ee6da8a92f641a)

11 years agoRemove support for deprecated JS provisioning.
Jelmer Vernooij [Mon, 16 Jun 2008 21:19:14 +0000 (23:19 +0200)]
Remove support for deprecated JS provisioning.
(This used to be commit 9a5859c33e2377f3c5ee8d637fa81d49cb6f5456)

11 years agoAdd include in swig file as well.
Jelmer Vernooij [Mon, 16 Jun 2008 13:25:48 +0000 (15:25 +0200)]
Add include in swig file as well.
(This used to be commit c623313189728dd0553384e2e115cf10db4c7f25)

11 years agoFix build
Simo Sorce [Mon, 16 Jun 2008 13:04:33 +0000 (09:04 -0400)]
Fix build
(This used to be commit 220b58070239141158d796bd782d62cc36cd19db)

11 years agoFix ldb_wrap.c
Simo Sorce [Mon, 16 Jun 2008 13:04:06 +0000 (09:04 -0400)]
Fix ldb_wrap.c
(This used to be commit fd9f7c56752a06433cc26fa61a16d87941cbb2d3)

11 years agoFix cleanup.
Simo Sorce [Sun, 15 Jun 2008 15:15:12 +0000 (11:15 -0400)]
Fix cleanup.
(This used to be commit acbe365e34571218fe312f52edec98f4fe5b76be)

11 years agoNote that making ldb the event context parent seem to lead to races when
Simo Sorce [Sun, 15 Jun 2008 15:11:14 +0000 (11:11 -0400)]
Note that making ldb the event context parent seem to lead to races when
freeing up resources. Try to avoid races by making the autofree context
be the parent of the event system
(This used to be commit 10ffa87b6b7ebfe51e81819feb93a72e9ec10418)

11 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
Jelmer Vernooij [Sun, 15 Jun 2008 17:18:48 +0000 (19:18 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
(This used to be commit 1659a572c49b2f9cf336b27ec1c1bec1b86d688e)

11 years agoFix standalone ldb build.
Jelmer Vernooij [Sun, 15 Jun 2008 17:16:35 +0000 (19:16 +0200)]
Fix standalone ldb build.
(This used to be commit 4ac91e301455721b76f7f456bc50c5c6e47c05d3)

11 years agoFix ldb python bindings after events changes.
Jelmer Vernooij [Sun, 15 Jun 2008 17:16:06 +0000 (19:16 +0200)]
Fix ldb python bindings after events changes.
(This used to be commit dd1f24d0c6dfb19ba08282b91998f6881782c4fb)

11 years agoCleanup.
Simo Sorce [Sun, 15 Jun 2008 15:15:12 +0000 (11:15 -0400)]
Cleanup.
Remove trailing spaces and try to fit 80 column where possible.
(This used to be commit b32a040c2f0eb28d68837bde727437ca118d1b18)

11 years agoNow that we pass down the event context, start removing calls to
Simo Sorce [Sun, 15 Jun 2008 15:11:14 +0000 (11:11 -0400)]
Now that we pass down the event context, start removing calls to
event_context_init() where possible
(This used to be commit 412f7a98dd809306ac9f35003fce554e1e1252e7)

11 years agoCleanup,
Simo Sorce [Sun, 15 Jun 2008 00:37:40 +0000 (20:37 -0400)]
Cleanup,
Remove trailing spaces and try to fit 80 columns where possible
(This used to be commit edf6b77a1314d8f91839836855ae049393f73aca)

11 years agoUps fix typo in error type
Simo Sorce [Sun, 15 Jun 2008 00:18:50 +0000 (20:18 -0400)]
Ups fix typo in error type
(This used to be commit eb351e33e58abdacdf44cf700f028cc13f52c4c8)

11 years agoCosmetic fixes.
Simo Sorce [Sat, 14 Jun 2008 21:33:27 +0000 (17:33 -0400)]
Cosmetic fixes.
Remove trailing spaces adn try to fit 80 columns where possible
(This used to be commit 5457c667647ec156bb7b4f86ce580def4e9350d5)

11 years agoFix events_aio
Simo Sorce [Sat, 14 Jun 2008 19:54:46 +0000 (15:54 -0400)]
Fix events_aio
(This used to be commit d5525b79649ff75d6e9e853615949e4fbe9e0b6e)

11 years agoAvoid using .DEFAULT_GOAL - it's only available in gmake 3.81 and higher.
Jelmer Vernooij [Sat, 14 Jun 2008 19:40:23 +0000 (21:40 +0200)]
Avoid using .DEFAULT_GOAL - it's only available in gmake 3.81 and higher.
(This used to be commit 9a169c341bfb0c4ff423f05c27345d439890576c)

11 years agoUse a custom init function for samba4 that sets a samba4
Simo Sorce [Sat, 14 Jun 2008 17:00:53 +0000 (13:00 -0400)]
Use a custom init function for samba4 that sets a samba4
specific debug function.
By default do not debug, this is the most appropriate action for a library
as we cannot assume what stderr is use for in the main app.
The main app is responsible to set ev_debug_stderr if they so desire.
(This used to be commit e566a2f308ac6fb4b526a744f7059b565670aea5)

11 years agoMake up the right dependencies now that ldb depends on libevents
Simo Sorce [Sat, 14 Jun 2008 15:24:17 +0000 (11:24 -0400)]
Make up the right dependencies now that ldb depends on libevents
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)

11 years agoThis patch make it possible to build the events library completely
Simo Sorce [Sat, 14 Jun 2008 15:23:31 +0000 (11:23 -0400)]
This patch make it possible to build the events library completely
standalone with no ties to internal samba4 functions
Samba4 itself just uses the plain library, compatibility glue is
in events_s4.c only
(This used to be commit 7109b6a5a19eb2dbef4259104858b171298bad6e)

11 years agoUse proper python errors.
Jelmer Vernooij [Sat, 14 Jun 2008 10:20:12 +0000 (12:20 +0200)]
Use proper python errors.
(This used to be commit f54084b65fce67457cb838544c83ceb17c7d88db)

11 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
Jelmer Vernooij [Sat, 14 Jun 2008 10:15:24 +0000 (12:15 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
(This used to be commit 168bb8473c0cfeb388f9955059f92410b8ba5d06)

11 years agoFix prototype for pthread process model.
Jelmer Vernooij [Sat, 14 Jun 2008 10:14:27 +0000 (12:14 +0200)]
Fix prototype for pthread process model.
(This used to be commit 280c411613b21acc1e65e5657b209d266dbad8d3)

11 years agoMissed these on the last commit
Jim McDonough [Thu, 12 Jun 2008 11:06:07 +0000 (07:06 -0400)]
Missed these on the last commit
(This used to be commit 0e8f946ed02a6d2d9469f9ccab5f3342b2b80725)

11 years agoInitial automated wintest.
Jim McDonough [Thu, 12 Jun 2008 11:02:14 +0000 (07:02 -0400)]
Initial automated wintest.

Added a blackbox test which looks for $WINTEST_CONF_DIR,
gets configuration vars from *.conf in that dir, disables
smbwrapper, and runs RAW-OPEN torture test.

Scripts are coming to startup/shutdown vm's.
(This used to be commit 74a0a9bb54b2583dde7a5fbadd4d10858de12ee7)

11 years agoUse variables for source dir of python ldb bindings.
Jelmer Vernooij [Wed, 11 Jun 2008 00:52:43 +0000 (02:52 +0200)]
Use variables for source dir of python ldb bindings.
(This used to be commit cd4eddd31354f4ae45e8747da1a70340000716c3)

11 years agoUse variables for source dir of python tdb bindings.
Jelmer Vernooij [Wed, 11 Jun 2008 00:47:09 +0000 (02:47 +0200)]
Use variables for source dir of python tdb bindings.
(This used to be commit 22e7bcfbe4534c070ac2dd5f39773ea023dfa7f7)

11 years agoAdd another reason for skipping a testsuite, remove obsolete comment.
Jelmer Vernooij [Tue, 10 Jun 2008 22:11:31 +0000 (00:11 +0200)]
Add another reason for skipping a testsuite, remove obsolete comment.
(This used to be commit d4c06bf333fe9ba2dd8b7ebd51a848d512f40983)

11 years agoClarify error when SWIG can't be found - it's not required unless you
Jelmer Vernooij [Tue, 10 Jun 2008 22:11:11 +0000 (00:11 +0200)]
Clarify error when SWIG can't be found - it's not required unless you
intend to do development.
(This used to be commit 0f57fcaa2e8af3e2b03ba401f4fda812fe55745b)

11 years agoRemove unused import, function.
Jelmer Vernooij [Tue, 10 Jun 2008 22:10:43 +0000 (00:10 +0200)]
Remove unused import, function.
(This used to be commit f134a701e7c2d64a684d55691fd66e2aaeb15812)

11 years agoAdd working Python bindings for NBT.
Jelmer Vernooij [Tue, 10 Jun 2008 22:05:58 +0000 (00:05 +0200)]
Add working Python bindings for NBT.
(This used to be commit 9c88f5e1de9db34751f16c2247fa91ae2445c5f7)

11 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
Jelmer Vernooij [Tue, 10 Jun 2008 13:05:41 +0000 (15:05 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
(This used to be commit 74e1dd28f2f669bc196dc16b68c8b175bf835721)

11 years agoFix variables used in configure.
Jelmer Vernooij [Tue, 10 Jun 2008 12:52:17 +0000 (14:52 +0200)]
Fix variables used in configure.
(This used to be commit 9a58d9138af51dec6eab832a78506e93a86c34c5)

11 years agoRevert "Add configure test for vdeplug library."
Stefan Metzmacher [Tue, 10 Jun 2008 07:52:04 +0000 (09:52 +0200)]
Revert "Add configure test for vdeplug library."

This reverts commit 89590d7dfe0735093a4a5b66eeed9276df043ac9.

We don't need this yet and currently config.m4 is also used
by samba3 which bail out with the check in it, as it doesn't
know about the SMB_EXT_LIB() macro

metze
(This used to be commit bd0ec1754e6e187d421a718410ecd7c21922aa8b)

11 years agoFix initialization warnings.
Jeremy Allison [Fri, 21 Dec 2007 20:11:23 +0000 (12:11 -0800)]
Fix initialization warnings.
Jeremy.
(cherry picked from commit 832c093830cb3978641be3d87670fa900105da25)
(This used to be commit 3a4198b1181d6b97804afebbb91dac5a8242f615)

11 years agoSome C++ warnings
Stefan Metzmacher [Tue, 10 Jun 2008 07:13:08 +0000 (09:13 +0200)]
Some C++ warnings
(partialy cherry picked from commit 5ab82d4f574f2a2e2761e9e414c66a70aeffb05d)

metze
(This used to be commit 4933cd49ac81454cbd4b0fc33d888585a9437b9d)

11 years agosocket_wrapper: truncate packets to a 1500 byte payload
Stefan Metzmacher [Tue, 10 Jun 2008 06:33:24 +0000 (08:33 +0200)]
socket_wrapper: truncate packets to a 1500 byte payload

Truncate sendto(), recvfrom(), send() and recv() to 1500 bytes
so that're getting a correctly formatted pcap file and the result
look more like real network traffic.

metze
(This used to be commit 5b01206f1bb2e62c08bda34b45904ec4f83ac5de)

11 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Tue, 10 Jun 2008 03:19:56 +0000 (13:19 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 1d52d9cc70158dbe30325220aa5c1e6203c8b72b)

11 years agoTone down the warnings in the WHATSNEW.
Andrew Bartlett [Tue, 10 Jun 2008 02:54:45 +0000 (12:54 +1000)]
Tone down the warnings in the WHATSNEW.

Also fix some things up for the next release.

Andrew Bartlett
(This used to be commit 4ae5c1a8bd43aa04ce54d72a318c7f445e0e5027)

11 years agoheimdal_build: rename config.m{k,4} => internal.m{k,4}
Stefan Metzmacher [Thu, 5 Jun 2008 19:13:23 +0000 (19:13 +0000)]
heimdal_build: rename config.m{k,4} => internal.m{k,4}

metze
(This used to be commit 33700d4a97e14aab1b45b3ddb8c80c48cd789bc6)

11 years agoconfigure: we require autoconf 2.54
Stefan Metzmacher [Mon, 9 Jun 2008 08:42:07 +0000 (10:42 +0200)]
configure: we require autoconf 2.54

I've tested with autoconf from 2.53 to 2.62.

metze
(This used to be commit 0dbacbf8be0eacaa4db6477873b7512f7261ef4c)

11 years agolibreplace: only include AC_USE_SYSTEM_EXTENSIONS fallback if required
Stefan Metzmacher [Mon, 9 Jun 2008 08:39:48 +0000 (10:39 +0200)]
libreplace: only include AC_USE_SYSTEM_EXTENSIONS fallback if required

This fixes ./autogen.sh with autoconf-2.62

metze
(This used to be commit 72bb01dda4d425528e28cd96e249595dc6c1952f)

11 years agolibreplace: fix warnings with autoconf-2.62 rename ac_ => libreplace_cv_
Stefan Metzmacher [Mon, 9 Jun 2008 08:38:09 +0000 (10:38 +0200)]
libreplace: fix warnings with autoconf-2.62 rename ac_ => libreplace_cv_

AC_CACHE_VAL() variables must contain _cv_ to be cached.

metze
(This used to be commit 67e43860b4973a458676b36785570bb4a66e046a)

11 years agobuild/m4: fix warnings with autoconf-2.62 rename SMB_BUILD_ => samba_cv_
Stefan Metzmacher [Mon, 9 Jun 2008 08:37:12 +0000 (10:37 +0200)]
build/m4: fix warnings with autoconf-2.62 rename SMB_BUILD_ => samba_cv_

AC_CACHE_VAL() variables must contain _cv_ to be cached.

metze
(This used to be commit 0241af873fdefd5856932190ca0019a2d3c05703)

11 years agoMake it possible to disable gnutls at configure time,
Simo Sorce [Sun, 8 Jun 2008 23:16:26 +0000 (19:16 -0400)]
Make it possible to disable gnutls at configure time,
until someone will finally decide to fix it.
(This used to be commit 0671dce355432a2a4c08ab010831eadd73e4561e)

11 years agoAdd more docstrings in tdb.
Jelmer Vernooij [Sun, 8 Jun 2008 02:20:26 +0000 (04:20 +0200)]
Add more docstrings in tdb.
(This used to be commit 3d798a1440603b7929955f2120f09ba1482885a1)

11 years agofixed for per session session_key here too
Andrew Tridgell [Sat, 7 Jun 2008 18:10:23 +0000 (11:10 -0700)]
fixed for per session session_key here too
(This used to be commit abcbce004c99a2c62aa8c7a7cfc8ac5b5cfeb7dd)

11 years agomake signing per session in the SMB2 client library
Andrew Tridgell [Sat, 7 Jun 2008 15:30:51 +0000 (08:30 -0700)]
make signing per session in the SMB2 client library

Thanks to Metze for spotting this
(This used to be commit e9fd9b821c04d1cb7b574f539dd8169611e662aa)

11 years agofixed mandatory signing
Andrew Tridgell [Sat, 7 Jun 2008 15:14:25 +0000 (08:14 -0700)]
fixed mandatory signing

Metze pointed out that if signing is mandatory in the server then we
need to reject packets without the signed flag if the packet contains
a session id.
(This used to be commit 056f16e664e581bab1c07759e99ad4f6685c58eb)

11 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Tridgell [Sat, 7 Jun 2008 05:11:00 +0000 (22:11 -0700)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 8e96f2edb003d997e71e9e237463882696279d0f)

11 years agoadded server side SMB2 signing
Andrew Tridgell [Sat, 7 Jun 2008 05:10:30 +0000 (22:10 -0700)]
added server side SMB2 signing
(This used to be commit 8e919dcb0826a5b25d037ee6144af5f7cb21f3ae)

11 years agohandle NULL fields in blob comparison
Andrew Tridgell [Fri, 6 Jun 2008 17:54:17 +0000 (10:54 -0700)]
handle NULL fields in blob comparison
(This used to be commit 0643b5a2bfc401d8318964241ad522eb427a170e)

11 years agoensure we don't end up with a partially initialised EA structure
Andrew Tridgell [Fri, 6 Jun 2008 17:53:00 +0000 (10:53 -0700)]
ensure we don't end up with a partially initialised EA structure
(This used to be commit 388f4fde3655146bf57b4c51c59c39f475aa7fe8)

11 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Jelmer Vernooij [Thu, 5 Jun 2008 20:03:17 +0000 (22:03 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit dcdfee611ccc0ae798e3eea2cfdf3c7642dc5677)

11 years agoAdd convenience function for creating nbt sockets in torture.
Jelmer Vernooij [Thu, 5 Jun 2008 20:02:41 +0000 (22:02 +0200)]
Add convenience function for creating nbt sockets in torture.
(This used to be commit 1e6bfb1aa7eba1b92ee4bfb318ba843752a993a9)

11 years agoanother SMB2-LOCK fix now that we know that the UNLOCK flag is only
Andrew Tridgell [Thu, 5 Jun 2008 00:52:13 +0000 (17:52 -0700)]
another SMB2-LOCK fix now that we know that the UNLOCK flag is only
honoured on the first lock in a set
(This used to be commit c014ffabc65c30a6b83c8f9f9f9a80bb79333f59)

11 years agofixed SMB2-LOCK test for new semantics (from docs)
Andrew Tridgell [Wed, 4 Jun 2008 20:04:48 +0000 (13:04 -0700)]
fixed SMB2-LOCK test for new semantics (from docs)
(This used to be commit d4d4d62939e325f8529b11fcd2d490e8f63293b0)

11 years agocopied the Heimdal sha256 functions into lib/crypto to avoid a link
Andrew Tridgell [Wed, 4 Jun 2008 16:42:55 +0000 (09:42 -0700)]
copied the Heimdal sha256 functions into lib/crypto to avoid a link
error

Hopefully we can remove this again later
(This used to be commit fa2ecfea7a1acc388a86e8fba5b42df7925c9045)

11 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Tridgell [Wed, 4 Jun 2008 16:25:16 +0000 (09:25 -0700)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit d206517f90ac02e829193c5a17e5df25059cf18d)

11 years agokdc: we don't need any *_locl.h header from heimdal in the kdc
Stefan Metzmacher [Wed, 4 Jun 2008 13:39:17 +0000 (15:39 +0200)]
kdc: we don't need any *_locl.h header from heimdal in the kdc

metze
(This used to be commit feca16dd6d03730b4a67adf5d912ba2d5e1a3025)

11 years agolib/crypto: remove unused sha1 and hmac-sha1 code
Stefan Metzmacher [Wed, 4 Jun 2008 06:54:42 +0000 (08:54 +0200)]
lib/crypto: remove unused sha1 and hmac-sha1 code

metze
(This used to be commit 2c8904be3bac2c696712cc3160fe95d62afde43a)

11 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Tridgell [Tue, 3 Jun 2008 22:11:42 +0000 (15:11 -0700)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 9d74201e462f2f95ed5bd91200681db3bd2a9277)

11 years agoAlign the Python and EJS ldap tests.
Andrew Bartlett [Tue, 3 Jun 2008 13:27:22 +0000 (23:27 +1000)]
Align the Python and EJS ldap tests.

We should now (need to review and compare them once more) be able to
remove ldap.js (and once samba3sam.js is done, smbscript).

Andrew Bartlett
(This used to be commit f65e43e9456e8e951d172779cba53ab417114b20)

11 years agoselftest: don't skip BASE-DELAYWRITE
Stefan Metzmacher [Mon, 5 May 2008 11:10:02 +0000 (13:10 +0200)]
selftest: don't skip BASE-DELAYWRITE

metze
(This used to be commit 03f43a9a91bffd60de8f59f8fb717505a428d070)

11 years agoselftest: pass torture:writetimeupdatedelay to smbtorture
Stefan Metzmacher [Mon, 5 May 2008 11:06:54 +0000 (13:06 +0200)]
selftest: pass torture:writetimeupdatedelay to smbtorture

metze
(This used to be commit c285b540cb1c2b554a85ef08a4280f544d9d20cc)

11 years agoselftest: set posix:writetimeupdatedelay
Stefan Metzmacher [Tue, 3 Jun 2008 09:06:33 +0000 (11:06 +0200)]
selftest: set posix:writetimeupdatedelay

metze

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 62030027d1ab735fb9c590fafb0887dc882662d1)

11 years agopvfs: use utimes() instead of utime() to get better timestamp resolution
Stefan Metzmacher [Tue, 3 Jun 2008 11:32:04 +0000 (13:32 +0200)]
pvfs: use utimes() instead of utime() to get better timestamp resolution

Note: that libreplace always provides utimes()

metze
(This used to be commit 61bad69e2d7f84e2c6d6fb82917cfa86b17f54b0)

11 years agopvfs_close: correctly handle the write time updates passed by close()
Stefan Metzmacher [Thu, 8 May 2008 20:16:55 +0000 (22:16 +0200)]
pvfs_close: correctly handle the write time updates passed by close()

metze
(This used to be commit 7f033ce4fb6fc897f8159926d5a6d2e45dd447b6)

11 years agopvfs: correctly set the write time in the handle destructor
Stefan Metzmacher [Tue, 3 Jun 2008 09:54:21 +0000 (11:54 +0200)]
pvfs: correctly set the write time in the handle destructor

metze
(This used to be commit 58c118ab4d2b76c4ea68d79b711b81900634f767)

11 years agopvfs_setfileinfo: update the write time in the opendb
Stefan Metzmacher [Tue, 3 Jun 2008 09:47:12 +0000 (11:47 +0200)]
pvfs_setfileinfo: update the write time in the opendb

metze
(This used to be commit 418e2592b48d558ff1d32031d64263ae21cf1eb0)

11 years agopvfs: trigger a write time update 2 seconds after the first write
Stefan Metzmacher [Tue, 3 Jun 2008 09:36:08 +0000 (11:36 +0200)]
pvfs: trigger a write time update 2 seconds after the first write

metze
(This used to be commit c8e15d4c185f18322a882aa908939fa9d0e341a0)

11 years agopvfs: add posix:writetimeupdatedelay option
Stefan Metzmacher [Tue, 3 Jun 2008 09:34:10 +0000 (11:34 +0200)]
pvfs: add posix:writetimeupdatedelay option

metze
(This used to be commit c3ba19ca62affced96b927fcbe63cf5d075aed22)

11 years agopvfs: add PVFS_RESOLVE_NO_OPENDB flag and get the write time from the opendb
Stefan Metzmacher [Mon, 5 May 2008 10:18:47 +0000 (12:18 +0200)]
pvfs: add PVFS_RESOLVE_NO_OPENDB flag and get the write time from the opendb

By default get the current write time from the opendb,
but allow callers to pass PVFS_RESOLVE_NO_OPENDB
for performance reasons, if they don't need to the write time.

metze
(This used to be commit def52cc0988c26a815e74b3391e5857512408d90)

11 years agoopendb: add write time handling
Stefan Metzmacher [Tue, 15 Apr 2008 14:00:42 +0000 (16:00 +0200)]
opendb: add write time handling

metze
(This used to be commit 3868d8ce630c71e2c70aae442fcdbd68ba1eb708)