1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-31 01:48:16 +03:00

896 Commits

Author SHA1 Message Date
Michael Adam
5721a511d8 Fix a typo.
Michael
2007-11-05 15:16:11 +01:00
Gerald (Jerry) Carter
10af752391 Fix build breakage when not specifying --with-fhs.
Ensure that CODEPAGEDIR, STATEDIR, and CACHEDIR have values.
2007-11-02 14:16:06 -04:00
Gerald (Jerry) Carter
b7d2fadbef 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.
2007-11-01 13:00:10 -04:00
Michael Adam
6913536064 Enable building the zfsacl VFS module by specifying
"--with-shared-modules=vfs_zfsacl" on the configure command line.

Michael
2007-11-01 14:24:27 +01:00
Andrew Tridgell
8b19cb17b9 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 2007-10-23 20:43:27 +10:00
James Peach
1eddefa72c Reorder pthread mutex check so that it doesn't output its result
in the middle of the output for the winbind nss check.
2007-10-22 22:03:40 -07:00
Gerald (Jerry) Carter
620785df4e 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.
2007-10-19 13:09:26 -07:00
Gerald (Jerry) Carter
641d0968da 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.
2007-10-19 13:09:00 -07:00
Stefan Metzmacher
50d5eec508 remove configure checks which are now in libreplace
metze
2007-10-18 10:55:59 +02:00
Volker Lendecke
483cf289c8 Fix get_interfaces detection
During configure, we don't have config.h around yet, and we need strlcpy now.
2007-10-14 13:45:02 +02:00
Guenther Deschner
fbe5edec37 Merge commit 'origin/v3-2-test' into my_branch 2007-10-11 15:18:50 +02:00
Guenther Deschner
6ae4066bbb Rename krb5 locator plugin to "winbind_krb5_locator".
Guenther
2007-10-11 15:12:12 +02:00
Stefan Metzmacher
1bf4c7fb20 prepare the mkversion.sh infrastructure for git branches in the build-farm
metze
2007-10-11 12:27:38 +02:00
Gerald (Jerry) Carter
5c6c8e1fe9 [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch. 2007-10-10 15:34:30 -05:00
Jelmer Vernooij
8c1669997c r25557: merge libreplace fixes from samba4 2007-10-10 12:31:13 -05:00
Jeremy Allison
9fe14b5a78 r25511: Fix sockaddr_in6 detection.
Jeremy.
2007-10-10 12:31:11 -05:00
Jeremy Allison
4cf17df5ca r25507: Fix definition of struct sockaddr_storage if
struct sockaddr_in6 is defined.
Jeremy.
2007-10-10 12:31:11 -05:00
Jeremy Allison
760d993340 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.
2007-10-10 12:31:10 -05:00
Jelmer Vernooij
d05bf1fbee r25494: Sanity check --with-samba4srcdir argument. 2007-10-10 12:31:09 -05:00
Jeremy Allison
2cab825634 r25487: Try fix the build - fix socklen_t and sa_family_t.
Jeremy.
2007-10-10 12:31:08 -05:00
Jeremy Allison
fffdad5285 r25476: Finally fix up new interface detection code :-).
Jeremy.
2007-10-10 12:31:07 -05:00
Jeremy Allison
327875182c 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.
2007-10-10 12:31:06 -05:00
Jeremy Allison
ab2e190859 r25445: Fix IPV6 detection.
Jeremy.
2007-10-10 12:31:05 -05:00
James Peach
ee1eba2855 r25432: Merge module linking changes from SAMBA_3_2 to SAMBA_3_2_0 to reduce
spurious tree differences.
2007-10-10 12:31:05 -05:00
Jeremy Allison
86b47d267d r25431: Add detection for IPv6 support.
Jeremy.
2007-10-10 12:31:05 -05:00
Jelmer Vernooij
bdc831ddb3 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. 2007-10-10 12:31:03 -05:00
Jeremy Allison
cc19c0ace4 r25406: Make the Linux nss client code thread-safe.
Fix originally inspired from code from boyang <yyyeer.bo@gmail.com>.
Jeremy.
2007-10-10 12:31:03 -05:00
Stefan Metzmacher
b09024928d 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
2007-10-10 12:30:54 -05:00
Stefan Metzmacher
00ea030e67 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
2007-10-10 12:30:53 -05:00
Stefan Metzmacher
2e5f478165 r25179: fix libunwind detection on x86 based hosts
we need -lunwind-x86 not -lunwind-i686

