obnox/samba-ctdb.git
12 years agov3-6-ctdb: VERSION bump vendor patch level to 11 3.6.0rc1-ctdb-11
Volker Lendecke [Mon, 16 May 2011 09:40:46 +0000 (11:40 +0200)]
v3-6-ctdb: VERSION bump vendor patch level to 11

12 years agov3-6-ctdb: VERSION bump vendor patch level to 10
Volker Lendecke [Wed, 27 Apr 2011 12:23:51 +0000 (14:23 +0200)]
v3-6-ctdb: VERSION bump vendor patch level to 10

12 years agov3-6-ctdb: VERSION bump vendor patch level to 9
Volker Lendecke [Mon, 18 Apr 2011 09:44:13 +0000 (11:44 +0200)]
v3-6-ctdb: VERSION bump vendor patch level to 9

12 years agov3-6-ctdb: packaging(RHEL-CTDB): package the gpfs_prefetch vfs module
Volker Lendecke [Fri, 5 Mar 2010 15:10:49 +0000 (16:10 +0100)]
v3-6-ctdb: packaging(RHEL-CTDB): package the gpfs_prefetch vfs module

12 years agov3-6-ctdb: s3:vfs: Add a gpfs_prefetch module.
Volker Lendecke [Fri, 21 Jan 2011 13:07:15 +0000 (14:07 +0100)]
v3-6-ctdb: s3:vfs: Add a gpfs_prefetch module.

This can not go upstream yet because it uses the gpfs_fcntl call
from the non-GPL libgpfs.

12 years agov3-6-ctdb: VERSION bump vendor patch level to 8
Michael Adam [Wed, 30 Mar 2011 14:40:48 +0000 (16:40 +0200)]
v3-6-ctdb: VERSION bump vendor patch level to 8

12 years agov3-6-ctdb: packaging(RHEL-CTDB): package the shadow_copy3 module
Michael Adam [Thu, 7 Apr 2011 22:18:11 +0000 (00:18 +0200)]
v3-6-ctdb: packaging(RHEL-CTDB): package the shadow_copy3 module

12 years agov3-6-ctdb: s3: add a shadow_copy3 vfs module
Volker Lendecke [Mon, 4 Apr 2011 11:21:40 +0000 (13:21 +0200)]
v3-6-ctdb: s3: add a shadow_copy3 vfs module

(new version of the shadow_copy3 module supporting independent filesets)

12 years agov3-6-ctdb: VERSION bump vendor patch level to 7
Volker Lendecke [Wed, 30 Mar 2011 14:40:48 +0000 (16:40 +0200)]
v3-6-ctdb: VERSION bump vendor patch level to 7

12 years agov3-6-ctdb: VERSION bump vendor patch level to 6
Volker Lendecke [Tue, 29 Mar 2011 10:49:40 +0000 (12:49 +0200)]
v3-6-ctdb: VERSION bump vendor patch level to 6

12 years agov3-6-ctdb: VERSION bump vendor patch level to 5
Michael Adam [Wed, 9 Feb 2011 23:37:30 +0000 (00:37 +0100)]
v3-6-ctdb: VERSION bump vendor patch level to 5

12 years agov3-6-ctdb: VERSION bump vendor patch level to 4
Michael Adam [Wed, 9 Feb 2011 23:37:30 +0000 (00:37 +0100)]
v3-6-ctdb: VERSION bump vendor patch level to 4

12 years agov3-6-ctdb: VERSION bump vendor patch level to 3
Michael Adam [Wed, 9 Feb 2011 23:37:30 +0000 (00:37 +0100)]
v3-6-ctdb: VERSION bump vendor patch level to 3

12 years agov3-6-ctdb: VERSION bump vendor patch level to 2
Michael Adam [Wed, 9 Feb 2011 23:37:30 +0000 (00:37 +0100)]
v3-6-ctdb: VERSION bump vendor patch level to 2

12 years agov3-6-ctdb: s3: Add the "net groupfilter" command
Volker Lendecke [Sun, 14 Dec 2008 23:16:56 +0000 (00:16 +0100)]
v3-6-ctdb: s3: Add the "net groupfilter" command

This is the start of a bad hack for even worse systems: Many Unix systems still
have the NGROUPS problem: A user can not be member of more than a very limited
number of groups. Solaris for example limits this to 16 by default. Many
Windows environments have a *LOT* more groups per user, some even go to
hundreds. Whether that is efficient is debatable, but it's there.

