1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

16726 Commits

Author SHA1 Message Date
Simo Sorce
2daf2897d5 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 e566a2f308)
2008-06-14 13:00:53 -04:00
Simo Sorce
929adc9efa Make up the right dependencies now that ldb depends on libevents
(This used to be commit 3b8eec7ca3)
2008-06-14 11:59:19 -04:00
Simo Sorce
2aba410791 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 7109b6a5a1)
2008-06-14 11:59:19 -04:00
Jelmer Vernooij
3443954c2b Use proper python errors.
(This used to be commit f54084b65f)
2008-06-14 12:20:12 +02:00
Jelmer Vernooij
5bc9ef0e33 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
(This used to be commit 168bb8473c)
2008-06-14 12:15:24 +02:00
Jelmer Vernooij
21a11373e0 Fix prototype for pthread process model.
(This used to be commit 280c411613)
2008-06-14 12:14:27 +02:00
Jim McDonough
f3fb381952 Missed these on the last commit
(This used to be commit 0e8f946ed0)
2008-06-12 07:06:07 -04:00
Jim McDonough
0410dcb32d 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 74a0a9bb54)
2008-06-12 07:02:14 -04:00
Jelmer Vernooij
ce9db767a0 Use variables for source dir of python ldb bindings.
(This used to be commit cd4eddd313)
2008-06-11 02:52:43 +02:00
Jelmer Vernooij
3fe58d839a Use variables for source dir of python tdb bindings.
(This used to be commit 22e7bcfbe4)
2008-06-11 02:47:09 +02:00
Jelmer Vernooij
aa98a5f323 Add another reason for skipping a testsuite, remove obsolete comment.
(This used to be commit d4c06bf333)
2008-06-11 00:11:31 +02:00
Jelmer Vernooij
4c144bbc9e Clarify error when SWIG can't be found - it's not required unless you
intend to do development.
(This used to be commit 0f57fcaa2e)
2008-06-11 00:11:11 +02:00
Jelmer Vernooij
31a2a98d83 Remove unused import, function.
(This used to be commit f134a701e7)
2008-06-11 00:10:43 +02:00
Jelmer Vernooij
230503ad84 Add working Python bindings for NBT.
(This used to be commit 9c88f5e1de)
2008-06-11 00:05:58 +02:00
Jelmer Vernooij
01fc095d6e Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
(This used to be commit 74e1dd28f2)
2008-06-10 15:05:41 +02:00
Jelmer Vernooij
ffbea67677 Fix variables used in configure.
(This used to be commit 9a58d9138a)
2008-06-10 14:52:17 +02:00
Stefan Metzmacher
7206c5fc4a Revert "Add configure test for vdeplug library."
This reverts commit 89590d7dfe.

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 bd0ec1754e)
2008-06-10 09:52:04 +02:00
Jeremy Allison
85087ce095 Fix initialization warnings.
Jeremy.
(cherry picked from commit 832c093830)
(This used to be commit 3a4198b118)
2008-06-10 09:13:32 +02:00
Stefan Metzmacher
c8100b48d1 Some C++ warnings
(partialy cherry picked from commit 5ab82d4f57)

metze
(This used to be commit 4933cd49ac)
2008-06-10 09:13:08 +02:00
Stefan Metzmacher
47b106c0ae 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 5b01206f1b)
2008-06-10 08:43:02 +02:00
Andrew Bartlett
7721ea8f9c Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 1d52d9cc70)
2008-06-10 13:19:56 +10:00
Andrew Bartlett
7974ccbebf Tone down the warnings in the WHATSNEW.
Also fix some things up for the next release.

Andrew Bartlett
(This used to be commit 4ae5c1a8bd)
2008-06-10 12:54:45 +10:00
Stefan Metzmacher
1384f836b6 heimdal_build: rename config.m{k,4} => internal.m{k,4}
metze
(This used to be commit 33700d4a97)
2008-06-09 11:29:58 +02:00
Stefan Metzmacher
6dc6d480ab configure: we require autoconf 2.54
I've tested with autoconf from 2.53 to 2.62.

metze
(This used to be commit 0dbacbf8be)
2008-06-09 10:54:41 +02:00
Stefan Metzmacher
d54c171a1a libreplace: only include AC_USE_SYSTEM_EXTENSIONS fallback if required
This fixes ./autogen.sh with autoconf-2.62

