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

901 Commits

Author SHA1 Message Date
Michael Adam
f5b071e3b0 Move check for broken system capabilites.h headers to lib/replace.
Michael
(This used to be commit 8ec10c4ab1)
2007-12-03 16:54:12 +01:00
David Losada Carballo
febaaae202 Extend commit module to help with NFS quotas.
Add "commit on eof" and "commit past eof" modes. Patch from David
Losada Carballo with some modifications during the merge.
(This used to be commit 12eee4f7fe)
2007-11-20 16:45:33 -08:00
James Peach
f8b9e720b2 Detect Heimdal Kerberos on OpenBSD 4.2.
Patch from Sean McCreary <samba-technical@mcwest.org>.
(This used to be commit 8b0bee7c76)
2007-11-18 13:56:19 -08:00
Michael Adam
6028176a39 Fix the build on RHEL5, when libcap-devel is installed.
The /usr/include/sys/capability.h defines _LINUX_TYPES_H
which prevents /usr/include/linux/types.h from being parsed
(when included afterwards). Thus certain types are undefined
that are for instance needed in /usr/include/linux/dqblk_xfs.h.
This breaks the build of lib/sysquotas_xfs.c.

This commit adds a configure check and a workaround for this.

Michael
(This used to be commit 11bcdf780e)
2007-11-16 00:45:59 +01:00
Stefan Metzmacher
8322aa6977 use nss_wrapper code in samba3 when --enable-nss-wrapper is given
metze
(This used to be commit 9682792962)
2007-11-09 09:52:58 +01:00
Michael Adam
8f13ba4568 Fix a typo.
Michael
(This used to be commit 5721a511d8)
2007-11-05 15:16:11 +01:00
Gerald (Jerry) Carter
7bbdc00545 Fix build breakage when not specifying --with-fhs.
Ensure that CODEPAGEDIR, STATEDIR, and CACHEDIR have values.
(This used to be commit 10af752391)
2007-11-02 14:16:06 -04:00
Gerald (Jerry) Carter
8132a7b98b Patch from Debian Samba package maintainers:
Patch 1 of 3:

- Patch 1 adds the new variables
- Patch 2 makes uses of them for files belonging to the "state" path
  and the "code pages" path
  This patch seemed more easily acceptable, which explains why we
  separated it from patch 3
- Patch 3 reassigns files to the "cache" path. Indeed all "debatable"
  changes have been moved to that one

The point is adding:

- a path for non discardable state data: basically all TDB files
  that may need to be backed up
- a path for shared data: mostly codepage stuff
- a path for cache data to host files such as
  browse.dat, printers.tbd, <printer>.tdb

All these are currently mixed in "libdir" (${prefix}/lib/samba by default).
The patch keeps these new paths to point to ${prefix}/lib/samba by default
and does therefore not change the software behaviour.  Used alone, it just
adds unused variables...so it can safely be used in sources without any
behaviour change and no impact on Samba developers work.
(This used to be commit b7d2fadbef)
2007-11-01 13:00:10 -04:00
Michael Adam
a7fab27208 Enable building the zfsacl VFS module by specifying
"--with-shared-modules=vfs_zfsacl" on the configure command line.