This patch implements the

"net groupfilter"

command with the "addsid", "delsid" and "list" subcommands. If any SIDs are
present according to "net groupfilter list" (they are stored in secrets.tdb),
then only the SIDs in that list are converted to GIDs for a user at login time.

This gives the Administrator the possibility to define a set of groups that are
used on the Unix box, making sure that no user is in more than NGROUPS of those
at a time.

This patch is incomplete in the sense that winbind is not aware of this, only
smbd. So it is kind of an emergency hack for smbd-only machines.

Volker

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agov3-6-ctdb: apply patch from v3-0-ctdb to special case root in libnss_winbind
Andrew Tridgell [Mon, 21 Apr 2008 16:41:32 +0000 (18:41 +0200)]
v3-6-ctdb: apply patch from v3-0-ctdb to special case root in libnss_winbind

This is needed to ensure the administrator can login to a node even
when ctdbd and winbindd are stuck

12 years agov3-6-ctdb: add README.v3-6-ctdb
Michael Adam [Tue, 18 Jan 2011 12:19:55 +0000 (13:19 +0100)]
v3-6-ctdb: add README.v3-6-ctdb

12 years agov3-6-ctdb: VERSION: add vendor-suffix "ctdb" and vendor-patch level "1"
Michael Adam [Tue, 23 Jun 2009 14:41:38 +0000 (16:41 +0200)]
v3-6-ctdb: VERSION: add vendor-suffix "ctdb" and vendor-patch level "1"

Michael

following the versioning scheme of the v3-2-ctdb branch

Michael

12 years agov3-6-ctdb: VERSION: set version to non-snapshot..
Michael Adam [Wed, 8 Apr 2009 17:28:52 +0000 (19:28 +0200)]
v3-6-ctdb: VERSION: set version to non-snapshot..

12 years agopackaging(RHEL-CTDB): honour rpm build target options handed in to makerpms.sh
Michael Adam [Wed, 18 May 2011 08:35:42 +0000 (10:35 +0200)]
packaging(RHEL-CTDB): honour rpm build target options handed in to makerpms.sh

This allows to call e.g. "makerpms.sh -bs" to only build the source rpm.

12 years agopackaging(RHEL-CTDB): adapt configure.rpm
Michael Adam [Fri, 6 May 2011 15:22:06 +0000 (17:22 +0200)]
packaging(RHEL-CTDB): adapt configure.rpm

12 years agopackaging(RHEL-CTDB): enforce building of libtdb and libtalloc
Michael Adam [Fri, 6 May 2011 15:21:10 +0000 (17:21 +0200)]
packaging(RHEL-CTDB): enforce building of libtdb and libtalloc

12 years agopackaging(RHEL-CTDB): build libtdb and libtalloc packages ourselves
Michael Adam [Fri, 6 May 2011 10:29:10 +0000 (12:29 +0200)]
packaging(RHEL-CTDB): build libtdb and libtalloc packages ourselves

and add appropriate dependencies to the samba-common package.
It should also be possible to run with appropriate system talloc
and tdb packages.

12 years agopackaging(RHEL-CTDB): update configure.rpm (--disable-smbtorture4)
Michael Adam [Fri, 6 May 2011 16:36:38 +0000 (18:36 +0200)]
packaging(RHEL-CTDB): update configure.rpm (--disable-smbtorture4)

12 years agopackaging(RHEL-CTDB): disable smbtorture4 in the rpm build
Michael Adam [Fri, 6 May 2011 16:35:55 +0000 (18:35 +0200)]
packaging(RHEL-CTDB): disable smbtorture4 in the rpm build

12 years agopackaging(RHEL-CTDB): Remove the packaging of the winbind-32bit compat package
Michael Adam [Fri, 6 May 2011 10:03:52 +0000 (12:03 +0200)]
packaging(RHEL-CTDB): Remove the packaging of the winbind-32bit compat package

12 years agopackaging(RHEL-CTDB): create the rpm directories
Volker Lendecke [Wed, 27 Apr 2011 08:25:05 +0000 (10:25 +0200)]
packaging(RHEL-CTDB): create the rpm directories

In RHEL6, rpms are built in /root/rpmbuild, and those directories do not
necessarily exist.

