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>
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>
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
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
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
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
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
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
Jelmer Vernooij [Tue, 17 Jun 2008 12:21:02 +0000 (14:21 +0200)]
Use friendly NTSTATUS message in python code when possible.
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
Jelmer Vernooij [Tue, 17 Jun 2008 11:42:19 +0000 (13:42 +0200)]
Make sure events pc file gets installed.
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.
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.
Simo Sorce [Mon, 16 Jun 2008 21:51:42 +0000 (17:51 -0400)]
Try to get a bit further with provisioning
Jelmer Vernooij [Mon, 16 Jun 2008 21:25:48 +0000 (23:25 +0200)]
Change order of includes in swig file to avoid warnings.
Jelmer Vernooij [Mon, 16 Jun 2008 21:19:14 +0000 (23:19 +0200)]
Remove support for deprecated JS provisioning.
Jelmer Vernooij [Mon, 16 Jun 2008 13:25:48 +0000 (15:25 +0200)]
Add include in swig file as well.
Simo Sorce [Mon, 16 Jun 2008 13:04:33 +0000 (09:04 -0400)]
Fix build
Simo Sorce [Mon, 16 Jun 2008 13:04:06 +0000 (09:04 -0400)]
Fix ldb_wrap.c
Simo Sorce [Sun, 15 Jun 2008 15:15:12 +0000 (11:15 -0400)]
Fix cleanup.
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
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
Jelmer Vernooij [Sun, 15 Jun 2008 17:16:35 +0000 (19:16 +0200)]
Fix standalone ldb build.
Jelmer Vernooij [Sun, 15 Jun 2008 17:16:06 +0000 (19:16 +0200)]
Fix ldb python bindings after events changes.
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.
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
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
Simo Sorce [Sun, 15 Jun 2008 00:18:50 +0000 (20:18 -0400)]
Ups fix typo in error type
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
Simo Sorce [Sat, 14 Jun 2008 19:54:46 +0000 (15:54 -0400)]
Fix events_aio
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.
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.
Simo Sorce [Sat, 14 Jun 2008 15:24:17 +0000 (11:24 -0400)]
Make up the right dependencies now that ldb depends on libevents
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
Jelmer Vernooij [Sat, 14 Jun 2008 10:20:12 +0000 (12:20 +0200)]
Use proper python errors.
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
Jelmer Vernooij [Sat, 14 Jun 2008 10:14:27 +0000 (12:14 +0200)]
Fix prototype for pthread process model.
Jim McDonough [Thu, 12 Jun 2008 11:06:07 +0000 (07:06 -0400)]
Missed these on the last commit
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.
Jelmer Vernooij [Wed, 11 Jun 2008 00:52:43 +0000 (02:52 +0200)]
Use variables for source dir of python ldb bindings.
Jelmer Vernooij [Wed, 11 Jun 2008 00:47:09 +0000 (02:47 +0200)]
Use variables for source dir of python tdb bindings.
Jelmer Vernooij [Tue, 10 Jun 2008 22:11:31 +0000 (00:11 +0200)]
Add another reason for skipping a testsuite, remove obsolete comment.
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.
Jelmer Vernooij [Tue, 10 Jun 2008 22:10:43 +0000 (00:10 +0200)]
Remove unused import, function.
Jelmer Vernooij [Tue, 10 Jun 2008 22:05:58 +0000 (00:05 +0200)]
Add working Python bindings for NBT.
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
Jelmer Vernooij [Tue, 10 Jun 2008 12:52:17 +0000 (14:52 +0200)]
Fix variables used in configure.
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
Jeremy Allison [Fri, 21 Dec 2007 20:11:23 +0000 (12:11 -0800)]
Fix initialization warnings.
Jeremy.
(cherry picked from commit
832c093830cb3978641be3d87670fa900105da25)
Stefan Metzmacher [Tue, 10 Jun 2008 07:13:08 +0000 (09:13 +0200)]
Some C++ warnings
(partialy cherry picked from commit
5ab82d4f574f2a2e2761e9e414c66a70aeffb05d)
metze
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
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
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
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
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
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
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
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
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.
Jelmer Vernooij [Sun, 8 Jun 2008 02:20:26 +0000 (04:20 +0200)]
Add more docstrings in tdb.
Andrew Tridgell [Sat, 7 Jun 2008 18:10:23 +0000 (11:10 -0700)]
fixed for per session session_key here too
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
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.
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
Andrew Tridgell [Sat, 7 Jun 2008 05:10:30 +0000 (22:10 -0700)]
added server side SMB2 signing
Andrew Tridgell [Fri, 6 Jun 2008 17:54:17 +0000 (10:54 -0700)]
handle NULL fields in blob comparison
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
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
Jelmer Vernooij [Thu, 5 Jun 2008 20:02:41 +0000 (22:02 +0200)]
Add convenience function for creating nbt sockets in torture.
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
Andrew Tridgell [Wed, 4 Jun 2008 20:04:48 +0000 (13:04 -0700)]
fixed SMB2-LOCK test for new semantics (from docs)
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
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
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
Stefan Metzmacher [Wed, 4 Jun 2008 06:54:42 +0000 (08:54 +0200)]
lib/crypto: remove unused sha1 and hmac-sha1 code
metze
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
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
Stefan Metzmacher [Mon, 5 May 2008 11:10:02 +0000 (13:10 +0200)]
selftest: don't skip BASE-DELAYWRITE
metze
Stefan Metzmacher [Mon, 5 May 2008 11:06:54 +0000 (13:06 +0200)]
selftest: pass torture:writetimeupdatedelay to smbtorture
metze
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>
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
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
Stefan Metzmacher [Tue, 3 Jun 2008 09:54:21 +0000 (11:54 +0200)]
pvfs: correctly set the write time in the handle destructor
metze
Stefan Metzmacher [Tue, 3 Jun 2008 09:47:12 +0000 (11:47 +0200)]
pvfs_setfileinfo: update the write time in the opendb
metze
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
Stefan Metzmacher [Tue, 3 Jun 2008 09:34:10 +0000 (11:34 +0200)]
pvfs: add posix:writetimeupdatedelay option
metze
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
Stefan Metzmacher [Tue, 15 Apr 2008 14:00:42 +0000 (16:00 +0200)]
opendb: add write time handling
metze
Stefan Metzmacher [Tue, 3 Jun 2008 12:01:02 +0000 (14:01 +0200)]
BASE-DELAYWRITE: fix test on filesystem without high resolution timestamps
metze
Stefan Metzmacher [Mon, 5 May 2008 13:05:41 +0000 (15:05 +0200)]
BASE-DELAYWRITE: add missing time checks to make sure the server has updated the write time
metze
Andrew Bartlett [Tue, 3 Jun 2008 05:14:09 +0000 (15:14 +1000)]
On the road to alpha5...
Andrew Bartlett [Tue, 3 Jun 2008 05:13:28 +0000 (15:13 +1000)]
Merge branch 'v4-0-stable' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Tridgell [Tue, 3 Jun 2008 04:29:27 +0000 (14:29 +1000)]
SMB2 signing now works. The spec was wrong (and will be fixed in the
next version)
Andrew Bartlett [Tue, 3 Jun 2008 04:11:40 +0000 (14:11 +1000)]
Remove outdated README
Andrew Bartlett [Tue, 3 Jun 2008 02:02:20 +0000 (12:02 +1000)]
I probably should warn about GnuTLS bad mojo...
Andrew Bartlett
Andrew Bartlett [Tue, 3 Jun 2008 01:34:16 +0000 (11:34 +1000)]
Mark as the real Samba4 alpha4 release.
Andrew Bartlett [Tue, 3 Jun 2008 01:33:29 +0000 (11:33 +1000)]
Clarify that our build farm status really sucks at the moment...
Andrew Bartlett
Andrew Tridgell [Mon, 2 Jun 2008 23:36:46 +0000 (09:36 +1000)]
setpassword should be executable
Andrew Tridgell [Mon, 2 Jun 2008 23:36:02 +0000 (09:36 +1000)]
it is not valid to set a UNLOCK flag on a lock request
Stefan Metzmacher [Mon, 2 Jun 2008 14:27:44 +0000 (16:27 +0200)]
krb5_init_sec_context: skip the token header when GSS_C_DCE_STYLE is specified
Windows (and heimdal) accepts packets with token header
in the server, but it doesn't match the windows client.
We now match the windows client and that fixes
also the display in wireshark.
metze