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

598 Commits

Author SHA1 Message Date
Lars Müller
dc1246e4d4 r8641: Fix bug #2262. Now we accept freebsd 5 till 9 as suggested by Timur
Bakeyev.
(This used to be commit d395ba2d40)
2007-10-10 11:00:13 -05:00
Gerald Carter
f5bf5765af r8510: Don't include the valgrind headers on 64bit linux systems.
Several incarnations of gcc bork with

Compiling dynconfig.c
/tmp/ccXd94O5.s: Assembler messages:
/tmp/ccXd94O5.s:1202: Error: suffix or operands invalid for `mov'
/tmp/ccXd94O5.s:1289: Error: suffix or operands invalid for `mov'`

Thanks to Bent Vangli for the the leg work and suggestions.
(This used to be commit 318fe7ba00)
2007-10-10 11:00:07 -05:00
Lars Müller
3ddc4877bd r8151: Add support to create position independent executable (PIE) code if the
compiler supports it.

We have to compile with -fPIE and not -fpie.  Else ppc and s390(x) will
fail (to small GOT).

It's possible to disable configure's PIE detection with --disable-pie
(This used to be commit 07845bb4c5)
2007-10-10 10:58:12 -05:00
Günther Deschner
3922667cbe r7992: Adding PADL's idmap_ad plugin (taken from the latest
xad_oss_plugins-tarball).

Guenther
(This used to be commit 1d59841c99)
2007-10-10 10:58:07 -05:00
Jeremy Allison
15c6ae15c8 r7957: Added aio configure support. Jerry told me to :-).
Jeremy.
(This used to be commit 5b5052c042)
2007-10-10 10:58:04 -05:00
Gerald Carter
74a98c6072 r7335: patch from Joerg Sonnenberger <joerg@britannica.bec.de> to fix dragonfly detection
(This used to be commit d80ae98d9e)
2007-10-10 10:57:06 -05:00
Gerald Carter
f24d88cf9d r7139: trying to reduce the number of diffs between trunk and 3.0; changing version to 3.0.20pre1
(This used to be commit 9727d05241)
2007-10-10 10:57:02 -05:00
Jeremy Allison
d101da235b r6822: Use chsize if we don't have ftruncate. From Steven Edwards <steven_ed4153@yahoo.com>.
Jeremy.
(This used to be commit 2f78ba5ea7)
2007-10-10 10:56:55 -05:00
Derrell Lipman
ec495efbf1 r6757: test for existence of sys/un.h was missing, thus AF_LOCAL support was not found
(This used to be commit ea63401751)
2007-10-10 10:56:53 -05:00
Volker Lendecke
63dacdf65a r6651: It's not the smartest thing in the world to #define _SAMBA_BUILD_ in a file
that is only included if _SAMBA_BUILD_ is defined...

Let's see how far this gets us.

Volker
(This used to be commit 563275b35f)
2007-10-10 10:56:49 -05:00
Jelmer Vernooij
2d1e1f7e2e r6570: Add socket_wrapper library to 3.0. Can be enabled by passing
--enable-socket-wrapper to configure
(This used to be commit 9c6cdd23ea)
2007-10-10 10:56:45 -05:00
Tim Potter
a7bdbf13e9 r6411: Remove configure check for FTRUNCATE_NEEDS_ROOT as it's not actually
used anywhere in the code anymore.  Bugzilla 2625.
(This used to be commit 6a50b304e7)
2007-10-10 10:56:40 -05:00
Herb Lewis
5a72f0da1d r6318: don't include smbwrapper stuff unless asked for
(This used to be commit ce38ead0fc)
2007-10-10 10:56:36 -05:00
Jeremy Allison
8abd17fe1c r6253: Add FreeBSD EA API support. Bug #2576 - patch donated by Timur Bakeyev <timur@com.bat.ru>
Jeremy.
(This used to be commit 059a2e30c9)
2007-10-10 10:56:32 -05:00
Derrell Lipman
9840db418b r6149: Fixes bugs #2498 and 2484.
1. using smbc_getxattr() et al, one may now request all access control
   entities in the ACL without getting all other NT attributes.