12 years agos3-torture: Add a test for notify upon read&x
Volker Lendecke [Wed, 4 May 2011 15:45:34 +0000 (17:45 +0200)]
s3-torture: Add a test for notify upon read&x

This makes sure that when a file is brought online by a read call
we notify the client for FILE_NOTIFY_CHANGE_ATTRIBUTES.

12 years agos3:torture: remove a file accidentially committed with 3b2fe4728d6d916508b677e696ecad...
Michael Adam [Tue, 17 May 2011 12:30:13 +0000 (14:30 +0200)]
s3:torture: remove a file accidentially committed with 3b2fe4728d6d916508b677e696ecad88f8b7b9fd

12 years agoWHATSNEW: Add further changes since pre3.
Karolin Seeger [Tue, 17 May 2011 07:54:34 +0000 (09:54 +0200)]
WHATSNEW: Add further changes since pre3.

And remove double entry.

Karolin

12 years agoFix the SMB2 showstopper, found by an extended torture test from Volker.
Jeremy Allison [Mon, 16 May 2011 19:20:14 +0000 (12:20 -0700)]
Fix the SMB2 showstopper, found by an extended torture test from Volker.

In the oplock refactoring, the algorithm underwent an unnoticed change.
In 3.5.x stat_opens were silently (i.e. no explicit code had comments
explaining this) ignored when looking for oplock breaks and share mode
violations. After the refactoring, the function find_oplock_types()
no longer ignored stat_open entries in the share mode table when looking
for batch and exclusive oplocks. This patch adds two changes to find_oplock_types()
to ignore the case where the incoming open request is a stat open being
tested against existing opens, and also when the incoming open request
is a non-stat open being tested against existing stat opens. Neither
of these cause an oplock break or share mode violation. Thanks a *lot*
to Volker, who persevered in reproducing this problem.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon May 16 22:38:20 CEST 2011 on sn-devel-104
(cherry picked from commit 8cf14c21b3bc55454728bf48b23f696e15c92aea)

12 years agoEnsure we always write the correct incoming mid into the share mode
Jeremy Allison [Mon, 16 May 2011 17:41:51 +0000 (10:41 -0700)]
Ensure we always write the correct incoming mid into the share mode
table entries.
(cherry picked from commit fe21bdc43c0aeacfc8592998e6a90f6f83c939e0)

12 years agos3-printing: remove cups_pull_comment_location from header file
David Disseldorp [Mon, 16 May 2011 11:26:41 +0000 (13:26 +0200)]
s3-printing: remove cups_pull_comment_location from header file

Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon May 16 16:03:57 CEST 2011 on sn-devel-104
(cherry picked from commit 6bfe488f29a9df26f3d6dbc4166200ea286536c1)

12 years agos3-printing: Remove obsolete and unused cups_pull_comment_location().
Andreas Schneider [Fri, 13 May 2011 08:57:33 +0000 (10:57 +0200)]
s3-printing: Remove obsolete and unused cups_pull_comment_location().

Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 01bc556d03a592e1f3c848d71b2e72a7cb74706f)

12 years agos3-spoolss: Get the printer location from cups.
Andreas Schneider [Fri, 13 May 2011 08:28:20 +0000 (10:28 +0200)]
s3-spoolss: Get the printer location from cups.

Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit da1fa201040b2dab89fdc99663155a1c79ad4de9)

12 years agos3-printing: Get the location info from cups.
Günther Deschner [Fri, 13 May 2011 08:02:42 +0000 (10:02 +0200)]
s3-printing: Get the location info from cups.

Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 854467851da48e02dcd8f869cb031c8943707017)

12 years agos3-includes: no need to globally include libads/ads_status.h.
Günther Deschner [Fri, 6 May 2011 10:54:59 +0000 (12:54 +0200)]
s3-includes: no need to globally include libads/ads_status.h.

Guenther
(cherry picked from commit 1e208a705718adb105d89093041c0ba5d51f2429)

12 years agos3-includes: finally only include client.h when libsmb is used.
Günther Deschner [Fri, 6 May 2011 10:53:38 +0000 (12:53 +0200)]
s3-includes: finally only include client.h when libsmb is used.

Guenther
(cherry picked from commit 675573d54b717ffc24cf3b49301ff649aecc259a)

