summaryrefslogtreecommitdiff
path: root/source3/configure.in
AgeCommit message (Collapse)AuthorFilesLines
2011-06-23s3-net: Bind our gettext results to 'unix charset'Andrew Bartlett1-1/+1
This ensures that the translations and any embedded strings are in the same charset. It won't be the one from the user's locale (we no longer auto-detect that), but it will be self-consistent. Thanks to Steve Langasek for pointing this function out! Andrew Bartlett
2011-06-23lib/util/charset: Remove autodetection of charset from LOCALEAndrew Bartlett1-1/+1
In the past, our LOCALE would set the display charset of Samba. The display charset has now been removed. This patch removes the support code that detected the locale from the environment. We cannot safely have 'unix charset' follow the locale (at it creates files on disk and entries in databases that must not vary), so this code is unused. As an example, imagine a database is manipulated in the administrator's locale, and then read by smbd starting up in the system default locale. Or smbd restarted by the administrator rather than a startup script. Both of these situations could corrupt databases or filenames on disk. Andrew Bartlett
2011-06-23lib/util/charset: Remove 'display charset'Andrew Bartlett1-18/+1
As discussed in 'CH_DISPLAY and gettext' on the samba-technical list: http://lists.samba.org/archive/samba-technical/2011-June/078190.html Setting this to a value other than 'unix charset' does not make sense, as any system where the filesytem charset does not equal the terminal charset will already have problems with programs as simple as 'ls'. It also means that our output could not be pasted as our input in interactive programs or onto our command line, as we never did translate in the DISPLAY -> UNIX direction. The d_printf() calls are retained in case we need to revisit this, and to support display_set_stderr(). Andrew Bartlett
2011-06-20tdb_compat.h: divert every tdb build and includes to tdb_compatRusty Russell1-0/+1
We change all the headers and wscript files to use tdb_compat; this means we have one place to decide whether to use TDB1 or TDB2. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20lib: import ccan modules for tdb2Rusty Russell1-0/+2
Imported from git://git.ozlabs.org/~ccan/ccan init-1161-g661d41f Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-04s3: Fix the build on FreeBSD 8Volker Lendecke1-0/+5
This is probably not the last word on gss_mech_krb5, but for now it fixes the build on FreeBSD
2011-06-01Add check for the getcwd function being able to take NULL,0 arguments.Jeremy Allison1-0/+11
2011-05-13s3:build: link libtdb as shared lib if using shared libs at allMichael Adam1-1/+3
2011-05-13s3:build: determine full version of libtdb for the samba buildMichael Adam1-1/+2
2011-05-13s3:build: link libtalloc as shared lib if using shared libs at allMichael Adam1-1/+3
2011-05-13s3:build: determine full version of libtalloc for the samba buildMichael Adam1-1/+2
2011-05-13s3:build: fix typo in definition of --enable-external-libtdbMichael Adam1-2/+2
2011-05-13s3:build: reformat AC_ARG_ENABLE(external_libtalloc...)Michael Adam1-2/+5
2011-05-13s3:build: add LIBWBCLIENT_FULLVER for consistency with SMB_LIBRARY()Michael Adam1-0/+2
2011-05-13s3:build: add an optional full version argument to the SMB_LIBRARY() macro.Michael Adam1-1/+1
2011-05-13s3:configure: add --enable-smbtorture4 switchMichael Adam1-1/+8
2011-05-09s3-build: Move generated config.h and config.h.in to include/autoconfAndrew Bartlett1-2/+2
This ensures that these are not found by the waf build, which causes issues when the wrong config.h is used by the recursive smbtorture build Andrew Bartlett
2011-05-07Fix Samba3 on OpenIndiana.Gordon Ross1-5/+21
I'd like Samba to use the native OpenLDAP and MIT Kerberos libs. Attached are some patches to do that. (relative to git master) It does not build for me without these. (OpenIndiana is an off-shoot of OpenSolaris See http://www.openindiana.org) Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat May 7 02:20:14 CEST 2011 on sn-devel-104
2011-05-04vfs_gpfs: Properly notify the offline->online changesVolker Lendecke1-0/+2
This needs to be a separate module that cooperates with vfs_gpfs. If aio_fork is used early in the module chain it (correctly) does not propagate the aio ops down, so vfs_gpfs does not see them. This slim module must come early in the chain for notifies to work properly.
2011-05-03ѕ3/configure: move out generic CPPFLAGS in the solaris case hereBjörn Jacke1-3/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-05-03ѕ3/configure: move out generic LDFLAGS in the solaris case hereBjörn Jacke1-3/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-04-30kerberos: Only include gssapi/gssapi_krb5.h when availableAndrew Bartlett1-1/+1
2011-04-27auth/kerberos Add check for gss_inquire_sec_context_by_oidAndrew Bartlett1-0/+1
Not all kerberos distributions have this function. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 27 07:39:08 CEST 2011 on sn-devel-104
2011-04-27s3-gse: Don't release the mech OID from gss_accept_security_contextAndrew Bartlett1-0/+1
This is constant data according to the man pages I find for this fucntion, and causes a segfault to free() when linked to Heimdal. I am advised that while it is constant for gss_mech_krb5, it may not be for other mechanisms, so an assert will ensure this is dealt with by the programmer who extends this code in future. Andrew Bartlett
2011-04-27auth/kerberos: Create common helper to get the verified PAC from GSSAPIAndrew Bartlett1-0/+1
This only works for Heimdal and MIT Krb5 1.8, other versions will get an ACCESS_DEINED error. We no longer manually verify any details of the PAC in Samba for GSSAPI logins, as we never had the information to do it properly, and it is better to have the GSSAPI library handle it. Andrew Bartlett
2011-04-25s3: Check for res_ninitVolker Lendecke1-0/+8
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 25 11:44:58 CEST 2011 on sn-devel-104
2011-04-25s3: Add pthreadpooltest to main buildVolker Lendecke1-0/+2
2011-04-25s3: Many pthreadpool fixesVolker Lendecke1-1/+1
In particular, this makes it fork-safe
2011-04-23Revert "s3-vfs: another attempt to fix the Tru64 build."Stefan Metzmacher1-2/+0
This reverts commit 52909271879d909533a86c3a448839debb6497c6. A better fix will follow. metze
2011-04-22s3-vfs: another attempt to fix the Tru64 build.Günther Deschner1-0/+2
vfsops struct on Tru64 has a vfs_init function pointer. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 22 01:49:59 CEST 2011 on sn-devel-104
2011-04-20s3-gse: Allow the GSSAPI wrapper to load a keytab using gss_krb5_import_cred()Andrew Bartlett1-0/+1
This Heimdal function does not set the global state, and allows the GSSAPI server to progress further when compiled against Heimdal (such as in the top level build). The ability to specify a keytab has been removed from the API as it is unused, and and the Heimdal function (avoiding setting global variables) works with an open keytab. Andrew Bartlett
2011-04-18s3 autobuild: Fix CFLAG check for netgrent testsKai Blin1-1/+1
In 45ac8ffd I accidently added the wrong flag check. Fix this. Thanks to gd for noticing. Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-14s3-build: make sure we pick up system tdb and talloc via #include.Günther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 12:56:28 CEST 2011 on sn-devel-104
2011-03-31s3:configure: allow building without SCHEDULE_FOR_DELETION with ↵Michael Adam1-2/+6
--enable-old-ctdb Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Mar 31 18:55:38 CEST 2011 on sn-devel-104
2011-03-31s3:configure: introduce "--enable-old-ctdb" to enable enforcing build ↵Michael Adam1-0/+6
against old ctdb
2011-03-31s3:configure: add check for new CTDB_CONTROL_SCHEDULE_FOR_DELETIONMichael Adam1-0/+19
2011-03-31s3:configure: rework logic of ctdb/clustering checksMichael Adam1-77/+113
2011-03-31s3:configure: remove unused variable CTDB_CFLAGSMichael Adam1-2/+0
2011-03-31s3:configure: fix a comment.Michael Adam1-1/+1
2011-03-19s3: use getgrset() when it is availableChristian Ambach1-0/+1
When getgrouplist() is not defined, use getgrset() if it is defined instead of using the initgroups() + getgroups() combo Major contributions from Yannick Bergeron <yaberger@ca.ibm.com> Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Mar 19 10:09:38 CET 2011 on sn-devel-104
2011-03-10s3-build: remove -I../lib/addns.Günther Deschner1-1/+0
Guenther
2011-03-04libreplace: move "struct timespec" checks into libreplace (where timespec is ↵Günther Deschner1-23/+0
already used). Bjoern, Metze, please check. Guenther
2011-02-28libreplace: poll based on selectVolker Lendecke1-1/+1
2011-02-16s3-passdb: Add minimal stub for IPA passdb backendSumit Bose1-1/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-10Revert "libwbclient: bump the libwbclient SOVER 0 -> 1 due to ABI changes"Michael Adam1-1/+1
This reverts commit 5dd63c6c1439f5dde00e56144c38771d81455ada. Undo the library version bump.
2011-02-08Add fdopendir().Jeremy Allison1-0/+1
2011-02-06s3: Only build auth_netlogond for the developer buildVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 6 19:55:49 CET 2011 on sn-devel-104
2011-02-01s3: Add support for AF_NETLINK addr notificationsVolker Lendecke1-0/+9
Via an AF_NETLINK socket, the Linux kernel can inform us when IP addresses are added or dropped. This will first be used in winbind, it was triggered by clustering with ctdb. When winbind is connected to a domain controller and ctdb decides to move away the IP address that winbind used locally for the connection to the DC, the next request will run into a timeout. winbind sends out its request, but the response will never arrive: The IP is gone. It will also be interesting for more reliable online/offline detection, but this is something for future winbind refactoring.
2011-01-30s3: On FreeBSD, compile zfsacl if sunacl.h is aroundVolker Lendecke1-1/+13
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jan 30 12:17:49 CET 2011 on sn-devel-104
2011-01-28libwbclient: bump the libwbclient SOVER 0 -> 1 due to ABI changesMichael Adam1-1/+1
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jan 28 00:25:11 CET 2011 on sn-devel-104