summaryrefslogtreecommitdiffstats
path: root/source/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* Allow large file support to succeed even if ino_t isn't 64 bits and there'sJeremy Allison1999-02-051-3/+3
| | | | | no ino64_t. AIX has large file support and doesn't use a 64 bit ino_t. Jeremy.
* Fixes for HPUX.Jeremy Allison1999-02-041-4/+31
| | | | | | | | | | | | | | | | | | | | | | | | I have added a new define for configure - HAVE_EXPLICIT_LARGEFILE_SUPPORT. This is tested for at the end of configure by the following check : "As a gating factor for large file support, in order to use <4GB files we must have the following minimal support available. long long, a 64 bit off_t or off64_t, a 64 bit ino_t or ino64_t. If we don't have all of these then disable large file support." I have to do this as HPUX will detect the open64 etc. functions in libc but *THEY DON'T WORK* before HPUX11.x. The definitions in include/includes.h that set up large file defines, and the calls in lib/system.c that use the explicit large file functions are now depended on HAVE_EXPLICIT_LARGEFILE_SUPPORT also being defined. include/rpc_lsa.h: Upped number of groups to 96 as a temporary measure. Jeremy.
* Makefile.in: Removed SMB_PASSGRP_FILE - not used anywhere. Added ↵Jeremy Allison1999-01-261-0/+21
| | | | | | | | | --with-lockdir to allow HP to specify where they want the /usr/local/samba/var/locks directory to go. local.h: Added DEFAULT_PASSWD_CHAT to allow it to be changed. param/loadparm.c: Use DEFAULT_PASSWD_CHAT and also re-arranged HPUX printing. Jeremy.
* Fixed error in Sun2.6/gcc2.7 compile tests.Jeremy Allison1999-01-161-1/+1
| | | | Jeremy.
* Fixed typo in uname command for HPUX that was preventing large file support.Jeremy Allison1999-01-131-1/+1
| | | | Jeremy.
* configure configure.in: Fixed the compile problem with Solaris 2.6/2.7 andJeremy Allison1999-01-131-1/+22
| | | | | | | | | | | | | | gcc2.7.x - this condition is now auto detected and uses the correct flags. smbd/reply.c: Did more mapping for 64-bit lock requests on 32 bit systems. smbd/nttrans.c: smbd/oplock.c: Fixed the MS-Office not noticing files are open problem. This was a *subtle* problem and now needs testing to ensure the fix is correct. It's past 8pm, I'm tired and I'm going for a pizza. Jeremy.
* Added autoconf test for FTRUNCATE_NEEDS_ROOT.Jeremy Allison1999-01-041-1/+32
| | | | | | Fixed <rpc/rpc.h> include bug for SCO. Test for <arpa/inet.h> include for HPUX7.x. Jeremy.
* acconfig.h configure configure.in include/config.h.in lib/system.c: Fixed ↵Jeremy Allison1999-01-041-0/+5
| | | | | | | | | --with-mmap code. lib/time.c: Changed %T to %H:%M:%S for systems that don't have %T. locking/locking_slow.c: Re-added FTRUNCATE_NEEDS_ROOT code - now to test for it... smbd/quotas.c: Fixed IRIX quota compile. Jeremy.
* client/client.c: Fixed comment.Jeremy Allison1998-12-301-1/+24
| | | | | | All others - added checks for the compiler understanding volatile and the system having sig_atomic_t. Changed sighup code to use this. Jeremy.
* Added autoconf detect tests for broken Solaris 2.6 NIS+ include files.Jeremy Allison1998-12-291-3/+15
| | | | Jeremy.
* Makefile.in configure configure.in include/config.h.in: Added -c -o fixes ↵Jeremy Allison1998-12-291-0/+9
| | | | | | | from Tim Rice. utils/smbpasswd.c web/swat.c: Added set_auth_parameters() call where needed for OSF1_ENC_SEC. Jeremy.
* Configure fixes for QNX and NCR.Jeremy Allison1998-12-221-2/+2
| | | | Jeremy.
* Rather large (I'm afraid) tidyup of the setuid handling code.Jeremy Allison1998-12-221-1/+1
| | | | | | | | | | | | | | | | | | | | All setuid code now resides in the one module lib/util_sec.c. The interfaces this module exports are : void gain_root_privilage(void); - Set real/eff/saved uid's to 0. void gain_root_group_privilage(void); - Set real/eff/saved gid's to 0. int set_effective_uid(uid_t uid); - Set eff uid *only* to given value. int set_effective_gid(gid_t gid); - Set eff gid *only* to given value. BOOL become_user_permanently(uid_t uid, gid_t gid); - Set real/eff/saved uid's and gid's to uid and gid permanently - with no way back to root. Most of the quota code now uses these calls (except for a few special cases). smbd/chgpasswd.c: Ensured the dochild exits in the fork()'d child. libsmb/nmblib.c: Fix from Jasper for memory leak. Jeremy.
* make sure we include sys/mman.h if availableAndrew Tridgell1998-12-171-1/+1
|
* acconfig.h configure configure.in include/config.h.in: Added krb5 libs code ↵Jeremy Allison1998-12-161-3/+28
| | | | | | | | | | | back, based on 1.9.18 tree. tests/crypttest.c: Added test for truncated salt in crypt. passdb/ldap.c: Malloc checks. passdb/pass_check.c: Added test for truncated salt in crypt. Added OSF1 enhanced security fix. Jeremy.
* acconfig.h configure configure.in include/config.h.inJeremy Allison1998-12-151-1/+10
| | | | | | | | lib/system.c script/mkproto.awk include/includes.h: Added sys_readdir that wraps readdir64. lib/util.c: Changed gethostname() to use sizeof(hostname) as the second arg for buffer size. Jeremy.
* Fixed missing include of smbw.h.Jeremy Allison1998-12-111-1/+1
| | | | | Added strerror print for initgroups fail. Jeremy.
* Added configure fixes for UNIXWare and tidyups for SINIX.Jeremy Allison1998-12-111-4/+19
| | | | Jeremy.
* Fixed configure bug with RedHat 5.1 where it uses setresgid even thoughJeremy Allison1998-12-111-1/+1
| | | | | this is not yet implemented. Jeremy.
* HPUX fix. This looks like a big change but isn't actually, most of theJeremy Allison1998-12-101-10/+21
| | | | | | | | | | | | | | | | changes are bzero -> memset as the compiler on HPUX is very picky about bzero (probably a strange define). The significant changes are in configure.in, to fix the HPUX shadow.h problem and also move the large file support to the correct place. passdb/pass_check.c: Added includes for KRB5, DCE and AFS if requested in autoconf. tests/trapdoor.c: Fix to use setresuid and setresgid if defined. The rest of the changes are bzero -> memset. Jeremy.
* Added defines for HPUX large file support.Jeremy Allison1998-12-101-0/+10
| | | | Jeremy.
* configure.in: Fixed setresgid check - should use AC_TRY_RUN not AC_TRY_COMPILE.Jeremy Allison1998-12-081-1/+5
| | | | | | | | rpc_parse/parse_samr.c: Removed unneeded '&'s. smbd/blocking.c: smbd/reply.c: Fix for NT4.x bug where it sends large file lock requests *even if Samba did not nogitiate large file support* ! Jeremy.
* we need to use $ac_default_prefix in help, not $(prefix), or bashAndrew Tridgell1998-12-071-2/+2
| | | | gives errors
* Added RELIANTUNIX define for specific header file order includes for largeJeremy Allison1998-12-061-0/+1
| | | | | | | file support. Based on a patch from "Andrej Borsenkow" <borsenkow.msk@sni.de>. lib/pidfile.c: Changed open() to sys_open(). Jeremy.
* Fixes to get Solaris 2.6/2.7 large file support.Jeremy Allison1998-12-061-4/+15
| | | | | Fix test for getresgid. Jeremy.
* Samba 2.0 wasn't building on Linux-alpha - so I addedJeremy Allison1998-12-031-0/+18
| | | | | | | | | HAVE_SETRESGID and HAVE_SETRESGID_DECL defines, based on the HAVE_SETRESUID checks. I also updated the places that setresgid was being called based on HAVE_SETRESUID being defined and made sure *both* were defined before allowing the call. Jeremy.
* configure.in: Removed net/route.h from include checks.Jeremy Allison1998-12-011-1/+1
| | | | | | include/includes.h: Removed net/route.h as it breaks SCO. smbd/ipc.c: Memory leak fix from <jasper@Cal005208.student.utwente.nl> Jeremy.
* Makefile.in: Implemented andrej's private and swat file changes.Jeremy Allison1998-12-011-5/+145
| | | | | | | | | configure.in: Implemented andrej's private and swat file changes and SINIX changes. client/smbmount.c: Head branch race condition fix. lib/system.c: Fix compile for OS's that don't have shared mmap. smbd/dfree.c: Fix compile for STAT_STATVFS64 as well as STAT_STATVFS. utils/smbpasswd.c: Tidied up error messages. Jeremy.
* Makefile.in: Added 'maintainer mode' fixes.Jeremy Allison1998-11-251-73/+13
| | | | | | | aclocal.m4: Added new function - AC_LIBTESTFUNC. configure.in: Fixes for the messy -lsec, -lsecurity code. include/includes.h: Added a default printcap define. Jeremy.
* Added lib/doscalls.c : This file collects all the calls that use dos_to_unix()Jeremy Allison1998-11-241-1/+1
| | | | | | | | | | | | | | | | | | | to map filenames before accessing the UNIX filesystem. The other changes are to make the code that previously allways called the ambiguous functions (such as file_size(), that internally called dos_to_unix()) to be unambiguous. For example: file_size() becomes "dos_file_size()", that calls dos_to_unix(), and file_size(), that does not. It is now very explicit when we are calling a dos mapping call and when we are not. Also added string_to_sid unsigned fix by adding the strtoul from libg++ code into lib/replace.c and testing for strtoul in configure.in. Jeremy.
* cconfig.h configure configure.in include/config.h.in: Changed autoconf to be ↵Jeremy Allison1998-11-201-12/+70
| | | | | | | | | more intelligent about looking in -lsec and -lsecurity. Fewer special cases. rpc_client/cli_netlogon.c: Removed 'matching bits' check in attempt to get joining a domain hosted by a NT3.51 PDC working. Jeremy.
* Fixed stupid blunder where I moved getpwanam to getpwnam. Ooops.Jeremy Allison1998-11-201-1/+1
| | | | Jeremy.
* Makefile.in: Added passing of CPPFLAGS into Makefile.Jeremy Allison1998-11-191-8/+19
| | | | | | | | | | | | configure configure.in include/config.h.in: Fixes for AIX4.x. AIX *will not* enable large file support of *any* description unless either -D_LARGE_FILES or -D_LARGE_FILES_API are defined. I chose "-D_LARGE_FILES" as this leads to cleaner code... Also fixed bug where getpwnam was listed as getpw(a)nam in configure.in. Jeremy.
* Fixes for autoconf on HPUX. Includes ANSI -Ae flag test for HPUXJeremy Allison1998-11-191-0/+19
| | | | | compiler and check for getspnam in -lsec. Jeremy.
* Changes to make the default prefix /usr/local/samba - as it was in 1.9.18p10.Jeremy Allison1998-11-191-0/+11
| | | | | | acconfig.h configure configure.in include/config.h.in: Fixes to DEC OSF1. libsmb/nmblib.c: Fixes to nmbd jumps in scope names. Jeremy.
* Added auto detection of the (broken IMHO) typedefs for int32 and uint32Jeremy Allison1998-11-191-2/+50
| | | | | in rpc/types.h in DEC OSF1. Should correctly check on all platforms now. Jeremy.
* Added some of the fixes needed for OSF1 (Digital UNIX).Jeremy Allison1998-11-181-1/+6
| | | | | | | HAVE_PUTPRPWNAM is defined in -lsecurity. <net/route.h> needed to stop compile complaints in <net/if.h> smbpasswd: Moved SunOS optind/optarg to global scope. Jeremy
* Added fixes to stop HAVE_NETGROUPS being defined on systems thatJeremy Allison1998-11-181-1/+1
| | | | | don't have a hope of having them. Jeremy.
* Changed (most) open()/fopen()/creat()/mmap() calls to use sys_XXX() instead.Jeremy Allison1998-11-171-2/+2
| | | | | | Needed as in the 64 bit file spec new open types are needed on many OS's to be able to seek past 32bits. Jeremy.
* Added fixes from HEAD into 2.0 branch.Jeremy Allison1998-11-161-1/+5
| | | | | | | | | | | These are : configure.in: Check for glob.h added. libsmb/namequery.c: Fix for broken parsing of lmhosts. smbd/reply.c: smbd/trans2.c: include/smb.h: Change ROUNDUP to SMB_ROUNDUP. include/includes.h: Fixed include of glob.h Jeremy.
* Removed acconfig.h configure configure.in include/config.h.in: Made ↵Jeremy Allison1998-11-141-13/+38
| | | | | | | | | smbwrapper not made by default. nmbd*: Changed all calls to namestr() to nmbd_namestr() to fix broken FreeBSD include file problem...sigh. Jeremy.
* Makefile.in configure configure.in include/config.h.in: Changes for DGUX and ↵Jeremy Allison1998-11-131-64/+72
| | | | | | | | | | | | | | UNIXWARE. groupdb/aliasdb.c groupdb/aliasfile.c groupdb/groupfile.c: Don't use snprinf, use slprintf. include/includes.h: Fix YP problem. include/smb.h: Fix ZERO_STRUCTP. lib/util_sock.c: Added strerror() in debugs. passdb/ldap.c: Don't use snprinf, use slprintf. rpc_client/cli_lsarpc.c rpc_client/cli_pipe.c rpc_parse/parse_sec.c rpc_server/srv_pipe.c: Don't use snprinf, use slprintf. script/installman.sh: DGUX changes. smbd/open.c smbd/oplock.c: Fixed gcc warnings. web/swat.c: Changes USER to SWAT_USER.
* fixed compile for FreeBSDAndrew Tridgell1998-11-131-2/+1
|
* Makefile.in configure configure.in include/proto.h smbd/noquotas.c ↵Jeremy Allison1998-11-031-0/+20
| | | | | | | | | | | | smbd/quotas.c: Added quotas patch for autoconf from Dejan Ilic <svedja@lysator.liu.se>. printing/printing.c: Filenames with spaces patch from Allan Bjorklund <allan@umich.edu> utils/nmblookup.c: Fix usage() function. smbd/reply.c: Split out the security=server and security=domain checks into check_server_security() and check_domain_security() to aid the writing of the 'hack' appliance mode invented by John Schimmel. Jeremy.
* added a vsnprintf() implementation from cvslock. See the notes on theAndrew Tridgell1998-10-261-1/+1
| | | | | | | | license at the top of lib/snprintf.c I've always been slightly uneasy about our half-baked vslprintf() implementation and the risks on platforms that don't have vsnprintf() so when I saw this code in another GPLd package I wanted it for Samba.
* don't enable smbsh/smbwrapper on systems where we can't work out howAndrew Tridgell1998-10-231-0/+8
| | | | to generate PIC code
* add -Bshareable for *bsd*Andrew Tridgell1998-10-201-0/+3
|
* Fixed crypt problems on IRIX with prototype.Jeremy Allison1998-10-151-2/+2
| | | | Jeremy.
* config: Fix crypt prototype on RedHat Linux.Jeremy Allison1998-10-151-0/+8
| | | | | | | | include/includes.h: Fix crypt prototype on RedHat Linux. smbd/fileio.c: Fix mmap bug found by WinCE client. smbd/ipc.c: Fix WinCE wierdness with pipes being opened as \server\pipe\lanman smbd/password.c: Fix encrypted null passwords. Jeremy.
* made smbsh a standard binaryAndrew Tridgell1998-10-131-1/+1
|