12 years agos3-build Remove distinct LOCALEDIR subsystem
Andrew Bartlett [Wed, 13 Apr 2011 05:13:45 +0000 (15:13 +1000)]
s3-build Remove distinct LOCALEDIR subsystem

This is no different to the rest of dynconfig, and so should be dealt
with there.

Andrew Bartlett
(cherry picked from commit d309499b9e268bff5e366a9986528f0accbc02b3)

12 years agos3-libsmb: move protos to libsmb/proto.h
Günther Deschner [Fri, 6 May 2011 09:47:43 +0000 (11:47 +0200)]
s3-libsmb: move protos to libsmb/proto.h

Guenther

12 years agos3: only include tdb headers where needed.
Günther Deschner [Thu, 5 May 2011 09:25:29 +0000 (11:25 +0200)]
s3: only include tdb headers where needed.

Guenther
(cherry picked from commit d8cfca3a9bd2b6b6c562fd202377d95a98eb5472)

12 years agolib/util Move source3 tdb_wrap_open() into the common code.
Andrew Bartlett [Wed, 4 May 2011 00:28:15 +0000 (10:28 +1000)]
lib/util Move source3 tdb_wrap_open() into the common code.

This #if _SAMBA_BUILD == 3 is very unfortunate, as it means that in
the top level build, these options are not available for these
databases.  However, having two different tdb_wrap lists is a worse
fate, so this will do for now.

Andrew Bartlett
(cherry picked from commit 14750139639b3531e57a3ca3f9e481d6e458dc06)

12 years agos3-includes: remove ipv6 related prototype which is already defined in ../lib/util...
Günther Deschner [Tue, 3 May 2011 14:16:50 +0000 (16:16 +0200)]
s3-includes: remove ipv6 related prototype which is already defined in ../lib/util/util_net.h.

Guenther
(cherry picked from commit a3609457912123037ca9fc51349d89d7921bc4e7)

12 years agolib/util Move more network utility functions from source3 into lib/util
Andrew Bartlett [Mon, 2 May 2011 05:23:08 +0000 (15:23 +1000)]
lib/util Move more network utility functions from source3 into lib/util

This will help with the merge of the interfaces layer.

Andrew Bartlett
(cherry picked from commit fbea52f74a80268446f45936a0cf40400aba8565)

12 years agos3-rpc_server: run minimal_includes.pl.
Günther Deschner [Wed, 4 May 2011 22:58:27 +0000 (00:58 +0200)]
s3-rpc_server: run minimal_includes.pl.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu May  5 03:04:38 CEST 2011 on sn-devel-104
(cherry picked from commit 8563d5c384f672276d8ea2ab20a1810ff485e37d)

12 years agos3-printing: run minimal_includes.pl.
Günther Deschner [Wed, 4 May 2011 22:48:26 +0000 (00:48 +0200)]
s3-printing: run minimal_includes.pl.

Guenther
(cherry picked from commit c9f3a2c83e208fcf05576eb2137c893fe4f3fe6d)

12 years agos3-rpc_server: (re)move last globally included rpc_server prototypes.
Günther Deschner [Mon, 2 May 2011 11:27:45 +0000 (13:27 +0200)]
s3-rpc_server: (re)move last globally included rpc_server prototypes.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon May  2 16:05:31 CEST 2011 on sn-devel-104
(cherry picked from commit 56cd3b3bbbb595cb0c98fa2dfa397c915fbf37d2)

12 years agos3: include ntdomain.h before including generated srv_ headers.
Günther Deschner [Mon, 2 May 2011 11:21:53 +0000 (13:21 +0200)]
s3: include ntdomain.h before including generated srv_ headers.

Guenther
(cherry picked from commit 0e76eddcc8a4e7e98167b8f92387fae015fae095)

12 years agos3-rpc_server: add pipes_struct forward declaration.
Günther Deschner [Mon, 2 May 2011 11:19:51 +0000 (13:19 +0200)]
s3-rpc_server: add pipes_struct forward declaration.

Guenther
(cherry picked from commit 911cdc56c146014058063b872372ff8096c06065)

12 years agos3-printing: avoid using pipes_struct when only session_info is needed.
Günther Deschner [Fri, 29 Apr 2011 22:09:09 +0000 (00:09 +0200)]
s3-printing: avoid using pipes_struct when only session_info is needed.

Guenther
(cherry picked from commit cd5b2b242b39437081592d41d297bce0668b40ab)

