summaryrefslogtreecommitdiff
path: root/source3/configure.in
AgeCommit message (Collapse)AuthorFilesLines
2003-08-15Fallback to our defaults (CP850/ASCII/UTF8) if there is no native iconv on ↵Alexander Bokovoy1-0/+3
the platform. This allows to compile and complain about it at runtime (This used to be commit b6fa581955de36e044a41c6ce857743c7e3c9b7f)
2003-08-15Do not cache iconv checks because we are looking for it now in different ↵Alexander Bokovoy1-2/+2
places and negative result does not mean we don't have iconv unless we checked everything (This used to be commit d46f8325f2edad28870d7a5c45674bdb52ac08e4)
2003-08-15Fix charset detection code in configure.Alexander Bokovoy1-17/+52
Now we are: 1. Try to find correct name for default character sets for the platform 2. Use DEFAULT_{DOS|DISPLAY|UNIX}_CHARSET defines set during configure phase as defaults This should fix CP850 problem on Solaris (at least) because it actually has IBM850 which is the same but under different name (This used to be commit 836b9fffa0eadc818019ba36ed764e97d4f9a801)
2003-08-15Remove accidently added SMB_MODULE_PROVIDES() linesJelmer Vernooij1-5/+0
(This used to be commit 071850f87ac1c54cbb9786b5d443f6067c923663)
2003-08-15Remove nasty hack in modules system. We don't recompile files anymoreJelmer Vernooij1-7/+12
after the Makefile changes. (This used to be commit 104f62272d75e9d89ab330b620011b337eb2a435)
2003-08-14get rid of IRIX test as it is wrong.Herb Lewis1-4/+1
(This used to be commit a93fa23c17c9f69de224cdd5471916eda3cd4fec)
2003-08-14Attempt at fixing bug #283. There however is no solution.Gerald Carter1-1/+2
There is a workaround documented in the bug report. This patch does: * add server support for the LSA_DS UUID on the lsarpc pipe * store a list of context_ids/api_structs in the pipe_struct so that we don't have to lookup the function table for a pipe. We just match the context_id. Note that a dce/rpc alter_context does not destroy the previous context so it is possible to have multiple bindings active on the same pipe. Observed from standalone win2k sp4 client. * added server code for DsROleGetPrimaryDOmainInfo() but disabled it since it causes problems enumerating users and groups from a 2ksp4 domain member in a Samba domain. (This used to be commit 96bc2abfcb0dd0912696fad76e43cb217b33e061)
2003-08-14Small fix to include existing CPPFLAGS when looking for iconv.Richard Sharpe1-1/+1
(This used to be commit 772bb41a9d321c7f7377af01d1583c73fccb1e08)
2003-08-14Try to honor predefined CPPFLAGS when finding correct iconv flagsAlexander Bokovoy1-0/+3
(This used to be commit ee362ce47596a90f60b0dd3b414503547863e01b)
2003-08-14Small tweaks to configure.in to support Irix and to remove the changingRichard Sharpe1-4/+10
of LIBS where we don't need to change them, and to ensure that if --with-iconv was specified we only search the list of locations specified. (This used to be commit c2274274a6cec7aed5ba5fee72e529ff3e0c71e0)
2003-08-14A small tweak to allow IRIX to work by detecting ISO-8859-1 to UTF-8,Richard Sharpe1-1/+1
because Samba really only needs CP850 to UTF-8 and ISO-8859-1 seems to be much the same as 8859. (This used to be commit 02e3d779f150f99e777007a50b58861c8921925b)
2003-08-13Test for CP850 and reorder the tests, looking for ASCII, then CP850,Richard Sharpe1-2/+5
then IBM850 and lastly ISO-8859-1. (This used to be commit df8ff3f6b54aca4e43459d4275c88b90508c961a)
2003-08-13This is an intermediate commit ... we check for three different charsetsRichard Sharpe1-3/+11
in an iconv_open to be more robust. However, what we really want to do is find the name for something like CP850, which can be IBM850 on Solaris, and we might want to also check for ISO-8859-1. So, this commit adds a macro to aclocal.m4 that can check for a specific charset. (This used to be commit 81dc28ca82b94d1bc42f96273f6cefac6ca1848c)
2003-08-13Hoist the code for checking whether or not iconv actually works up into theRichard Sharpe1-23/+26
loop that looks for iconv, because we might have more than one version of iconv available and the first version might not work like we want, so we have to keep looking. We have yet to look for other character conversions as well, but for now, let's see what the build farm makes of the changes. (This used to be commit 13be2ca51a6125a6de22fa7afb88ba0688f23ab8)
2003-08-12Add vfs_readonly module which allows to enforce periodic read-only limit on ↵Alexander Bokovoy1-1/+2
a share based on a specified start and end dates according to date(1) format (This used to be commit 8b263c2fda89ff6aa2dc3a60460c5d46cf0814c6)
2003-08-11Improve MySQL library detection, add support for MySQL 4Jelmer Vernooij1-1/+1
(This used to be commit 90cbc4361e86d591e38c80092612edaa3875ea67)
2003-08-01add tests for IRIX attr functionsHerb Lewis1-1/+3
(This used to be commit ea57a57db036de6245ff44cd953dae3b482b4744)
2003-07-31Whoops - this is probably better shell syntax.Tim Potter1-2/+1
(This used to be commit 4644085b682c806796f9acf2ed73de9dd9872738)
2003-07-31Turn on automatic winbindd support for FreeBSD and see what the compile farmTim Potter1-0/+1
thinks of it. (This used to be commit e6210295e4daa5f1768616b4d8390a173c5c67ae)
2003-07-29Add NT quotas support. Users allowed now to manage quotas on systems with ↵Alexander Bokovoy1-1/+2
sysquotas interface detected (Linux at least) using native Windows tools. Also move default quota support for NT quotas to VFS module default_quota. Code by Metze (This used to be commit e856a96c2c42c39843e5e1a3a6b0d538e7179900)
2003-07-21Metze's AD/LDAP detection patches mainly to do with library detection.Tim Potter1-184/+204
Tested on a large combination of operating systems and versions. Hopefully the build farm will find any remaining nasties if they exist. (This used to be commit 2e42fa3d7217615d90ad64261513bd1e8a65f535)
2003-07-17Ban getgrouplist on linux glibc systems with glibc <= 2.3.Volker Lendecke1-1/+33
This segfaults when you have to many group membership entries in /etc/group. Fixed in glibc CVS end of April 2003. Volker (This used to be commit 61bfdf0b12457689b08c19a6269259abf3d15410)
2003-07-16Add krb5_princ_component to Heimdal. Remove cli_ from mark packet signed.Jeremy Allison1-0/+15
Jeremy. (This used to be commit dd46f8b22d6e8411081a1279e1cd32929e40370b)
2003-07-15Accept --with-expsam=no as valid option (do nothing on it). Simplifies ↵Alexander Bokovoy1-0/+2
automatic option generation for spec files (This used to be commit 4042d965f26d8cc056792df50d0a2a6f3f640e50)
2003-07-11get rid of CFLAGS from LDSHFLAGS and WINBIND_NSS_LDSHFLAGS and insteadHerb Lewis1-1/+1
define it in SHLD for those systems the use CC for SHLD. (This used to be commit d0e2f3d1098ac0b8fa9165b3a93cd8d325a7a0d9)
2003-07-10Final piece of support needed to find iconv libraries on FreeBSD.Richard Sharpe1-1/+4
This has been tested on RedHat 9.0 with libiconv built in as well as FreeBSD 4.6.2 with iconv-2.0.3 and biconv.g/libbiconv. We should perhaps also check for other conversions that just ASCII<-->UCS-2LE especially because those two names do not appear in charset.aliases for iconv-2.0.3. (This used to be commit 53d953da10dbfaf778907f19115e127c5aac1da8)
2003-07-07Cleaning up linking issues. sam/idmap*.c only links inGerald Carter1-2/+1
winbindd now. Also removing an unused file. (This used to be commit 688369c23c604e9b6654fcf07190d2e27c1138cf)
2003-07-04Display libraries detected by configure but before configureTim Potter1-0/+12
summary as suggested by abartlet. (This used to be commit 7b2c6181b17a0d62043569ffa49cdf6c5b0b6859)
2003-07-02Fixing problems in the iconv discovery stuff in configure.in.Richard Sharpe1-1/+1
This is the first part of the fix that at least allows configure to walk the list of supplied locations where libiconv etc might be found. aclocal.m4 also needs a fix, as does a later test. (This used to be commit 20786543139c546d112f8f6b6d4d796ee7fed609)
2003-07-01removing nisplussamGerald Carter1-9/+2
(This used to be commit f75683995cf0d17df55a70dacd72ab2d6cd17989)
2003-07-01fix compile problem with nisplussamGerald Carter1-0/+2
(This used to be commit 2f7051e2bcaaa45a7315208fc9b5812e6ed657d9)
2003-06-30- added LOCALE patch from vorlon@debian.org (Steve Langasek) (bug #122)Andrew Tridgell1-2/+4
- changed --enable-developer debug to use -gstabs as it makes the samba binaries about 10x smaller and is still quite functional for samba debugging (This used to be commit 53bfcd478a193d4def8da872e92d7ed8f46aa4b9)
2003-06-26Remove the MODULES_CLEAN variable. It's no longer necessary sinceJelmer Vernooij1-3/+1
object files for modules are in .po files, while object files for static use are in .o files. Pointed out by metze. This reduces the number of files that have to be recompiled after the Makefile changes. Preventing unnecessary recompiling of the other few is high on my todo list. (This used to be commit b9b46d43c7c39d6738c254c4a148bdb93cae02e3)
2003-06-25Metze assures me that this will fix Heimdal et al.Tim Potter1-1/+1
I think the lesson to take away here is that refactoring configure.in is a hazardous task and should only be attempted if you have a lot of time and patience! (This used to be commit 5ba121ac9d75de72261521cb1066ed585b68c307)
2003-06-25Only append to KRB5_LIBS when doing AC_CHECK_LIB for libkrb5.Tim Potter1-1/+1
I think we are done with MIT Kerberos for the moment. The Heimdal detection looks like it has been broken for ages so it's next on the list. (This used to be commit 7690a722f99485f717215787db168f6878422f2f)
2003-06-25Don't trash the values of CFLAGS and LIBS while engaged in KerberosTim Potter1-2/+0
detection. On Solaris 9 extra libraries -lber and -lresolv are required for Kerberos tests. We used to have an extra check for -lresolv only but I think the correct solution is not to forget about it in the first place. This should fix bug #125 although I don't have access to a system to test it out on. (This used to be commit 4ddfab4a572782cd83588eff4fbb599f6c4e770c)
2003-06-24More tuning of Kerberos detection - don't fall through to detect kerberos libsTim Potter1-3/+6
when we have already decided that we can't do it. (This used to be commit db792ed530da4e040084d4b42b716ffdcdd13bd3)
2003-06-24More sensible behaviour for bug 152. If we don't have krb5.h and were ↵Tim Potter1-10/+36
explicitly configured using --with-ads then give an error, otherwise fall back to compiling without ADS. Tested on redhat 8.0 with and without MIT kerberos packages installed. Metze, let me know if this is working OK for you now! (This used to be commit 7ea81535b8180314acbf0873104a8c942ce4ec14)
2003-06-23Change AC_MSG_ERROR() in krb5.h detection code to AC_MSG_WARN()Tim Potter1-1/+1
until I repair my destroyed development system and check in a proper fix for this. (This used to be commit efad5dab522c466ae9e6bc114d0a0e6d1a7ed06d)
2003-06-23Produce an error if Active Directory support is requested and we don'tTim Potter1-0/+4
have krb5.h Should fix bug 152. (This used to be commit 82d3dd757be5c56fdeb97e66f64ec25d5e202614)
2003-06-23Repair indentation in autoconf Kerberos detection code. This shouldTim Potter1-120/+169
make it easier to understand/debug. (This used to be commit 86b6ff134c2631be1346cea1cd7a17ae815a3759)
2003-06-20The default action for AC_CHECK_LIB is to add the library to $LIBS soTim Potter1-7/+6
this doesn't need to be done explicitly in the Kerberos checks. Also there was a duplicate AC_CHECK_LIB(resolv, dn_expand) which is done early on in the configure process. (This used to be commit fa66e2e1e1186d8c8965e1a13d49f4af2e71a442)
2003-06-16Build libnss_wins.so as part of nsswitch target. Fix for bug #160Tim Potter1-4/+11
found by andreas@conectiva.com.br (This used to be commit fa24fd6f5b9f3648ca0db393905b577f205c8ee0)
2003-06-16reverted locale patch put in by jht (originally from vorlon).Andrew Tridgell1-2/+0
There are lots of things wrong with this patch, including: 1) it overrides a user chosen configuration option 2) it adds lots of complexity inside a loop when a tiny piece of code outside the loop would do the same thing 3) it does no error checking, and is sure to crash on some systems If you want this functionality then try something like this at the end of charset_name(): #ifdef HAVE_NL_LANGINFO if (strcasecmp(ret, "LOCALE") == 0) { const char *ln = nl_langinfo(CODESET); if (ln) { DEBUG(5,("Substituting charset '%s' for LOCALE\n", ln)); return ln; } } #endif then users can set 'display charset = LOCALE' to get the locale based charset. You could even make that the default for systems that have nl_langinfo(). (This used to be commit 382b9b806b1ecd227b1ea247e3825d6848090462)
2003-06-15Patch from vorlon@debian.org, see bugzilal #122John Terpstra1-0/+2
Samba should preferentially use the locale information from the native system, and only fall back on 'display charset' if this is unavailable or unsupported. (This used to be commit 1e445fb4220cdf4700dd9d1850a42746a1065c5a)
2003-06-06get rid of IRIX o32 builds - some libraries (kerberos and ldap) are onlyHerb Lewis1-11/+2
n32 so smbwrapper fails to link. (This used to be commit 392f207a353c3c154ea04a284c4e54864a927e95)
2003-06-06* add in David Lee's utmp patch (defaults to on if available)Gerald Carter1-12/+33
* one more try at fixing builds when --with-ldap=no (This used to be commit b516ab7bdef6b6b2b7f0df8966dbd4c329f46a92)
2003-06-06* break out more common code used between pdb_ldap and idmap_ldapGerald Carter1-21/+0
* remove 'winbind uid' and 'winbind gid' parameters (replaced by current idmap parameter) * create the sambaUnixIdPool entries automatically in the 'ldap idmap suffix' * add new 'ldap idmap suffix' and 'ldap group suffix' parametrer * "idmap backend = ldap" now accepts 'ldap:ldap://server/' format (parameters are passed to idmap init() function (This used to be commit 1665926281ed2be3c5affca551c9d458d013fc7f)
2003-06-06Fixup the check for attr libraries, used ',' instead of ' '.Jeremy Allison1-3/+3
Jeremy. (This used to be commit af62b6612ee046e0bf203c720eb03dbdea5f7296)
2003-06-05Get ready for EA code... Add Linux interface.Jeremy Allison1-1/+8
Jeremy. (This used to be commit 48853140749b74053f1a7857a983397b6e9a0234)