summaryrefslogtreecommitdiff
path: root/source3/configure.in
AgeCommit message (Collapse)AuthorFilesLines
2001-06-01Added a --with/without winbind option to configure. The default is toTim Potter1-8/+26
compile winbind on supported systems but this may be disabled using --without-winbind. Using --with-winbind on unsupported systems has no effect. (This used to be commit de46428d054285f568727589537cd8520ee0f687)
2001-05-30- added AC_HAVE_DECL() macro to aclocal.m4, so we can easily addAndrew Tridgell1-22/+8
tests for a fn or variable being defined in headers - used this to add prototypes for asprintf and vasprintf on systems that don't have them (This used to be commit ab2465239414853a14529f88a25f13c392aa2d3f)
2001-05-22Try to fix build by adding autoconf tests for pam headers.Jeremy Allison1-0/+2
Jeremy. (This used to be commit d52bc4d219bd07e656986e7754ea6e238c626d77)
2001-05-17Ohh boy, I should be working on lots of other things, but I am pissed off, soRichard Sharpe1-4/+4
I needed to get down and dirty and do some coding etc ... Change -fpic to -fPIC ... Many people suggest that this is better ... (This used to be commit 26eda1f2b065482d0b547f3068c78ae442ba18d9)
2001-05-16Added winbind programs to build for supported systems (i.e linux andTim Potter1-3/+20
solaris) so the autobuilder can have a crack at it. Cosmetic fix for large file support ./configure output. (This used to be commit ded776af285baa65af151710fe7440b6c52fc409)
2001-05-03Fixed SHM_R/SHM_W warnings by moving sys/ipc.h and sys/shm.h into includes.hJeremy Allison1-2/+2
and using autoconf tests. Added "restrict acl with mask" parameter. Jeremy. (This used to be commit 7792e32ba7fd734cc68b354f31c382ac11521fe8)
2001-05-01added more complete C99 snprintf testAndrew Tridgell1-2/+7
(This used to be commit 4d7565342d5b53dd038bf25dd6c6afc7132ba2aa)
2001-04-28- added test for vasprintfAndrew Tridgell1-1/+1
- cleaned up GNUC printf attribute macros - added enum handling in mkproto - removed non-vararg code - made slprintf and vslprintf just macros for snprintf and vsnprintf - don't need slprintf code any more (This used to be commit c7aeb2254dfc3cd0aa0b6c0bdd426f9323be0ddf)
2001-04-28added asprintf testAndrew Tridgell1-1/+1
(This used to be commit 8bda86c0bfd3693420e334a10d19bed61b131bae)
2001-04-27added test for C99 compliant vsnprintfAndrew Tridgell1-0/+19
(This used to be commit 9ebd90904e512c49cc80c584ab3d5902340ddcae)
2001-04-27fixed typoAndrew Tridgell1-1/+1
(This used to be commit ed9d93c9c3c42b13b021e5e8f84f4d865cd28724)
2001-04-26Fixed REPLACE_GETPASS test.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 3cfcaaca5ba54ada898680ac9943086316d262b4)
2001-04-24Added Steve Langasek <vorlon@netexpress.net> pam_smbpass supportJohn Terpstra1-1/+35
(This used to be commit 550cc5c182e88f742ac2052d80208da5f98e2543)
2001-04-24updating changes with 2.2 (comment lines in ./configure --help)Gerald Carter1-1/+1
(This used to be commit cf9e34c79be4c09b84d648134933b9007a06dc92)
2001-04-19merge from 2_2Andrew Tridgell1-0/+15
(This used to be commit 5e9a2084bfa555295f60485fc83f9bb9245f3fd4)
2001-04-17AIX ACLs donated by IBM.Jeremy Allison1-0/+4
Merge Andrew's fnmatch fix for WfW. Jeremy. (This used to be commit 1d4438f07745df3d02ed8ab3ef048e20016816b6)
2001-04-16Added --with-codepagedir as RedHat 6.2 and 7.x place them differently.Jeremy Allison1-0/+16
Jeremy. (This used to be commit 1cfc542685f3ad6c16e922ca35043a1a9ce57f8e)
2001-04-14Added POSIX_ACL support for *BSD. Patch from jedgar@fxp.org. ChangedJeremy Allison1-7/+15
a bit to use AC_TRY_LINK to ensure functions are available for link instead of AC_TRY_COMPILE. Jeremy. (This used to be commit c23628746342b6afa28cb34b0b4eaa61189ad390)
2001-04-14configure:Jeremy Allison1-1/+1
configure.in: include/config.h.in: include/profile.h: smbd/vfs-wrap.c: smbd/vfs.c: Added fchmod and fchown to VFS (sorry Gerald - but we needed them anyway). smbd/dosmode.c: smbd/files.c: printing/printfsp.c: smbd/close.c: smbd/open.c: Fixed "dos filemode" correctly so there are no race conditions. Forces test of open of file O_WRONLY before allowing fchmod as root. Afterwards, calls standard close function that preserves POSIX locks due to POSIX-me-harder braindamage. :-). Andrew please review this code. Also - in removing the tmpdir param in smbrun an extra NULL parameter was missed in each print_run_command() call (which is a varargs fn.). Now fixed. Jeremy. (This used to be commit 32397e5bc6d995ce7ca37c82d6aedc1e5b1b6fbd)
2001-04-13Merge of Andrew's changes in 2.2.Jeremy Allison1-8/+64
Jeremy. (This used to be commit fc76681812b1469208ad6c8847afdfc68bc6db49)
2001-04-11To stop people complaining about the mktemp call, move it into lib/util.c. ↵Jeremy Allison1-0/+22
Thanks to Andrew for all this code. Fixed extra line in lib/sysacls.c that broke XFS ACL code. Jeremy. (This used to be commit 9b32b8a8cfc8ddb93c14d5581f433d2e93f89ed2)
2001-04-11Changed the order of -kPIC and -kpic.Jeremy Allison1-8/+8
Added patch from Michael Davidson <md@sco.COM> for Solaris/Unixware ACLS. Jeremy. (This used to be commit 144a2906810e8d4414d627835eb80f60bd1d88a4)
2001-04-06keep cflags from being duplicated if defined in environmentHerb Lewis1-1/+7
(This used to be commit 2097298565b367157a3bc0c1178f17b1a6bbdd86)
2001-04-03Added XFS ACLs on Linux. Code from John Trostel <jtrostel@connex.com>.Jeremy Allison1-1/+14
Jeremy. (This used to be commit 0865366f6b1070a8db3d8421c37c8072b36b96e3)
2001-03-31configure configure.in include/config.h.in lib/replace.c: Added test and ↵Jeremy Allison1-1/+1
replacement for setlinebuf which apparantly doesn't exist on HPUX 11. include/byteorder.h: rpc_parse/parse_prs.c: Ding Dong the witch is dead ! :-). Ok, I'm happy 'cos I've finally deleted all the *HORRIBLE* DBG_RW_XXX and RW_XXX macros from include/byteorder.h. They were macros that included macros that had conditional macros included. No one understood them (they were the cause of most of the bigendian issue bugs). Finally, I went into parse_prs.c and inlined all of that stuff with regular function calls. They're understandable, they're easy to edit and they don't include macros ! JF - please look at the one comment I added (JF PLEASE CHECK). I have tested this partly with IRIX (a bigendian system) running with AS/U on a Solaris box in SGI's lab, and I've also confirmed these new changes work with W2K (vmware) but there may be the odd bug lurking. Herb, if you could re-checkout and test again with this code that would help. Extra. Fixed bug spotted by the sharp eyes of JF - big endian unicode packet would cause a early truncate of string parsing as we were checking for a char * 0, not a uint16 * 0. Jeremy. (This used to be commit 13765eca71e54aa5d048ce36cd8066b8406777c8)
2001-03-27standards.h only exists on IRIX 6.x and above (Herb please check !).Jeremy Allison1-1/+1
Jeremy. (This used to be commit 80ce12d95396bac53b2303955e5081d9632cbf55)
2001-03-18much better readline support from Simo Sorce, with some mods from meAndrew Tridgell1-1/+3
to make it a bit simpler (This used to be commit e1487eb2c4626dbe0cc3b17606eda702cedef28b)
2001-02-27Added patch from Urban Widmark <urban@teststation.com> modified by me toJeremy Allison1-4/+46
enable large file support on Linux if glibc >= 2.2 and kernel >= 2.4. Jeremy. (This used to be commit c59a5db9c21d5642aa9ea2a5270343c7a52cf779)
2001-02-25rpc_client/cli_netlogon.c: Fixed incorrect printf.Jeremy Allison1-15/+26
Added Solaris ACL support. Jeremy. (This used to be commit f0d11b6997cc46a0210adef8cf572cf8b7e2467a)
2001-02-16configure configure.in smbd/posix_acls.c smbd/dosmode.c: Fix for zero ↵Jeremy Allison1-0/+1
permission W2K profiles. libsmb/cliconnect.c rpc_client/cli_login.c smbd/reply.c: codepage fixes from Tim. Jeremy. (This used to be commit 3ded1e6bd5f79948e437ce5b1799705945f36ad2)
2001-01-11Fixed typo with acl_set_fd() not needing an ACL_TYPE_T parameter.Jeremy Allison1-0/+1
Ensure HAVE_NO_ACLS is set in configure if ACL support not selected. Jeremy (This used to be commit 523c91935621ec2d200a79385046694806f7c837)
2000-12-08Cosmetic fixups for large file support message.Tim Potter1-4/+2
(This used to be commit 671be482212634b9c1de40891032180fbc1d49ba)
2000-12-07Added better configure test for POSIX ACLs. Fixed stupid typo in sysacls.cJeremy Allison1-3/+12
Jeremy. (This used to be commit da6ae57501e3cb971e82eac5bb05efcd9cf443ae)
2000-12-07Working code to read POSIX ACLs on a Linux system using the bestbitsJeremy Allison1-3/+22
ACL patch from http://acl.bestbits.at/. configure support needs more work (just assumes correct headers at the moment). ACL writing needs adding. Jeremy. (This used to be commit 6ae63e502e6adf3666a34aa87860c74e106fdb84)
2000-12-06Changed to sourceforge tdb code. This includes spinlocks (so we now haveJeremy Allison1-0/+23
a --with-spinlocks option to configure, this does mean the on-disk tdb format has changed, so 2.2alphaX sites will need to re-create their tdb's. The upside is no more tdb fragmentation and a +5% on netbench. Swings and roundabouts.... Jeremy. (This used to be commit 9dea7b7c257db487f8ced7dad3fce92fba03ea91)
2000-11-21Another large patch for the passdb rewrite.Gerald Carter1-3/+3
o added BOOL own_memory flag in SAM_ACCOUNT so we could use static memory for string pointer assignment or allocate a new string o added a reference TDB passdb backend. This is only a reference and should not be used in production because - RID's are generated using the same algorithm as with smbpasswd - a TDB can only have one key (w/o getting into problems) and we need three. Therefore the pdb_sam-getpwuid() and pdb_getsampwrid() functions are interative searches :-( we need transaction support, multiple indexes, and a nice open source DBM. The Berkeley DB (from sleepycat.com seems to fit this criteria now) o added a new parameter "private dir" as many places in the code were using lp_smb_passwd_file() and chopping off the filename part. This makes more sense to me and I will docuement it in the man pages o Ran through Insure-lite and corrected memory leaks. Need for a public flogging this time Jeremy (-: -- jerry (This used to be commit 4792029a2991bd84251d152a62b1033dec62cee2)
2000-10-26TDB password backend support written by Simo Sorce <simo.sorce@polimi.it>Gerald Carter1-0/+18
Marked as an experimental compile time option (defaults to off) for now. jerry (This used to be commit 0435af4417b876c2ea1dd4591ae7647784c28e30)
2000-10-21Fixes from David Lee for utmp handling.Jeremy Allison1-3/+115
Jeremy. (This used to be commit 70cecfefc8e876871b29ff8d5fa9226db0e98153)
2000-10-07Fix for yp_get_default_domain from Neil Hoggarth ↵Jeremy Allison1-1/+9
<neil.hoggarth@physiol.ox.ac.uk> Jeremy. (This used to be commit 44ed8abb2a9f2197b18565dd23a2795faf8fe241)
2000-06-29simpler configure testAndrew Tridgell1-2/+1
(This used to be commit 7752c14c313bf9b565828181647fb71457167d92)
2000-06-20Fixes for IRIX kernel oplocks and systems that don't have nss.hJeremy Allison1-1/+1
Jeremy. (This used to be commit 711f15ac230092bac000e63f99e8dfaa4a644847)
2000-06-15added support for kernel level share modes. These are a (small) hack,Andrew Tridgell1-0/+19
I suspect we will either get rid of them or do them properly at some stage. (This used to be commit fabe1f350e1fc58db33d22cebd38652950697ced)
2000-06-14fixed autoconf test for kernel change notify supportAndrew Tridgell1-0/+21
(This used to be commit 92d0382c9e1d6d31e6047ca3d78523a3204d36f8)
2000-06-12totally rewrote the async signal, notification and oplock notificationAndrew Tridgell1-1/+1
handling in Samba. This was needed due to several limitations and races in the previous code - as a side effect the new code is much cleaner :) in summary: - changed sys_select() to avoid a signal/select race condition. It is a rare race but once we have signals doing notification and oplocks it is important. - changed our main processing loop to take advantage of the new sys_select semantics - split the notify code into implementaion dependent and general parts. Added the following structure that defines an implementation: struct cnotify_fns { void * (*register_notify)(connection_struct *conn, char *path, uint32 flags); BOOL (*check_notify)(connection_struct *conn, uint16 vuid, char *path, uint32 flags, void *data, time_t t); void (*remove_notify)(void *data); }; then I wrote two implementations, one using hash/poll (like our old code) and the other using the new Linux kernel change notify. It should be easy to add other change notify implementations by creating a sructure of the above type. - fixed a bug in change notify where we were returning the wrong error code. - rewrote the core change notify code to be much simpler - moved to real-time signals for leases and change notify Amazingly, it all seems to work. I was very surprised! (This used to be commit 44766c39e0027c762bee8b33b12c621c109a3267)
2000-06-10continued the split of the kernel level oplocks code into a moreAndrew Tridgell1-1/+0
modular form. In this pass I added oplock_irix.c and added a "struct kernel_oplocks" that describes a kernel oplock implementation. I also removed the maintainence mode from the Makefile. It was causing too much trouble. If someone really likes it they can keep a patch around to enable it themselves. (This used to be commit fbeb9804344ab3aa1dd6635a5524aa09065e04f5)
2000-06-09the Linux F_GETLEASE value has changedAndrew Tridgell1-1/+1
(This used to be commit 2a3c994a96dc96f379c4cffbcc3ca314c3d6d292)
2000-06-08- changed HAVE_KERNEL_OPLOCKS to HAVE_KERNEL_OPLOCKS_IRIXAndrew Tridgell1-4/+21
- added autoconf test for HAVE_KERNEL_OPLOCKS_LINUX (This used to be commit 0368f68529a9244663c199068e95d1a1d93152fa)
2000-05-26Changed MS_DFS to WITH_MSDFS throughout.Shirish Kalele1-2/+2
Fixed trans2 calls on IPC$ to let dfs referral calls through. (This used to be commit e0965a80bdca5239886b11ef55dc29fed261bfc0)
2000-04-30we don't need fnmatch.c any moreAndrew Tridgell1-8/+0
(This used to be commit e23f43e7d3d2a068f527baa63a31f7fe4e60e79d)
2000-04-17got rid of some more old configure tests and includesAndrew Tridgell1-5/+4
(This used to be commit f137648504362479143d50477fa38ebf7147968b)