12 years agos3-proto: move remaining srvsvc protos to own header file.
Günther Deschner [Fri, 29 Apr 2011 21:57:49 +0000 (23:57 +0200)]
s3-proto: move remaining srvsvc protos to own header file.

Guenther
(cherry picked from commit daa02f34b181a3ec7224e920f787cc677bc3cdf2)

12 years agos3-proto: move remaining spoolss protos to own header file.
Günther Deschner [Fri, 29 Apr 2011 21:47:25 +0000 (23:47 +0200)]
s3-proto: move remaining spoolss protos to own header file.

Guenther
(cherry picked from commit c233c21425a183dd1124329fdbca13ab92cc6d6a)

12 years agos3-proto: move more rpc_server prototypes out of proto.h
Günther Deschner [Fri, 29 Apr 2011 21:32:28 +0000 (23:32 +0200)]
s3-proto: move more rpc_server prototypes out of proto.h

Guenther
(cherry picked from commit 047d8c073b57bc12648a251deaceedb65f4f59cf)

12 years agos3-proto: move rpc_srv_register protos and structs to town headerfile.
Günther Deschner [Fri, 29 Apr 2011 20:32:12 +0000 (22:32 +0200)]
s3-proto: move rpc_srv_register protos and structs to town headerfile.

Guenther
(cherry picked from commit 49d5f62b42d821bb8a11b595efb53eb88ec3c570)

12 years agos3-proto: move more headers to rpc_server/rpc_ncacn_np.h where they origin from.
Günther Deschner [Fri, 29 Apr 2011 14:40:24 +0000 (16:40 +0200)]
s3-proto: move more headers to rpc_server/rpc_ncacn_np.h where they origin from.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Apr 29 22:05:07 CEST 2011 on sn-devel-104
(cherry picked from commit bbacaec4e9365b128eb11467c95412de7473c1ec)

12 years agos3-proto: remove duplicate prototypes.
Günther Deschner [Fri, 29 Apr 2011 14:20:27 +0000 (16:20 +0200)]
s3-proto: remove duplicate prototypes.

Guenther
(cherry picked from commit bc781bf7d98baca57c8043bf7dc0a95f8ffd1345)

12 years agos3-rpc_server: remove some unneeded headers.
Günther Deschner [Fri, 29 Apr 2011 14:19:54 +0000 (16:19 +0200)]
s3-rpc_server: remove some unneeded headers.

Guenther
(cherry picked from commit 487cb0c96ef8ca05fcef35d0d7c49bc067f6cff7)

12 years agos3-proto: move rpc_server/rpc_handles.c protos to ntdomain.h
Günther Deschner [Fri, 29 Apr 2011 13:22:29 +0000 (15:22 +0200)]
s3-proto: move rpc_server/rpc_handles.c protos to ntdomain.h

Guenther

12 years agos3-proto: move more librpc prototypes to librpc/rpc/dcerpc.h
Günther Deschner [Fri, 29 Apr 2011 13:13:55 +0000 (15:13 +0200)]
s3-proto: move more librpc prototypes to librpc/rpc/dcerpc.h

Guenther
(cherry picked from commit faf11751255202274505d72848c54ee6e5dce7b6)

12 years agos3-proto: move more rpc client prototypes to cli_pipe.h.
Günther Deschner [Thu, 21 Apr 2011 16:24:35 +0000 (18:24 +0200)]
s3-proto: move more rpc client prototypes to cli_pipe.h.

Guenther

12 years agos4-smbtorture: add test_netremotetod.
Günther Deschner [Wed, 11 May 2011 21:50:23 +0000 (23:50 +0200)]
s4-smbtorture: add test_netremotetod.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon May 16 12:45:52 CEST 2011 on sn-devel-104
(cherry picked from commit 74d82faa78e64bdaed68efb9331a7af1c3016c34)

12 years agos4-libcli/rap: add smbcli_rap_netremotetod().
Günther Deschner [Wed, 11 May 2011 21:37:08 +0000 (23:37 +0200)]
s4-libcli/rap: add smbcli_rap_netremotetod().

Guenther
(cherry picked from commit b1948659ad987ce50d048dabc34f03031a243ee5)

12 years agos3-rap: add rap_NetRemoteTOD to IDL.
Günther Deschner [Wed, 11 May 2011 21:35:21 +0000 (23:35 +0200)]
s3-rap: add rap_NetRemoteTOD to IDL.

