1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

1058 Commits

Author SHA1 Message Date
Rishi Srivatsavai
bf2c5e2bde Add smbclient support for basic mDNS browsing.
Patch from Rishi Srivatsavai (bugzilla #4150), with tallocification
and minor syle changes by me.
(This used to be commit db74b99d0ef1a60894c838b4c9d0d454db6cf620)
2007-12-17 22:09:09 -08:00
Jeremy Allison
5dbc4a23bc Added patch originally by Andreas Schneider <anschneider@suse.de>
to cause us to behave like Vista when looking for remote
machine principal. Modified by me.
Jeremy.
(This used to be commit d0e33840fb4cfc85990d3ee327428b0854a22722)
2007-12-15 23:22:25 -08:00
Alexander Bokovoy
733425f312 Fix codepagedir to follow predefined libdir when using FHS. Fixes x86_64 build.
(This used to be commit b8e582c9941d2466a403e476c52026f4b4201062)
2007-12-13 14:23:04 +03:00
James Peach
819a74ed8f Fix typo.
(This used to be commit c8468a1bb49535f0467e1a83b4c8bc5c8dce834e)
2007-12-12 22:12:10 -08:00
James Peach
fa8966690b Autoconf support for detecting DNS Service Discovery support.
Patch from Rishi Srivatsavai <rishisv@gmail.com>, with some
adaptations.
(This used to be commit 2dfe9525b9e6e7dcbac191c1fb6288e166d171e5)
2007-12-12 19:55:20 -08:00
James Peach
c553b6f7fa Make sure NULL is defined to the IPv6 test doesn't spuriously fail.
(This used to be commit 87c302e250aacc4d5d6a3cce3f134dd13fa457bf)
2007-12-09 14:00:25 -08:00
Igor Mammedov
44a59c41cf * Adds support for cifs.spnego helper into configure and Makefile.in
* Added checks for spnego prereq keyutils.h and kerberos in configure.in

Signed-off-by: Igor Mammedov <niallain@gmail.com>
(This used to be commit f802db70b8675df43fba892986203bbeac2d02f8)
2007-12-05 14:33:21 -05:00
Michael Adam
f5b071e3b0 Move check for broken system capabilites.h headers to lib/replace.
Michael
(This used to be commit 8ec10c4ab1aa890c9f03d34bd872c93ae5c4d84c)
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 12eee4f7fe27bb4ca376301b959dbfb918b7ba2d)
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 8b0bee7c7688a966777f502c97922d7ad40d841c)
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 11bcdf780e164659b89a66e24edc27e89da7619a)
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 96827929626a528bb3e1ec8366aef58c174d67e1)
2007-11-09 09:52:58 +01:00
Michael Adam
8f13ba4568 Fix a typo.
Michael
(This used to be commit 5721a511d8dd327717bcd9c2053c4bd08f01185c)
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 10af752391be51c7381a4eaca27f29e1f2a677b3)
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 b7d2fadbef044a89920da613b1aafc74a3d94e24)
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 69135360648e395eda29b15625b20a877e38bdd8)
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 8b19cb17b9ae9e1cd4a96df6e7dedb75aff7ee96)
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 1eddefa72cefd0c6836ddbe8eaef074ce732b0d9)
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 620785df4e57b72471ff0315e22e0d2f28a2b1a5)
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 641d0968da73dca24a3ddaf93451de1200d3c09b)
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 50d5eec508bd5b98b81825b4e20c06f698029fdf)
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 483cf289c884f48df43f2ddce86b05b9c3e84920)
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 fbe5edec375c99421d19af086c4f597e70c963b8)
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 6ae4066bbb59536852036394ffdb89121198a39f)
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 1bf4c7fb2012a81e0b4e3d601a4df42d1113f5ef)
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 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10 15:34:30 -05:00
Jelmer Vernooij
d154a0d74b r25557: merge libreplace fixes from samba4
(This used to be commit 8c1669997c53f0f7bfb9a794083afd01b131f676)
2007-10-10 12:31:13 -05:00
Jeremy Allison
4f2febdd03 r25511: Fix sockaddr_in6 detection.
Jeremy.
(This used to be commit 9fe14b5a78b0a9a9546fa07d184d0f320fb1a7be)
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 4cf17df5caeb2b0220f6a7dd82d5fed5aca56850)
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 760d993340a966269d71acfb7a6b5e4d3776ac5d)
2007-10-10 12:31:10 -05:00
Jelmer Vernooij
33c0cebd75 r25494: Sanity check --with-samba4srcdir argument.
(This used to be commit d05bf1fbeeb5504d3b372b03db1ab5fd535f7b2e)
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 2cab82563409eca79ac5f518a3dcb8cdbdcded7e)
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 fffdad52859b5a8bc5dd61912d80b93e8c030c8f)
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 327875182c9219aeba687e10aaea93546d9a70ea)
2007-10-10 12:31:06 -05:00
Jeremy Allison
82a549770e r25445: Fix IPV6 detection.
Jeremy.
(This used to be commit ab2e190859f2cc64c989f0d10195bfff3db12651)
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 ee1eba2855c7ee2d60ba7d354e6731da78cbd48e)
2007-10-10 12:31:05 -05:00
Jeremy Allison
96c4510c8d r25431: Add detection for IPv6 support.
Jeremy.
(This used to be commit 86b47d267d0eda4b972f1087be069ae5afda834e)
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 bdc831ddb3a860676c36bbd89e6f748946df68a1)
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 cc19c0ace43a3613f6290fa4bc4f68c964563743)
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 b09024928d036933a47e4f1c2e246426fb3792aa)
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 00ea030e67c519ebb69e5932f607b4ac6e834f0e)
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 2e5f4781652961d6369a64c48b92697c11262c51)
2007-10-10 12:30:49 -05:00
Stefan Metzmacher
28aa4bff8d r25154: move winbindd code into winbindd/
metze
(This used to be commit 3ac7566ae14c48ff9b0f6b232e0ec4b2f73df558)
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 b3ee9adf28ee8136528d0236a3a2c894c2223053)
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 28f9b8d98dabd9ba8e812ca01bcf4fc192fb5e44)
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 191e1ef840c293f8575cc0a3f3ffba2080431fae)
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 81e5afc363e1f0bdc4768c0f5c696f4152fe5b44)
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 30f9171cca3e4f523cde7dfc96096c32e5af50be)
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 8455c65be34186e73283bb60b1ef3441d0338d55)
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 873eaff8febb50f00f9dac64c57b2a22c16f4f9b)
2007-10-10 12:28:39 -05:00