2. added the ability to exclude specified attributes from the result set
   provided by smbc_getxattr() et al, when requesting all attributes,
   all NT attributes, or all DOS attributes.
3. eliminated all compiler warnings, including when --enable-developer
   compiler flags are in use.  removed -Wcast-qual flag from list, as that
   is specifically to force warnings in the case of casting away qualifiers.

Note: In the process of eliminating compiler warnings, a few nasties were
      discovered.  In the file libads/sasl.c, PRIVATE kerberos interfaces
      are being used; and in libsmb/clikrb5.c, both PRIAVE and DEPRECATED
      kerberos interfaces are being used.  Someone who knows kerberos
      should look at these and determine if there is an alternate method
      of accomplishing the task.
(This used to be commit 994694f7f2)
2007-10-10 10:56:24 -05:00
Gerald Carter
78a3af6233 r6062: work around autoconf setting the CFLAGS="-g -O2" by default in AC_CACHE_CHECK
(This used to be commit 605dd5b97c)
2007-10-10 10:56:19 -05:00
Gerald Carter
5d1cb8e79e r6014: rather large change set....
pulling back all recent rpc changes from trunk into
3.0.  I've tested a compile and so don't think I've missed
any files.  But if so, just mail me and I'll clean backup
in a couple of hours.

Changes include \winreg, \eventlog, \svcctl, and
general parse_misc.c updates.

I am planning on bracketing the event code with an
#ifdef ENABLE_EVENTLOG until I finish merging Marcin's
changes (very soon).
(This used to be commit 4e0ac63c36)
2007-10-10 10:56:15 -05:00
Gerald Carter
93e04e941e r5961: final round of compiler warning fixes based on feedback from Jason Mader
(This used to be commit 9e77da9320)
2007-10-10 10:56:13 -05:00
Jelmer Vernooij
b62fae5edc r5915: Remove --with-manpages-languages= from configure (we only have them in one
lanuage, English, at the moment). Fixes #2261. If other languages
might are added in the future, this parameter will still not be needed.
(This used to be commit d41e790b4b)
2007-10-10 10:56:08 -05:00
Volker Lendecke
eb200fcdda r5880: From the comment....
* Implement a fixed mapping of forbidden NT characters in filenames that are
 * used a lot by the CAD package Catia.
 *
 * Yes, this a BAD BAD UGLY INCOMPLETE hack, but it helps quite some people
 * out there. Catia V4 on AIX uses characters like "<*$ a *lot*, all forbidden
 * under Windows...

Volker
(This used to be commit 8c0148df81)
2007-10-10 10:56:06 -05:00
Jeremy Allison
a5f84481e3 r5655: Added support for Novell NDS universal password. Code donated by
Vince Brimhall <vbrimhall@novell.com> - slight tidyup by me to
use Samba conventions.
Vince - thanks a *lot* for this code - please test to make sure
I haven't messed anything up.
Jeremy.
(This used to be commit 6f5ea963ab)
2007-10-10 10:55:54 -05:00
Tim Potter
85b094801e r5645: Add an autoconf test for -Wdeclaration-after-statement so we don't add it
to the configure.developer CFLAGS if it's not supported.
(This used to be commit ce0dedea8d)
2007-10-10 10:55:53 -05:00
Jeremy Allison
02fdabc2a7 r5636: Re-add the allocation size - parameterized by share as
"allocation roundup size", by default set as 1Mb. From
advice by BlueArc about Windows client behaviour. VC++
people can set this to zero to turn it off.
Jeremy.
(This used to be commit 833ca10177)
2007-10-10 10:55:52 -05:00
Tim Potter
8193036e61 r5612: Add -Wdeclaration-after-statement to CFLAGS for --enable-developer.
(This used to be commit f952da9efb)
2007-10-10 10:55:50 -05:00
Gerald Carter
b75ebde786 r5159: BUG 2262: add support to detect *freebsd6* (same as *freebsd5* currently)
(This used to be commit d6c7de2408)
2007-10-10 10:55:30 -05:00
Gerald Carter
6c6e231f15 r5157: BUG 2266: conditionally include rpc/nettype.h to work around missing header onf FreeBSD4
(This used to be commit 314da60473)
2007-10-10 10:55:30 -05:00
Günther Deschner
446a2107e6 r4963: It is actually a very bad idea to use KRB5_CONFIG in the
configure-checks (At least Heimdal uses KRB5_CONFIG for locating it's
configuration-file (usually /etc/krb5.conf)). Renaming it to KRB5CONFIG
prevents configure-checks that use heimdal-libs from segfaulting while
the lib reads the krb5-config binary as a configuration file...