Guenther
(cherry picked from commit b82caab5c9d8821cd125654e3233da40eb4c61d1)

12 years agos3-rpc_client: run minimal_includes.pl.
Günther Deschner [Wed, 4 May 2011 22:54:56 +0000 (00:54 +0200)]
s3-rpc_client: run minimal_includes.pl.

Guenther
(cherry picked from commit bd92826aa837f56119153b93cfce7f843e567896)

12 years agos3-rpcclient: run minimal_includes.pl.
Günther Deschner [Wed, 4 May 2011 22:51:12 +0000 (00:51 +0200)]
s3-rpcclient: run minimal_includes.pl.

Guenther
(cherry picked from commit c11d52c7f6b560fe66a2f197e30602d57370fd5c)

12 years agos3-param: run minimal_includes.pl.
Günther Deschner [Wed, 4 May 2011 22:36:51 +0000 (00:36 +0200)]
s3-param: run minimal_includes.pl.

Guenther
(cherry picked from commit 62314da8059ae888c0d1b299c486156664611e06)

12 years agos3-libsmb: run minimal_includes.pl.
Günther Deschner [Wed, 4 May 2011 22:31:42 +0000 (00:31 +0200)]
s3-libsmb: run minimal_includes.pl.

Guenther
(cherry picked from commit ea8960448d0a40067382a8d14ae19351d20acbdd)

12 years agos3-libnet: run minimal_includes.pl.
Günther Deschner [Wed, 4 May 2011 22:25:31 +0000 (00:25 +0200)]
s3-libnet: run minimal_includes.pl.

Guenther
(cherry picked from commit a05a59e8e2a421f22978e6eedbb1a7501a603aff)

12 years agos3-libads: run minimal_includes.pl.
Günther Deschner [Wed, 4 May 2011 22:22:05 +0000 (00:22 +0200)]
s3-libads: run minimal_includes.pl.

Guenther
(cherry picked from commit 653b84d2d6ed7387f93e5a126b5f2114b831044e)

12 years agos3-lib: run minimal_includes.pl.
Günther Deschner [Wed, 4 May 2011 22:10:23 +0000 (00:10 +0200)]
s3-lib: run minimal_includes.pl.

Guenther
(cherry picked from commit 63ebc918e4514f0006b94856d9b089255fca9718)

12 years agos3-auth: run minimal_includes.pl
Günther Deschner [Wed, 4 May 2011 22:03:48 +0000 (00:03 +0200)]
s3-auth: run minimal_includes.pl

Guenther
(cherry picked from commit 58db720e27d4b0c580fb4d3e036d823bc5d3a141)

12 years agolibcli/named_pipe_auth: add forward declaration in npa_tstream.h.
Günther Deschner [Fri, 29 Apr 2011 21:58:18 +0000 (23:58 +0200)]
libcli/named_pipe_auth: add forward declaration in npa_tstream.h.

Guenther
(cherry picked from commit 89ceb489784358f9476bb6be0ad3ab9ea4d1b9c2)

12 years agos3-waf: check for pthread support.
Günther Deschner [Wed, 27 Apr 2011 14:07:35 +0000 (16:07 +0200)]
s3-waf: check for pthread support.

Guenther
(cherry picked from commit cad8fafa0391e9f13c2958c45ca5ec57f93f1e7b)

12 years agos3-proto: move remaining krb5 protos to krb5_protos.h
Günther Deschner [Tue, 3 May 2011 10:05:47 +0000 (12:05 +0200)]
s3-proto: move remaining krb5 protos to krb5_protos.h

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue May  3 15:38:40 CEST 2011 on sn-devel-104
(cherry picked from commit 9c48345e32c9aebd93c67103ea6984d74f2061b4)

12 years agos3: remove various references to server side dcerpc structs (which are not needed).
Günther Deschner [Mon, 2 May 2011 10:36:55 +0000 (12:36 +0200)]
s3: remove various references to server side dcerpc structs (which are not needed).

Guenther
(cherry picked from commit 0bb4701a747599042242b0612bc392a6e6d777af)

12 years agos3: move pipe_auth_data to dcerpc.h
Günther Deschner [Mon, 2 May 2011 10:36:25 +0000 (12:36 +0200)]
s3: move pipe_auth_data to dcerpc.h