metze
2007-10-10 12:30:49 -05:00
Stefan Metzmacher
3ac7566ae1 r25154: move winbindd code into winbindd/
metze
2007-10-10 12:30:46 -05:00
Stefan Metzmacher
b3ee9adf28 r25128: _XOPEN_SOURCE_EXTENDED and socklen_t are always provided by libreplace
metze
2007-10-10 12:30:42 -05:00
Günther Deschner
28f9b8d98d r24838: Now for real: build the locator, if we can.
Guenther
2007-10-10 12:30:26 -05:00
Volker Lendecke
191e1ef840 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.
2007-10-10 12:30:14 -05:00
Stefan Metzmacher
81e5afc363 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
2007-10-10 12:29:25 -05:00
Stefan Metzmacher
30f9171cca 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
2007-10-10 12:29:25 -05:00
Stefan Metzmacher
8455c65be3 r23900: LDAP_OPT_SOCKBUF doesn't exists on all platforms
metze
2007-10-10 12:28:39 -05:00
Stefan Metzmacher
873eaff8fe r23898: rename HAVE_ADS_SASL_WRAPPING -> HAVE_LDAP_SASL_WRAPPING
metze
2007-10-10 12:28:39 -05:00
Stefan Metzmacher
a3b97cdce7 r23893: add dummy callbacks for LDAP SASL wrapping,
they're not used yet...

metze
2007-10-10 12:28:39 -05:00
Andrew Tridgell
cb435543f8 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.
2007-10-10 12:28:24 -05:00
Gerald Carter
c42cf731b4 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.
2007-10-10 12:23:46 -05:00
Michael Adam
d90aa8368a r23536: Fix a typo. James: Please check!
Michael
2007-10-10 12:23:26 -05:00
Gerald Carter
13d78ace49 r23497: Disable building of libaddns (no defined API) and
libmsrpc (unmaintained).
2007-10-10 12:23:22 -05:00
James Peach
4cdc7eaac7 r23480: Fix DEVELOPER_CFLAGS quoting. 2007-10-10 12:23:20 -05:00
James Peach
4b392a76eb 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.
2007-10-10 12:23:20 -05:00
Volker Lendecke
15553d6327 r23410: Merge the core of the cluster code.
I'm 100% certain I've forgotten to merge something, but the main code
should be in. It's mainly in dbwrap_ctdb.c, ctdbd_conn.c and
messages_ctdbd.c.

There should be no changes to the non-cluster case, it does survive make
test on my laptop.

It survives some very basic tests with ctdbd enables, I did not do the
full test suite for clusters yet.

Phew...

Volker
2007-10-10 12:23:14 -05:00
James Peach
b5cb21e951 r23398: Support membership of >16 groups on Darwin by making sure we opt in to the
dynamic group resolution mechanism when switching UNIX credentials.
2007-10-10 12:23:13 -05:00
Michael Adam
f275991c2f r23389: Disabling ACL support on Darwin/Mac OS X for now.
Current configure check detects posix ACL support
but compile of modules/vfs_posixacl.c fails due
to missing defines in sys/acl.h:
ACL_USER, ACL_USER_OBJ, ACL_GROUP, ACL_GROUP_OBJ, ACL_OTHER,
ACL_MASK, ACL_WRITE, ACL_READ

It has to be investigated, if this can be fixed within
the posixacl vfs module or if we need a darwinacl module.

Michael
2007-10-10 12:23:12 -05:00
Michael Adam
234b32c7bc r23387: 1. This unifies the POSIX ACL detection code:
Linux, FreeBSD and other (which?) ACL implementations
are now checked in the same block instead of in three
separate blocks. This was inspired by Timur Bakeyev
in Bug #4543. Since bugzilla is currently unavailable
this patch is probably slightly different from Timurs
original patch. This should finally fix Bug #4543.

2. The default of the --with-acl-support configure
option is changed to "auto" (which is actually the
same as "yes"). So configure tries to detect acl
support by default. This had been discussed with
Metze and others.

Michael
2007-10-10 12:23:12 -05:00
James Peach
d47d1a44e7 r23352: Don't generate stamp-h. AFAICT it is never used. 2007-10-10 12:23:09 -05:00