Vendors that used the KRB5_CONFIG-variable to let configure find a
custom krb5-config binary have to use KRB5CONFIG now.

Guenther
(This used to be commit 95edb3c67f)
2007-10-10 10:55:09 -05:00
Gerald Carter
89a96c9c65 r4823: remove -O1 from --with-developer
(This used to be commit a1fb1cb019)
2007-10-10 10:53:56 -05:00
Jeremy Allison
c057e4591b r4581: From Derrell.Lipman@UnwiredUniverse.com. Use nanosleep instead of select
when we have it in smb_msleep.
Jeremy.
(This used to be commit 465c207ffb)
2007-10-10 10:53:48 -05:00
Jeremy Allison
be60bf6447 r4296: Patch from William Jojo <jojowil@hvcc.edu> to fix HPUX sendfile and add
configure.in tests and code for sendfile on AIX.
Jeremy.
(This used to be commit f08aceb988)
2007-10-10 10:53:42 -05:00
Gerald Carter
dc42a6c3c4 r3925: patch from Thomas Bork <tombork@web.de> to fix configure.in with GNU ld versions that don't output a date string in the --version
(This used to be commit 3bbae21dc9)
2007-10-10 10:53:24 -05:00
Günther Deschner
aa077290fc r3868: Fix reverted logic of detecting HAVE_WRFILE_KEYTAB (Bugzilla 2059)
Guenther
(This used to be commit 8d987d2f38)
2007-10-10 10:53:22 -05:00
Jeremy Allison
d956222083 r3862: Fix from Lars Müller <lmuelle@suse.de>, check for HAVE_WRFILE_KEYTAB
was inverted.
Jeremy.
(This used to be commit 6a97998068)
2007-10-10 10:53:21 -05:00
Volker Lendecke
fd67906417 r3850: I get the impression that some developers here are using gcc 3.4. This one
only warns you about possibly uninitialized variables if you have at least
-O1.

Volker
(This used to be commit 7cd12794a3)
2007-10-10 10:53:20 -05:00
Jeremy Allison
8ea9237d82 r3538: Fix the build with the latest Heimdal code.
Jeremy.
(This used to be commit 34275bae78)
2007-10-10 10:53:09 -05:00
Jeremy Allison
37117a1014 r3451: Finish off kerberos salting patch. Needs testing !
Jeremy.
(This used to be commit ff4cb6b5e8)
2007-10-10 10:53:07 -05:00
Gerald Carter
792b6ef511 r3417: BUG 350: patch from Matt Selsky <selsky@columbia.edu> to use autoconf feature preopcessing header file only (3 problematic headers on solaris)
(This used to be commit b4da6bd0f1)
2007-10-10 10:53:06 -05:00
Jeremy Allison
b57feea6d3 r3345: More MIT/Heimdal tests for comparing enctypes now.
Jeremy.
(This used to be commit eefb911d0c)
2007-10-10 10:53:05 -05:00
Jeremy Allison
13542c7b50 r3342: More MIT/Heimdal fixes to allow an enctype to be explicitly set in a krb5_creds
struct.
Jeremy.
(This used to be commit c9b8049012)
2007-10-10 10:53:05 -05:00
Richard Sharpe
e53aa4700f r3292: A fix from Narayana Pattipati <narayana[dot]pattipati[at]wipro\dotty/com> for
Solaris to ensure we distinguish properly between 5.1 and 5.10.
(This used to be commit 96baa5bb6c)
2007-10-10 10:53:04 -05:00
Günther Deschner
94bfc6ff0f r3145: Add experimental idmap_rid-Plugin.
Written by Sumit Bose <sbose@suse.de> and myself a while ago.