metze
(This used to be commit 72bb01dda4)
2008-06-09 10:54:35 +02:00
Stefan Metzmacher
1b955253ff 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 67e43860b4)
2008-06-09 10:54:28 +02:00
Stefan Metzmacher
b0d43b862a 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 0241af873f)
2008-06-09 10:54:24 +02:00
Simo Sorce
4a0582438f Make it possible to disable gnutls at configure time,
until someone will finally decide to fix it.
(This used to be commit 0671dce355)
2008-06-08 19:16:26 -04:00
Jelmer Vernooij
cad533c68e Add more docstrings in tdb.
(This used to be commit 3d798a1440)
2008-06-08 04:20:26 +02:00
Andrew Tridgell
3df0fee42d fixed for per session session_key here too
(This used to be commit abcbce004c)
2008-06-07 11:10:23 -07:00
Andrew Tridgell
1c33953ae2 make signing per session in the SMB2 client library
Thanks to Metze for spotting this
(This used to be commit e9fd9b821c)
2008-06-07 08:30:51 -07:00
Andrew Tridgell
e4ad580b99 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 056f16e664)
2008-06-07 08:14:25 -07:00
Andrew Tridgell
5d5c8a09f0 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 8e96f2edb0)
2008-06-06 22:11:00 -07:00
Andrew Tridgell
e97cf207fa added server side SMB2 signing
(This used to be commit 8e919dcb08)
2008-06-06 22:10:30 -07:00
Andrew Tridgell
8e45338c8d handle NULL fields in blob comparison
(This used to be commit 0643b5a2bf)
2008-06-06 10:54:17 -07:00
Andrew Tridgell
3df3bf577d ensure we don't end up with a partially initialised EA structure
(This used to be commit 388f4fde36)
2008-06-06 10:53:00 -07:00
Jelmer Vernooij
d51904c489 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit dcdfee611c)
2008-06-05 22:03:17 +02:00
Jelmer Vernooij
d05ca8cbba Add convenience function for creating nbt sockets in torture.
(This used to be commit 1e6bfb1aa7)
2008-06-05 22:02:41 +02:00
Andrew Tridgell
c6cc3cb88e 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 c014ffabc6)
2008-06-04 17:52:13 -07:00
Andrew Tridgell
93d6332e7e fixed SMB2-LOCK test for new semantics (from docs)
(This used to be commit d4d4d62939)
2008-06-04 13:04:48 -07:00
Andrew Tridgell
9cf72946aa 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 fa2ecfea7a)
2008-06-04 09:42:55 -07:00
Andrew Tridgell
bc8c2a50e8 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit d206517f90)
2008-06-04 09:25:16 -07:00
Stefan Metzmacher
71ce9975fa kdc: we don't need any *_locl.h header from heimdal in the kdc
metze
(This used to be commit feca16dd6d)
2008-06-04 15:39:17 +02:00
Stefan Metzmacher
8699913858 lib/crypto: remove unused sha1 and hmac-sha1 code
metze
(This used to be commit 2c8904be3b)
2008-06-04 09:12:24 +02:00
Andrew Tridgell
70219bee13 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 9d74201e46)
2008-06-03 15:11:42 -07:00
Andrew Bartlett
446748bfe1 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 f65e43e945)
2008-06-03 23:27:22 +10:00
Stefan Metzmacher
c674a09cac selftest: don't skip BASE-DELAYWRITE
metze
(This used to be commit 03f43a9a91)
2008-06-03 14:05:06 +02:00
Stefan Metzmacher
a2f1bd0050 selftest: pass torture:writetimeupdatedelay to smbtorture
metze
(This used to be commit c285b540cb)
2008-06-03 14:05:05 +02:00
Stefan Metzmacher
70f83b4944 selftest: set posix:writetimeupdatedelay
metze

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 62030027d1)
2008-06-03 14:05:05 +02:00
Stefan Metzmacher
b800af662c pvfs: use utimes() instead of utime() to get better timestamp resolution
Note: that libreplace always provides utimes()

metze
(This used to be commit 61bad69e2d)
2008-06-03 14:05:04 +02:00