Zach Loafman
afa71fbad9
s4:smb2: Add lease break support for SMB2.1
...
Add the structures and marshalling for the lease break variants of the
oplock break / oplock break ack messages.
2009-04-01 08:30:25 -07:00
Günther Deschner
264b28ec09
s3-libnet: only call libnet_dssync_process() startup and shutdown callbacks when filled in.
...
Guenther
2009-04-01 16:58:48 +02:00
Stefan Metzmacher
7ce1356c9f
lib/util: fallback to any id in idr_get_new_random()
...
metze
2009-04-01 16:41:15 +02:00
Stefan Metzmacher
794525f342
libcli/cldap: fix memory/resource leak
...
We need to remove the message id, when a search request is finished
metze
2009-04-01 16:41:14 +02:00
Volker Lendecke
ffdc2a3fe8
Print an error if trying a merged build without a system kerberos lib
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-04-01 16:31:10 +02:00
Michael Adam
6edaf6188c
s3: fix the fix for bug #6195 - dont let smbd child processes panic
...
This patch makes sure the original and temporary TDBs are closed
_before_ the rename. Originally, the open TDB was renamed, and so
the name passdb.tdb.tmp stayed around in the db context. Hence
upon client connect, the smbd children died because reinit_after_fork()
calling tdb_reopen_all() would try to reopen passdb.tdb.tmp which
existed no longer...
Michael
2009-04-01 12:26:36 +02:00
Michael Adam
1e92ddd405
s3:build: add targets to show how libraries will be built / linked
...
showlibtalloc, showlibtdb, ... and one overall showlibs target.
Michael
2009-04-01 10:41:35 +02:00
Michael Adam
99b486a056
s3:build: don't build the static libs unconditionally
...
Michael
2009-04-01 10:41:35 +02:00
Michael Adam
b79157f602
s3:build: add LIBSMBCLIENT_LIBS and LIBSMBSHAREMODES_LIBS to Makefile
...
for completeness
Michael
2009-04-01 10:41:34 +02:00
Michael Adam
15ef346f9f
s3:build: no need to set LIBFOO_STATIC to the object collection any more
...
now that the @LIBFOO_STATIC@ entries have vanished from the object lists.
Just use the static library.
Michael
2009-04-01 10:41:34 +02:00
Michael Adam
993c87495b
s3:build: rename WINBIND_LIBS -> LIBWBCLIENT_LIBS for unification
...
Michael
2009-04-01 10:41:34 +02:00
Michael Adam
baf39de623
s3:build: unify linking of libwbclient with a @LIBWBCLIENT_TARGET@
...
just like for the libs configured with SMB_LIBRARY().
This makes @LIBWBCLIENT_STATIC@ vanish from the object collections.
Michael
2009-04-01 10:41:33 +02:00
Michael Adam
f9eb77477b
s3:build: first cut at fixing linking of shared/static libs internally
...
This is based on a patch from the debian packages
by Steve Langasek <vorlon@debian.org>.
It removes the static libs from the object collections.
For those libs that are set up with SMB_LIBRARY().
Michael
2009-04-01 10:41:33 +02:00
Jeremy Allison
1e742660bf
Tidy up some convert_string_internal error cases, found by Andrew Bartlett.
...
Jeremy.
2009-03-31 18:28:49 -07:00
Tim Prouty
7424665061
s3 onefs: Add missing newlines to debug statements in the onefs module
2009-03-31 17:31:50 -07:00
Zack Kirsch
bfc7bb49ff
s3 onefs: Async failures are resulting in SMB_ASSERT->smb_panic while running many of the LOCK torture tests.
...
Return true from the onefs cancel function if we've errored, which can happen
when the CBRL domain is configured to only give out 1 lock. :)
2009-03-31 17:29:07 -07:00
Andrew Bartlett
8680be7059
Merge branch 'master' of ssh://git.samba.org/data/git/samba into wspp-schema
2009-04-01 10:25:03 +11:00
Tim Prouty
42c0931441
tdb: Remove unused variable
2009-03-31 16:24:07 -07:00
Volker Lendecke
62f12e2322
Fix an uninitialized variable valgrind error
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-03-31 21:19:15 +02:00
Stefan Metzmacher
c200e8632f
tsocket: try to fix the build on solaris FIONREAD was missing
...
metze
2009-03-31 20:33:33 +02:00
Michael Adam
d8425032cc
s3:build: fix build of pam_winbind.so with static linking
...
Static talloc libs were missing since conversion to talloc.
Michael
2009-03-31 16:55:40 +02:00
Michael Adam
9aab2631c6
s3:build: add a SHOWCFLAGS target for debugging how CFLAGS are assebled
...
Michael
2009-03-31 08:51:40 +02:00
Michael Adam
b2e8bc28a5
s3:build: line-wrap assignment of FLAGS for readability
...
Michael
2009-03-31 08:51:40 +02:00
Andrew Tridgell
2fe17ae61e
possibleInferiors is a generated attribute - we can't pull it over DRS
...
or from ldb
2009-03-31 16:31:16 +11:00
Andrew Tridgell
15e6def45d
Merge branch 'master' into wspp-schema
2009-03-31 15:53:17 +11:00
Andrew Tridgell
79b7ba9b10
change ldb version number (as ldb_module structure has changed)
2009-03-31 15:14:09 +11:00
Andrew Tridgell
16a1903c54
use the prepare_commit op in the partition code
...
This makes multi-partition ldb's much safer
2009-03-31 15:08:36 +11:00
Andrew Tridgell
6688ee80b2
added support for a prepare_commit() op in ldb modules
...
This op will be used by the partition module to give us good
transaction semantics across the 4 partitions that sam.ldb uses.
2009-03-31 15:07:54 +11:00
Andrew Tridgell
7a5e6940cf
up the version to 1.1.4 with the addition of
...
tdb_transaction_prepare_commit()
2009-03-31 15:06:23 +11:00
Andrew Tridgell
046b7a35be
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2009-03-31 13:59:56 +11:00
Andrew Tridgell
84547b8dba
added basic testing of tdb_transaction_prepare_commit() in tdbtorture
2009-03-31 13:59:03 +11:00
Howard Chu
b90863c0b7
Add tdb_transaction_prepare_commit()
...
Using tdb_transaction_prepare_commit() gives us 2-phase commits. This
allows us to safely commit across multiple tdb databases at once, with
reasonable transaction semantics
Signed-off-by: tridge@samba.org
2009-03-31 13:15:54 +11:00
Andrew Tridgell
631e688c82
Merge branch 'master' into wspp-schema
2009-03-31 11:58:37 +11:00
Jeremy Allison
9be2e2fdce
Ensure files starting with multiple dots are hidden
...
if "hide dot files" is set. Thanks to Barry Kelly <bkelly.ie@gmail.com>
for pointing this one out.
Jeremy.
2009-03-30 15:05:39 -07:00
Björn Jacke
5b33918947
s3/cups: add documentation for new cups encrypt parameter
2009-03-30 11:11:19 +02:00
Björn Jacke
4b184eaea1
s3/cups: add encryption support
2009-03-30 11:11:19 +02:00
Volker Lendecke
4b8e4ea728
Fix a debug msg typo
2009-03-29 00:53:04 +01:00
Stefan Metzmacher
23bb1eedf6
tsocket: more s/sun/un to make the build on solaris happy
...
metze
2009-03-28 23:50:56 +01:00
Zach Loafman
12a8ed07b4
s4:torture/smb2: Add torture tests for leases.
2009-03-28 01:01:47 -07:00
Zach Loafman
92f3686c96
s4:smb2: Add rudimentary SMB2.1 lease support to libcli
...
Add the structures, constants, and marshalling for SMB2.1 leases.
2009-03-28 01:01:47 -07:00
Jeremy Allison
0b890ae19a
Fix the problem of 3.0.x passdb databases being version
...
3 but using a different hash calculation than 3.2.x passwd
databases (also version 3). Introduces a minor version
number.
Jeremy.
2009-03-27 21:29:37 -07:00
Scott Urban
ee22c417f3
s3: added per-client statistics to onefs perfcount module
...
* we now track, uid, remote ip, and local ip per CIFS operation
* removed perfcount_set_client() from perfcount interface as it's
unecessary
2009-03-27 17:33:26 -07:00
Derrell Lipman
21ad907aa0
Ensure parameter types match format string
2009-03-27 18:03:00 -04:00
Derrell Lipman
c33f3d5cba
[Bug 6228] SMBC_open_ctx failure due to path resolve failure doesn't set errno
...
Fixed.
It turns out there were a number of places where cli_resolve_path() was called
and the error path upon that function failing did not set errno. There were a
couple of places the failure handling code did set errno to ENOENT, so I made
them all consistent, although I think better errno choices for this condition
exist, e.g. EHOSTUNREACH.
Derrell
2009-03-27 18:02:46 -04:00
Volker Lendecke
4b88f2c17e
Fix external np read after conversion to tevent_req
2009-03-27 21:12:17 +01:00
Jeremy Allison
d942d248d6
Fix bug #6195 - Migrating from 3.0.x to 3.3.x can fail to update passdb.tdb correctly. For the clustering case.
...
Clustered setups should have only ever used
the unsigned version of TDB_DATA in the
first place so they can't be in this mess :-).
Just do the normal upgrade in the clustered case.
Jeremy.
2009-03-27 12:13:13 -07:00
Björn Jacke
66b97d36b9
s3: ifdef sendfile code that's only used in other ifdef'ed sendfile code
...
This fixes a "defined but not used" compile warning.
2009-03-27 13:41:35 +01:00
Stefan Metzmacher
742496d252
s4:torture/smb2: fix compiler warnings and bugs
...
metze
2009-03-27 13:26:50 +01:00
Stefan Metzmacher
5c9e90eb7e
s4:torture/smb2: fix the build
...
We move prototypes of _PUBLIC_ functions into /dev/null,
as we want public function to have handwritten prototypes.
see proto_header_template in build/make/templates.mk...
metze
2009-03-27 13:26:43 +01:00
Stefan Metzmacher
ee8bc9659c
s4:build: make it possible to pass down CTAGS_OPTIONS or ETAGS_OPTIONS
...
metze
2009-03-27 12:20:09 +01:00