idmap_rid does a direct, static mapping between RIDs and UIDs/GIDs using
the idmap-range as offset. It does thus allow to have a unified mapping
over several winbindd-systems without having the need of a central
LDAP-Server (and all related dependencies and problems this solution can
bring).

Compile:
./configure --with-shared-modules=idmap_rid

Usage:
        idmap backend = idmap_rid

idmp_rid does even allow you to have multiple mappings (for trusted
domains). This is a rather problemtic feature and will be turned off by
default rather soon. The problem is that ranges can quickly overlap when
not measured with caution.

        idmap backend = idmap_rid:"MYDOMAIN=1000-9999 OTHER=10000-19999"

Will valgrind idmap_rid later today and fix a couple of things.

Guenther
(This used to be commit 49a238bd37)
2007-10-10 10:53:02 -05:00
Richard Sharpe
ce873b76c8 r2905: Apply the patch for bug #1822. Add -D_REENTRANT to CPPFLAGS and -lthread
to LDFLAGS.

Patch supplied by Sean McGrath ...
(This used to be commit d704272b0a)
2007-10-10 10:52:56 -05:00
Tim Potter
f08b3e2e25 r2894: Certain versions of GNU ld the default is not to have the
--allow-shlib-undefined flag defined.  This causes a stackload of
warnings when building modules.

Fix by Michel Gravey which closes bugzilla #1776.
(This used to be commit ad53c55513)
2007-10-10 10:52:55 -05:00
Tim Potter
02c9b46fab r2759: Fix for winbindd on AIX 5.1. Apparently it doesn't have as many methods
in struct secmethod_table as AIX 5.2.  Patch from The Written Word.
(This used to be commit 4f8496ad62)
2007-10-10 10:52:51 -05:00
Jeremy Allison
39efdab4c1 r2708: Don't look for bzero, we don't use it.
Samba4 torture tester treates maxentries = 0 as maxentries ==1.
Jeremy.
(This used to be commit 38f3d3e263)
2007-10-10 10:52:49 -05:00
Tim Potter
73d82994fb r2453: I think this is the last lot of fixes to get shared libraries working on
HPUX.  This is Richard Allen's suggestion to get HPUX to use cc instead of
ld.

Also he added some missing $(DYNEXP) on link lines and removed the definition
of $(LINK) as it is no longer used in the Makefile.
(This used to be commit 9481f2a79e)
2007-10-10 10:52:44 -05:00
Tim Potter
3a6c8a8ae7 r2338: Remove lonely looking definition of DYNEXP for HPUX in the configure
"CPPFLAG settings for strange OS's section".  DYNEXP should only be
set in the shared library configure section.
(This used to be commit 8d00f7310c)
2007-10-10 10:52:40 -05:00
Tim Potter
defc3d82e7 r2334: Update LDSHFLAGS for HPUX as -Wl is not necessary as we are invoking LD
directly.  Should fix #1731.
(This used to be commit 9f241a8f2a)
2007-10-10 10:52:39 -05:00
Tim Potter
f9ebee99a7 r2263: When testing whether building shared libraries actually works, use
$SHLD and $LDSHFLAGS instead of $CC, $CPPFLAGS and $CFLAGS as this is
more likely to actually work.  Bugzilla #1731.

I'm checking this in to 3.0 so it can hit the build farm and flush out
any problems with other architectures.  With a bit of luck this should
go in to Samba 3.0.8.
(This used to be commit a754f29ef8)
2007-10-10 10:52:38 -05:00
Tim Potter
12c03ce05f r2245: Typo fix from trunk.
(This used to be commit 93ddf001e3)
2007-10-10 10:52:37 -05:00