Michael
(This used to be commit 6913536064)
2007-11-01 14:24:27 +01:00
Andrew Tridgell
e5830c1365 added a syncops VFS module for filesystems which do not guarantee meta-data operations are immediately committed to disk in stable form. Essential for clustered Samba setups
(This used to be commit 8b19cb17b9)
2007-10-23 20:43:27 +10:00
James Peach
e5fe5a569f Reorder pthread mutex check so that it doesn't output its result
in the middle of the output for the winbind nss check.
(This used to be commit 1eddefa72c)
2007-10-22 22:03:40 -07:00
Gerald (Jerry) Carter
80b7bcb5fb Add test for "struct in6_addr" to the HAVE_IPV6 configure test.
Also make use of "if defined(HAVE_IPV6)" rather than testing for
AF_INET6 since this is not sufficient on HP-UX 11.11 to ensure
a working IPv6 implementation.
(This used to be commit 620785df4e)
2007-10-19 13:09:26 -07:00
Gerald (Jerry) Carter
61c4666a89 Move the test for the AIX specific interface code to the end.
This tests goes into an infinite loop on OS X so avoid it.
Probably should also be only conditionaly be run on AIX in the
first place.
(This used to be commit 641d0968da)
2007-10-19 13:09:00 -07:00
Stefan Metzmacher
dfd5323bda remove configure checks which are now in libreplace
metze
(This used to be commit 50d5eec508)
2007-10-18 10:55:59 +02:00
Volker Lendecke
5b53d34626 Fix get_interfaces detection
During configure, we don't have config.h around yet, and we need strlcpy now.
(This used to be commit 483cf289c8)
2007-10-14 13:45:02 +02:00
Guenther Deschner
89d33395e3 Merge commit 'origin/v3-2-test' into my_branch
(This used to be commit fbe5edec37)
2007-10-11 15:18:50 +02:00
Guenther Deschner
6b441e9e74 Rename krb5 locator plugin to "winbind_krb5_locator".
Guenther
(This used to be commit 6ae4066bbb)
2007-10-11 15:12:12 +02:00
Stefan Metzmacher
edfcfefa37 prepare the mkversion.sh infrastructure for git branches in the build-farm
metze
(This used to be commit 1bf4c7fb20)
2007-10-11 12:27:38 +02:00
Gerald (Jerry) Carter
e5a951325a [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
(This used to be commit 5c6c8e1fe9)
2007-10-10 15:34:30 -05:00
Jelmer Vernooij
d154a0d74b r25557: merge libreplace fixes from samba4
(This used to be commit 8c1669997c)
2007-10-10 12:31:13 -05:00
Jeremy Allison
4f2febdd03 r25511: Fix sockaddr_in6 detection.
Jeremy.
(This used to be commit 9fe14b5a78)
2007-10-10 12:31:11 -05:00
Jeremy Allison
b5725f4fec r25507: Fix definition of struct sockaddr_storage if
struct sockaddr_in6 is defined.
Jeremy.
(This used to be commit 4cf17df5ca)
2007-10-10 12:31:11 -05:00
Jeremy Allison
941544a951 r25505: Add a replacement (IPv4 only) implementation of getaddrinfo/freeaddrinfo
under the 2 clause *BSD license for future use in IPv6 code. Original
code was from PostgreSQL and I've maintained their license even though
I've rewritten large parts of it (I probably should donate this back
to them).
Jeremy.
(This used to be commit 760d993340)
2007-10-10 12:31:10 -05:00
Jelmer Vernooij
33c0cebd75 r25494: Sanity check --with-samba4srcdir argument.
(This used to be commit d05bf1fbee)
2007-10-10 12:31:09 -05:00
Jeremy Allison
334b288831 r25487: Try fix the build - fix socklen_t and sa_family_t.
Jeremy.
(This used to be commit 2cab825634)
2007-10-10 12:31:08 -05:00
Jeremy Allison
e817616a0e r25476: Finally fix up new interface detection code :-).
Jeremy.
(This used to be commit fffdad5285)
2007-10-10 12:31:07 -05:00
Jeremy Allison
3fbd1ae54c r25472: Fix the interfaces code to detect IPv6 interfaces, using the
new standard getifaddrs() and freeifaddrs() interfaces. Currently
we only return IPv4 af_families. Needs fixing for binds to IPv6
but this has to be careful work.
Jeremy.
(This used to be commit 327875182c)
2007-10-10 12:31:06 -05:00
Jeremy Allison
82a549770e r25445: Fix IPV6 detection.
Jeremy.
(This used to be commit ab2e190859)
2007-10-10 12:31:05 -05:00
James Peach
f3cf737ff0 r25432: Merge module linking changes from SAMBA_3_2 to SAMBA_3_2_0 to reduce
spurious tree differences.
(This used to be commit ee1eba2855)
2007-10-10 12:31:05 -05:00
Jeremy Allison
96c4510c8d r25431: Add detection for IPv6 support.
Jeremy.
(This used to be commit 86b47d267d)
2007-10-10 12:31:05 -05:00
Jelmer Vernooij
679ef7b6ba r25415: Merge the 3.2-perltest branch that switches Samba 3.2 to use Samba 4's selftest code. See the mailing list for details.
(This used to be commit bdc831ddb3)
2007-10-10 12:31:03 -05:00
Jeremy Allison
58a9621904 r25406: Make the Linux nss client code thread-safe.
Fix originally inspired from code from boyang <yyyeer.bo@gmail.com>.
Jeremy.
(This used to be commit cc19c0ace4)
2007-10-10 12:31:03 -05:00
Stefan Metzmacher
d454fda242 r25248: According to the build-farm all this defines are not needed
for HPUX large file support.

But it would be nice if someone could verify that.

metze
(This used to be commit b09024928d)
2007-10-10 12:30:54 -05:00
Stefan Metzmacher
8d61da140a r25244: see what the build-farm says when we only use large file support
detection from libreplace...

It would be good if someone could test that on HPUX...

metze
(This used to be commit 00ea030e67)
2007-10-10 12:30:53 -05:00
Stefan Metzmacher
f82eb0fef6 r25179: fix libunwind detection on x86 based hosts
we need -lunwind-x86 not -lunwind-i686