Guenther
(cherry picked from commit 80fa624861e6f45c4b6837969253d5fbac2f3b1e)

12 years agos3-smbd: avoid using pipes_struct when only session_info is needed.
Günther Deschner [Fri, 29 Apr 2011 22:37:05 +0000 (00:37 +0200)]
s3-smbd: avoid using pipes_struct when only session_info is needed.

Guenther
(cherry picked from commit 61cd1067efacd91e22b4acbdf0d1d92dc2efc162)

12 years agos3-printing: include ../librpc/ndr/libndr.h in ads printing.
Günther Deschner [Fri, 29 Apr 2011 22:40:28 +0000 (00:40 +0200)]
s3-printing: include ../librpc/ndr/libndr.h  in ads printing.

Guenther
(cherry picked from commit f7d6a0a1121c355a87dd113d2cb2a4985cdc06ce)

12 years agos3-winbindd: remove unused headers.
Günther Deschner [Mon, 2 May 2011 11:18:39 +0000 (13:18 +0200)]
s3-winbindd: remove unused headers.

Guenther
(cherry picked from commit 233779cce4f47799d5912f362faadcd564bbf096)

12 years agos3-system: move LOCK_ defines to lib/system.c
Günther Deschner [Tue, 3 May 2011 12:45:47 +0000 (14:45 +0200)]
s3-system: move LOCK_ defines to lib/system.c

Guenther
(cherry picked from commit 4fa2bac6e7ebe11447b535d9c8ec4348a2bbd39e)

12 years agos3-spoolss: remove another unused header.
Günther Deschner [Mon, 2 May 2011 11:25:19 +0000 (13:25 +0200)]
s3-spoolss: remove another unused header.

Guenther
(cherry picked from commit 1a561dedb9995f52411d2fed2c6e0cc1e37a85d1)

12 years agos3-util: move valid_share_pathname() to lib/util.c
Günther Deschner [Fri, 29 Apr 2011 20:34:56 +0000 (22:34 +0200)]
s3-util: move valid_share_pathname() to lib/util.c

Guenther
(cherry picked from commit c1f3ff734043082a9488c787324e76a37702f94d)

12 years agos3-rpc_server: remove proto of nonexisting function
Günther Deschner [Fri, 29 Apr 2011 20:43:59 +0000 (22:43 +0200)]
s3-rpc_server: remove proto of nonexisting function
(rpc_pipe_register_commands).

Guenther
(cherry picked from commit c6fe379a4637dd1d5db34cbe4f566d3913b21fd2)

12 years agos3-proto: remove remaining nss_info prototypes to nss_info.h
Günther Deschner [Fri, 29 Apr 2011 13:02:49 +0000 (15:02 +0200)]
s3-proto: remove remaining nss_info prototypes to nss_info.h

Guenther
(cherry picked from commit d6289641f5d421d188c37819f5fe8ceeb5a86aba)

12 years agos3: Document gpfs:syncio
Volker Lendecke [Mon, 16 May 2011 11:30:26 +0000 (13:30 +0200)]
s3: Document gpfs:syncio

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon May 16 15:00:40 CEST 2011 on sn-devel-104
(cherry picked from commit 3358d5a7cae1c2a99495c38069531fc87fe22b24)

12 years agogpfs.so: Add gpfs:syncio option
Gregor Beck [Thu, 5 May 2011 14:28:58 +0000 (16:28 +0200)]
gpfs.so: Add gpfs:syncio option

This enables optimizations for shared file access on gpfs
(cherry picked from commit 2ddfbbbdba0003fda85f2d1c0be87ceca2586e5d)

12 years agos3:libsmb convert user-specified domain to uppercase
Christian Ambach [Fri, 6 May 2011 11:16:26 +0000 (13:16 +0200)]
s3:libsmb convert user-specified domain to uppercase

with client ntlmv2 auth = yes, there is a small difference between
using smbclient -U user\domain and smbclient -U user -W domain
if domain is provided in lowercase

using -W will uppercase the given parameter, while picking the
domain name from -U will not convert it to uppercase and this
leads to failing NTLMv2 authentication

with this patch, there is no difference between
smbclient -U domain\user and smbclient -U user -W domain any more

Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Mon May 16 11:42:55 CEST 2011 on sn-devel-104

