summaryrefslogtreecommitdiff
path: root/source3/configure.in
AgeCommit message (Collapse)AuthorFilesLines
2004-01-22Fix for debian Bug#225328 by LaMont Jones <lamont@debian.org>, whereAndrew Bartlett1-0/+2
the failure of our LFS test caused the _GNU_SOURCE define not to be added, causeing strndup() not to be defined... I'll into when we really should define _GNU_SOURCE shortly, but the fix is correct anyway. Andrew Bartlett (This used to be commit aca07f33a2f3cca48b44ac92d3b1b35592ffadc7)
2004-01-15Fix for bug 905. Remove POBAD_CC as it doesn't seem to be applicableTim Potter1-3/+0
anymore. (This used to be commit 67d25f3de803f7e599c51cacd51367f124151d6b)
2004-01-14revert the cracklib changes until post 3.0.2Gerald Carter1-58/+0
(This used to be commit 6202e0fa727a4307f51bf42f5ced401a7c7b8214)
2004-01-14Finish adding cracklib support - this adds the configure test to enableAndrew Bartlett1-0/+58
it, on machines that actually have a working cracklib, for which we have the correct path to the dictionary. Andrew Bartlett (This used to be commit 17518018c0264d2a8e4afbc712a22ef4a1a00003)
2004-01-08This merges in my 'always use ADS' patch. Tested on a mix of NT and ADSAndrew Bartlett1-0/+1
domains, this patch ensures that we always use the ADS backend when security=ADS, and the remote server is capable. The routines used for this behaviour have been upgraded to modern Samba codeing standards. This is a change in behaviour for mixed mode domains, and if the trusted domain cannot be reached with our current krb5.conf file, we will show that domain as disconnected. This is in line with existing behaviour for native mode domains, and for our primary domain. As a consequence of testing this patch, I found that our kerberos error handling was well below par - we would often throw away useful error values. These changes move more routines to ADS_STATUS to return kerberos errors. Also found when valgrinding the setup, fix a few memory leaks. While sniffing the resultant connections, I noticed we would query our list of trusted domains twice - so I have reworked some of the code to avoid that. Andrew Bartlett (This used to be commit 7c34de8096b86d2869e7177420fe129bd0c7541d)
2004-01-07Fix from Justin Baugh <justin.baugh@request.com> for bugid #948 forJeremy Allison1-1/+4
FreeBSD winbindd. Jeremy. (This used to be commit 7c4d52014e4432c9bd430a8885f0c314312002d5)
2004-01-06XFS quota patch from Stefan Metzmacher <metze@metzemix.de>.Jeremy Allison1-4/+25
Jeremy. (This used to be commit cae5f158e583572436a2f4c20d919816d763f93d)
2004-01-06Correctly detect AFS headers on SuSE in /usr/include/afs/afs/Volker Lendecke1-6/+46
Volker (This used to be commit 50be537b19dc6a4c63a58b9c73e6ad354b7c0d89)
2004-01-05fix inverted check using krb5_kt_resolve() and HAVE_MEMORY_KEYTAB; bug 912Gerald Carter1-2/+2
(This used to be commit 134cf1d546cc46c8a907205ee7be7593cbb524b6)
2004-01-05Patch from Stefan (metze) Metzmacher <metze at metzemix.de> to revert to ↵Jeremy Allison1-34/+30
2.2.x quota methods. :-). "here's a patch which ports the samba 2.2 samba_linux_quota.h stuff to 3_0. This is needed because of so many broken quota files outthere. Please, test this with old, new kernels (strucr dqblk, struct mem_dqblk, and struct if_dqblk) , quota.user, aquota.user formats what is when a user is over soft quota and over hard quotas..." Jeremy. (This used to be commit 4350aa6ce6cfdaf71cdcfd2aebcdc9560fa7efcf)
2004-01-04- Put functions for generating SQL queries in pdb_sql.cJelmer Vernooij1-5/+12
- Add pgSQL backend (based on patch by Hamish Friedlander) - Use query generate functions from pdb_mysql and pdb_pgsql - Only pdb_pgsql.c needs to be changed whenever the fields in SAM_ACCOUNT change (This used to be commit 65ad2c02fd2bf36d535c279ad290ab81e39f6816)
2003-12-12Fix detection of elements in in-memory keytab code.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 05afc340862c3c7caeb9ede74ea1e9a57ee937ae)
2003-12-11fix bug that prevent --mandir from overriding the defaults given in the ↵Gerald Carter1-19/+0
--with-fhs macro (This used to be commit 58b97b91da409a299bf7dd97bc375479f65dba18)
2003-12-11Correctly detect in-memory krb5 keytab support. Fix for bug #863 fromJeremy Allison1-2/+2
gschafer@zip.com.au (Greg Schafer). Jeremy. (This used to be commit 583b96e867d2c2cafbfa9d03f33402d6d9d44191)
2003-12-09IRIX spinlock patch from James Peach <jpeach@sgi.com>.Jeremy Allison1-0/+8
Jeremy. (This used to be commit 1ae1987a002716e8aa0d4bc0dd68f580ad762e47)
2003-12-09working on packaging; also fixed some path issues in configure.in & Makefile.inGerald Carter1-2/+22
(This used to be commit 8f6cd36fa03edf75e8e3a806ab178d8563dea081)
2003-11-27Correct freebsd 5.1 support for winbind contributed by Aaron Collins.Tim Potter1-1/+4
Let the build farm chew on it for a bit. (This used to be commit 41e4b036dff0af7be69bf95ea3d64dfccd3a4b8e)
2003-11-26Patch from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> to addJeremy Allison1-13/+43
MacOSX (Darwin) specific charset module code. Also had to add AC_CHECK_CPP to configure.in (this took a *long* time to track down) to make autoconf work correctly on Fedora Core 1. Jeremy. (This used to be commit c51d974b18e31a38608a3837d3fee04a209f91c8)
2003-11-14fix more memory leaks in the LDAP backend code; patches from metzeGerald Carter1-2/+0
(This used to be commit e079c8842a24ff4f50483bea8ca6b11db4b2dc99)
2003-11-10Fix a problem with configure on *BSD systems. Make sure we add -liconv etcRichard Sharpe1-0/+2
to LDFLAGS. One of the problems with configure/autoconf is that there seems to be no separation of LDLFAGS etc in configure from the LDFLAGS it is building for the Makefile. (This used to be commit 63d7698208a0fc4dfd2e3158f5ccbb1b6d9a6baf)
2003-11-06A fix to allow configure to find iconv on a number of systems including thoseRichard Sharpe1-3/+10
that don't have such support in glibc. (This used to be commit de6d5f1d1025bec8991944060df50eb2602f7221)
2003-11-06patch from MORIYAMA Masayuki to save LDFLAGS during iconv detection; bug 570Gerald Carter1-0/+1
(This used to be commit 486f495ea7decb4abfdb4751ae124b036f3e5d16)
2003-11-06Undo last commit to get things building again.Tim Potter1-2/+4
(This used to be commit d3af6b443d9f52b007a1c022908d767edf238b9e)
2003-11-06Apply the patch to fix iconv detection for FreeBSD to the Samba 3.0.0 branchRichard Sharpe1-4/+2
as well. (This used to be commit 44be80e4883c8578b98ec02ac422c97229b063c5)
2003-11-03removing #include <compat.h> in hopes to avoid problems with apache header ↵Gerald Carter1-1/+1
files; will watch the build farm on this to make sure things don't blow up (This used to be commit e92583cecd79adea25caedd1599ac8f36733a923)
2003-11-03AC_CHECK_MEMBER seems to have problems for some versions of autoconf, at leastVolker Lendecke1-9/+23
autoconf-2.53 on SLES8 does not correctly find the keyblock. Volker (This used to be commit c4f36a250a5126dac0d2f6d395d75a2437c8e56d)
2003-11-02Tidy up calls to uname so as not to produce output on stderr ifTim Potter1-4/+4
the command line argument being called isn't valid. (This used to be commit d43922eade02d1826a108b45607f5776266fd05b)
2003-10-31Sync up formatting of the va list stuff - the HEAD version was nicer.Tim Potter1-3/+5
(This used to be commit 6917391fbbe90fd7f854d05e18f4ceb23c68d78a)
2003-10-30Check for nsswitch.h. Patch from albert chin (china@thewrittenword.com).Jeremy Allison1-1/+1
Jeremy. (This used to be commit ce1024cc10e798d4ed3bc7f6358bc4ebe9737830)
2003-10-24Commit Derrell's changes to libsmbclient plus a small change to configure.inRichard Sharpe1-3/+2
to see if SGI and other platforms will build. (This used to be commit cf9311044c372695592db1b95b814b0870b8cf29)
2003-10-24Some spelling mistakes in aclocal.m4 and the va_copy fixups in configure.inRichard Sharpe1-7/+16
and lib/snprintf. Check for va_copy first, and then look for __va_copy. (This used to be commit 8b592740b6294555c461d7eee003e2bd5f4352a4)
2003-10-17Add configure test for krb5_keytab_entry keyblock vs key member. Bug #636.Tim Potter1-0/+9
(This used to be commit 3daefe9d17fb2c7b1c4d21593465e6788555b0fb)
2003-10-14Use @PICSUFFIX@ instead of .po in Makefile.in since we have gone toTim Potter1-28/+23
the trouble of detecting what the PIC suffix should actually be. Change PICFLAG in configure.in to PICFLAGS for consistency. Patches from Joachim Schmitz <schmitz@hp.com> for bug 574. (This used to be commit ecfbc5f5295c64d1ba553356dd09f65e9b5d1ccb)
2003-10-09We need to make sure that the files that contain the static_init_$subsystem;Jelmer Vernooij1-6/+6
macro get recompiled after configure has ran. This was done by touching the source file. This patch changes it to removing the object file, so that you don't need write-access to the source directory. (This used to be commit 1a95f5c9a9ad10046c481b7d3ad4e15a77e23144)
2003-10-09Move sysquotas autoconf tests to a seperate file.Jelmer Vernooij1-3/+3
Patch by Stefan Metzmacher <metze@metzemix.de> (This used to be commit 9f6cd8177db9a88f681f28a8dca044595ddaae88)
2003-10-09Refuse to configure if --with-expsam=$BACKEND was used but no librariesJelmer Vernooij1-2/+2
were found for $BACKEND (This used to be commit 76229085dbc76942b9b83604ea820a433fad4b0f)
2003-10-03Explicitly initialise the value of AR for vendor makes that don't doTim Potter1-0/+2
this (HPUX 11). Currently it's initialised to 'ar' but this may have to be changed if any systems pop up that have archivers that aren't named 'ar'. Closes bug #552. (This used to be commit 6aada3bd3e08abedc4c043d1ceb667ca73f8cd62)
2003-10-01save and restore CFLAGS before/after AC_PROG_CC; this macro seems to ↵Gerald Carter1-0/+9
overwrite the CFLAGS variable (This used to be commit dbf7fc4feb7f9c7cb720ce2dcbc8bb16badfe1f2)
2003-09-30when we don't have a working iconv library we must default to using only ↵Andrew Tridgell1-1/+1
builtin charsets. Defaulting to CP850 when we have just determined that it doesn't work just guarantees that Samba won't work at all (in fact it just seg faults at startup). This fixes Samba on AIX, and I expect on a bunch of other platforms. (This used to be commit 9635a28181525e5e8cfb8ef77642446a0a4ba280)
2003-09-26don't write to static pointers; patch from AnthonyGerald Carter1-1/+1
(This used to be commit 5840cbe5f6207471ccd3d518a6aee91d84e24a1f)
2003-09-18Change error message displayed when --without-libiconv is used asTim Potter1-1/+1
an argument to configure. Closes bug 468. (This used to be commit 6957ecd25f1d98e045c7a44caf03887e60715b6b)
2003-09-14Fix for typo in darwin detection.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 8a57f1a72c88cde233b126d468183c52c2598420)
2003-09-13Fix for MacOS/X which uses STUPID BROKEN UNICODE COMPOSE CHARACTERS !Jeremy Allison1-1/+28
(rant off :-). Inspired by work from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>. Also add MacOSX/Darwin configure fixes. Jerry - can we put this in 3.0 release ? :-). Jeremy. (This used to be commit f23acb4ca5feac8ad2acfa1baf7df31283aba3ea)
2003-09-10Back out --with-good-getgrouplist patchAlexander Bokovoy1-21/+2
(This used to be commit 424b13823b666c122f43d63098cec3e54b4fa353)
2003-09-10Now that CAN-2003-0689 is published officially, we need to make possibleAlexander Bokovoy1-2/+21
to build on systems with fixed getgrouplist() in GNU libc < 2.3.2. Unfortunately, we can't detect correctness of getgrouplist() functioning in portable way so this is left up to developer/packager. This patch adds --with-good-getgrouplist[=no] switch to configure which packagers on Linux platforms could use to specify in their own builds if they now that glibc on their platform is fixed w.r.t CAN-2003-0689. By default we still think that glibc is vulnerable and perform our version check. ** This patch does not change default behaviour in Samba 3.0 -- by default we are not vulnerable on glibc as we are not using getgrouplist() See http://www.securityfocus.com/bid/8477 for vulnerability description. Right now there are following Linux vendors released glibc updates for CAN-2003-0689: RedHat -- https://rhn.redhat.com/errata/RHSA-2003-249.html ALTLinux -- http://www.altlinux.com/index.php?module=sisyphus&package=glibc (This used to be commit e53622c114e0368515c50b357567fcdd0b95979e)
2003-09-08Set PICFLAG="-fPIC" for gcc under HPUX.Tim Potter1-0/+2
(This used to be commit 7f2533207ee46fa968cf1fd31ac0cd89e1fb0bb1)
2003-09-08Rename FOOLIBS to FOO_LIBS to be consistent with the rest of theTim Potter1-17/+17
library variable names. (This used to be commit 9b0b0256a8bb93482fad4032902a4ab6d1e99e23)
2003-09-07Nobody complained on the team-list, so commit it ...Volker Lendecke1-0/+16
This implements some kind of improved AFS support for Samba on Linux with OpenAFS 1.2.10. ./configure --with-fake-kaserver assumes that you have OpenAFS on your machine. To use this, you have to put the AFS server's KeyFile into secrets.tdb with 'net afskey'. If this is done, on each tree connect smbd creates a Kerberos V4 ticket suitable for use by the AFS client and gives it to the kernel via the AFS syscall. This is meant to be very light-weight, so I did not link in a whole lot of libraries to be more platform-independent using the ka_SetToken function call. Volker (This used to be commit 5775690ee8e17d3e98355b5147e4aed47e8dc213)
2003-09-04Produce an error if --with-pam_smbpass is specified and we can'tTim Potter1-3/+7
find libpam or security/pam_appl.h Also change the warnings when we can't do --with-pam_smbpass when is was requested to errors. (This used to be commit fe3fb58623c27472d54722b780af43c3e272abaf)
2003-09-04Produce an error if --with-pam is specified but no PAM headers can beTim Potter1-0/+7
found. (This used to be commit dc43c2dd1b4cd02e996fe10f1684a6571b2fd3de)