metze
(This used to be commit 2e5f478165)
2007-10-10 12:30:49 -05:00
Stefan Metzmacher
28aa4bff8d r25154: move winbindd code into winbindd/
metze
(This used to be commit 3ac7566ae1)
2007-10-10 12:30:46 -05:00
Stefan Metzmacher
85d1b13fbe r25128: _XOPEN_SOURCE_EXTENDED and socklen_t are always provided by libreplace
metze
(This used to be commit b3ee9adf28)
2007-10-10 12:30:42 -05:00
Günther Deschner
1f0835c362 r24838: Now for real: build the locator, if we can.
Guenther
(This used to be commit 28f9b8d98d)
2007-10-10 12:30:26 -05:00
Volker Lendecke
5b9ecb5ae3 r24701: Fix the swat build
Swat has not been built by default for a while, so I did not notice that
the _ macro is actually used. Re-add the lang_msg_rotate function, this
time only to swat so that this is the only binary that has to take the
16k penalty.
(This used to be commit 191e1ef840)
2007-10-10 12:30:14 -05:00
Stefan Metzmacher
9342df7027 r24304: patch from Bjoern JAcke <bj@SerNet.DE>:
attached patches add EA support for Solaris. If no one disagrees, can
someone check this in please?

metze
(This used to be commit 81e5afc363)
2007-10-10 12:29:25 -05:00
Stefan Metzmacher
d68145a509 r24302: add a module that overloads the file_id_create VFS function
and alters the device id depending on the configured algorithm.

The algorithm is configured via "fileid:algorithm":
- "fsname" (default) uses a uint64 hash over the mount point
- "fsid" uses the fsid returned from statfs()

This is needed for "clustering = yes" on some clusterfilesystems

metze
(This used to be commit 30f9171cca)
2007-10-10 12:29:25 -05:00
Stefan Metzmacher
164f75efea r23900: LDAP_OPT_SOCKBUF doesn't exists on all platforms
metze
(This used to be commit 8455c65be3)
2007-10-10 12:28:39 -05:00
Stefan Metzmacher
77619f37a0 r23898: rename HAVE_ADS_SASL_WRAPPING -> HAVE_LDAP_SASL_WRAPPING
metze
(This used to be commit 873eaff8fe)
2007-10-10 12:28:39 -05:00
Stefan Metzmacher
57dd25cccb r23893: add dummy callbacks for LDAP SASL wrapping,
they're not used yet...

metze
(This used to be commit a3b97cdce7)
2007-10-10 12:28:39 -05:00
Andrew Tridgell
ef591178d0 r23786: Use linux/dqblk_xfs.h rather than a private copy of this header in the
Samba3 tree.

This is neater, plus it avoids the need to get legal approval from SGI
to use their GPLv2-only code under GPLv3.

If/when SGI legal sort things out, we could consider adding back this
header for very old systems where linux/dqblk_xfs.h is not available.
(This used to be commit cb435543f8)
2007-10-10 12:28:24 -05:00
Gerald Carter
3a246ac46b r23689: Squashed commit of the following:
commit 0d4bbd197198a94bf4e29e0ccd175a40a60097f3
Author: Gerald (Jerry) Carter <jerry@samba.org>
Date:   Mon Jul 2 20:08:19 2007 -0500

    Introduce GNU ld linker export-script for hiding non-public symbols
    in shared libraries.

    Based on initial patch from Julien Cristau <jcristau@debian.org>
    and suggestions from James Peach <jpeach@samba.org>.  Currently
    the libsmbsharemodes libraries still exports *.  Signed off on
    my Derrell as well.
(This used to be commit c42cf731b4)
2007-10-10 12:23:46 -05:00
Michael Adam
c015c69285 r23536: Fix a typo. James: Please check!
Michael
(This used to be commit d90aa8368a)
2007-10-10 12:23:26 -05:00
Gerald Carter
bca15dbc68 r23497: Disable building of libaddns (no defined API) and
libmsrpc (unmaintained).
(This used to be commit 13d78ace49)
2007-10-10 12:23:22 -05:00
James Peach
94f284e631 r23480: Fix DEVELOPER_CFLAGS quoting.
(This used to be commit 4cdc7eaac7)
2007-10-10 12:23:20 -05:00
James Peach
6e631e5fb5 r23478: Change the handling of the developer CFLAGS so that they are always
emited to the Makefile in the DEVELOPER_CFLAGS variable. This makes
it easy to turn developer mode on and off without waiting for
configure to run. The developer flags are only added to CFLAGS for
the --enable-developer and --enable-krb5developer cases.
(This used to be commit 4b392a76eb)
2007-10-10 12:23:20 -05:00