12 years agolibcli/: Fix prototypes for all functions.(cherry picked from commit fa387825e2a4563f...
Jelmer Vernooij [Fri, 18 Mar 2011 23:45:56 +0000 (00:45 +0100)]
libcli/: Fix prototypes for all functions.(cherry picked from commit fa387825e2a4563ff85267848d8e9d206bf6db96)

12 years agoMore const compiler warning fixes.
Jeremy Allison [Thu, 5 May 2011 18:29:01 +0000 (11:29 -0700)]
More const compiler warning fixes.
(cherry picked from commit 9efea96d16a9f9526669e7d9288902a15d0ee549)

12 years agos3-net: fix potential crash bug in display_print_driver3().
Günther Deschner [Fri, 13 May 2011 13:03:59 +0000 (15:03 +0200)]
s3-net: fix potential crash bug in display_print_driver3().

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri May 13 18:49:06 CEST 2011 on sn-devel-104
(cherry picked from commit 3d100216b84f4f25c3e761741eda2cc134957e96)

12 years agos3: Fix return check in nss_wins
Volker Lendecke [Sun, 15 May 2011 21:26:10 +0000 (23:26 +0200)]
s3: Fix return check in nss_wins

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon May 16 00:30:42 CEST 2011 on sn-devel-104
(cherry picked from commit 068f847fe2682ab6e356db7b9ae6151f82605f0e)

12 years agoWHATSNEW: Add changes since pre3.
Karolin Seeger [Sun, 15 May 2011 18:13:36 +0000 (20:13 +0200)]
WHATSNEW: Add changes since pre3.

Karolin

12 years agos3: Paranoia in smbsock_connect_state_destructor
Volker Lendecke [Sat, 14 May 2011 11:15:19 +0000 (13:15 +0200)]
s3: Paranoia in smbsock_connect_state_destructor

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat May 14 14:19:01 CEST 2011 on sn-devel-104
(cherry picked from commit f1cdce6c135574bd0552f1e368c9b47daf633c73)

12 years agos3:build: install libtdb with full version number instead of only SO version
Michael Adam [Fri, 6 May 2011 15:10:13 +0000 (17:10 +0200)]
s3:build: install libtdb with full version number instead of only SO version

(cherry picked from commit 5bcc0b2138b60fcecea94093ca43aaca4bc4d4ec)

12 years agos3:build: install libtalloc with full version number instead of only SO version
Michael Adam [Fri, 6 May 2011 15:10:13 +0000 (17:10 +0200)]
s3:build: install libtalloc with full version number instead of only SO version
(cherry picked from commit 4acb8c3f5976c5496aa666a52cd96739836ced2a)

12 years agos3:build: build libtalloc.so.$VERSION with full version number instead only SO version
Michael Adam [Fri, 6 May 2011 15:00:32 +0000 (17:00 +0200)]
s3:build: build libtalloc.so.$VERSION with full version number instead only SO version
(cherry picked from commit d04efc703ba0f195fcef832a30b27a160a787413)

12 years agos3:build: build libtdb.so.$VERSION with full version number instead only SO version
Michael Adam [Fri, 6 May 2011 15:00:32 +0000 (17:00 +0200)]
s3:build: build libtdb.so.$VERSION with full version number instead only SO version
(cherry picked from commit 9c76fdd80c93ec23099987b1559f3a3f0f7b6ca5)

12 years agos3:build: link libtdb as shared lib if using shared libs at all
Michael Adam [Fri, 6 May 2011 14:43:31 +0000 (16:43 +0200)]
s3:build: link libtdb as shared lib if using shared libs at all
(cherry picked from commit 3f222513cc99b7ce048bcdaa8cc10f7b91616904)

12 years agos3:build: determine full version of libtdb for the samba build
Michael Adam [Fri, 6 May 2011 14:42:53 +0000 (16:42 +0200)]
s3:build: determine full version of libtdb for the samba build
(cherry picked from commit 23637b5789a43fe75bb4eadabd33fb321272b42b)

12 years agos3:build: link libtalloc as shared lib if using shared libs at all
Michael Adam [Fri, 6 May 2011 14:42:07 +0000 (16:42 +0200)]
s3:build: link libtalloc as shared lib if using shared libs at all
(cherry picked from commit 6c300ec4b51bfd57837d193f0b17b60cb152fc27)