summaryrefslogtreecommitdiff
path: root/source3/configure.in
AgeCommit message (Collapse)AuthorFilesLines
2002-04-11added strndup() for systems that don't have itAndrew Tridgell1-1/+1
(This used to be commit 7e92fb7453e4dbf1fe0c32c3dcc1e994cb95b5ea)
2002-04-11Ensure VFS modules will build correctly by adding defines for CPPFLAGSJeremy Allison1-3/+24
defines into acconfig.h - only defined if seen. Jeremy. (This used to be commit 9f2753a1496c51fd56c97984b8def46a651dbfc8)
2002-04-04Use m4-mode when editinging configure.in under emacs.Tim Potter1-1/+2
Use $CC instead of $SHLD for the "test whether building a shared library actually works". At the moment this is failing as $SHLD (and $LDSHFLAGS - look at the value this is set to for Solaris) are designed to be used from a Makefile and not within configure so this test will always fail! Tridge has suggested moving to libtool^H^H^H^H^H a shell script that invokes the right linker with the right args and solves this problem nicely. (This used to be commit 4caf71d5b28e003133bacca153278478d8245989)
2002-04-04Add -D__INSURE__ to the CPPFLAGS if CC=insure.Tim Potter1-0/+7
(This used to be commit fb80ff968cd7634704770586d1918b477579164b)
2002-04-01not all versions of gcc support -rdynamicAndrew Tridgell1-5/+0
for example, gcc 2.95.2 on sco1 doesn't (This used to be commit aa7eab724558af6d2b00975ed13f7407301eafa9)
2002-04-01try to get the summary test working on OpenBSDAndrew Tridgell1-3/+4
(This used to be commit 63702ca3a42670941bcb08b4214fa7e7c38fc1f0)
2002-03-27Removed HAVE_LIBDL from most places (except system.c). Added checks forJeremy Allison1-1/+1
dlopen & friends into configure.in. This should help building on *BSD where dl*** calls are in libc. Jeremy (This used to be commit ac1baba35d7a399bf800ced49a4384e39955e3eb)
2002-03-23Various winbind updates:Andrew Bartlett1-3/+4
- pam_winbind updates from vance, fixing a typo and making some the options work properly. - Extra parinoia in the winbind connection loop - Allow pam_winbind to compile on HP-UX (Don Mcall, more work to do). - Fix up configure.in to use the same method for building the test .so as the Makefile uses. Andrew Bartlett (This used to be commit 8e705dd9215b1cb3f44d6348094679d7dc6a7fbd)
2002-03-19Sync up vfs changes from 2.2.x.Jeremy Allison1-1/+1
Jeremy. (This used to be commit ad1e858d8e72adf924ff435eab8da3e60842e2e6)
2002-03-03Fixed typo for winbind on solaris and hpux.Tim Potter1-2/+2
I have to say that having to link in winbind_nss_solaris.o for hpux is slightly dodgy... (This used to be commit fd172ec603de590dae6c3a91c7baf39c0afebea8)
2002-03-01Fixed EXTRA vs EXTGRA typo. Thanks Mike :-).Jeremy Allison1-1/+1
Jeremy. (This used to be commit 56b1252ebc89d2b4ac54c3ee7e3c4bc3c3ec5d0f)
2002-03-01Attempt to fix Solaris winbind nss build.Jeremy Allison1-6/+17
Jeremy. (This used to be commit 10e3e6855be93b8c4d97d67a063d92ccee391fec)
2002-02-22We can't build shared libs on sco, so no point attempting to export dynamicAndrew Bartlett1-1/+0
symbols. In any case, it broke the build :-( Andrew Bartlett (This used to be commit 8c22ff75d732ed588f8e6d8339c7057bb147d2de)
2002-02-22Get rid of the unused WL variable from the previous patch. I think these wereAndrew Bartlett1-20/+17
meant to be DYNEXP, but I'll confirm that with the original contributor. Thanks to vance for spotting this! Andrew Bartlett (This used to be commit cf9cae48e66a14530b5cc5452a4767479de7ef82)
2002-02-22Add the pdb_plugin module from Jelmer Vernooij <jelmer@nl.linux.org>.Andrew Bartlett1-4/+29
This allow the user to select 'passdb backend = plugin : /path/to/plugin.so : pluging args' And load any arbitary plugin. Apparently Jelmer has a mysql plugin in the works - hence this patch. We probably need to rework the interface a bit before 3.0 (add versioning of some kind) but this is a good start. Andrew Bartlett (This used to be commit d6d18b70f0c377344b0b3d9df5a11d209793bfe0)
2002-02-22Try to catch the compilers that don't handle immidiate structures as well as weAndrew Bartlett1-2/+13
would like. We use them to initialise other struct (lookup) tables, so test that as well. Also try not to segfault during our snprintf tests - test both with a 0 len buffer and without any buffer at all. Andrew Bartlett (This used to be commit 2d80ab7122f34d3bf31cddd26a63929f9c2ced77)
2002-02-20fixed the gssapi lib configure test to not do the test twiceAndrew Tridgell1-4/+2
(This used to be commit 1ce762e96b8d4c39488b59fa73456fe6f2012567)
2002-02-06fix for IRIX toolroot buildsHerb Lewis1-1/+2
(This used to be commit dc3fb2e6dcd92efd7468bd8121fbc49e3dadb8ea)
2002-01-20This is another *BIG* change...Andrew Bartlett1-19/+0
Samba now features a pluggable passdb interface, along the same lines as the one in use in the auth subsystem. In this case, only one backend may be active at a time by the 'normal' interface, and only one backend per passdb_context is permitted outside that. This pluggable interface is designed to allow any number of passdb backends to be compiled in, with the selection at runtime. The 'passdb backend' paramater has been created (and documented!) to support this. As such, configure has been modfied to allow (for example) --with-ldap and the old smbpasswd to be selected at the same time. This patch also introduces two new backends: smbpasswd_nua and tdbsam_nua. These two backends accept 'non unix accounts', where the user does *not* exist in /etc/passwd. These accounts' don't have UIDs in the unix sense, but to avoid conflicts in the algroitmic mapping of RIDs, they use the values specified in the 'non unix account range' paramter - in the same way as the winbind ranges are specifed. While I was at it, I cleaned up some of the code in pdb_tdb (code copied directly from smbpasswd and not really considered properly). Most of this was to do with % macro expansion on stored data. It isn't easy to get the macros into the tdb, and the first password change will 'expand' them. tdbsam needs to use a similar system to pdb_ldap in this regard. This patch only makes minor adjustments to pdb_nisplus and pdb_ldap, becouse I don't have the test facilities for these. I plan to incoroprate at least pdb_ldap into this scheme after consultation with Jerry. Each (converted) passdb module now no longer has any 'static' variables, and only exports 1 init function outside its .c file. The non-unix-account support in this patch has been proven! It is now possible to join a win2k machine to a Samba PDC without an account in /etc/passwd! Other changes: Minor interface adjustments: pdb_delete_sam_account() now takes a SAM_ACCOUNT, not a char*. pdb_update_sam_account() no longer takes the 'override' argument that was being ignored so often (every other passdb backend). Extra checks have been added in some places. Minor code changes: smbpasswd no longer attempts to initialise the passdb at startup, this is now done on first use. pdbedit has lost some of its 'machine account' logic, as this behaviour is now controlled by the passdb subsystem directly. The samr subsystem no longer calls 'local password change', but does the pdb interactions directly. This allow the ACB_ flags specifed to be transferred direct to the backend, without interference. Doco: I've updated the doco to reflect some of the changes, and removed some paramters no longer applicable to HEAD. (This used to be commit ff354c99c585068af6dc1ff35a1f109a806b326b)
2002-01-14I like --enable-developer, but I find it rather usless when all it gets me is aAndrew Bartlett1-1/+5
screen-full of kerberos warnings. This is almost as good, and I can actually see the Samba warnings. Andrew Bartlett (This used to be commit 35a6275e186cbd7b1f2190265b47112f1d082c06)
2002-01-10We need to test for major/minor macros.Jeremy Allison1-0/+24
Jeremy. (This used to be commit ee8c8add7f83d7a794546769c59c85ef8bb5b89a)
2002-01-10Getting ready to add UNIX extensions in HEAD also.Jeremy Allison1-1/+14
Jeremy (This used to be commit 6210d4aa196c944e47076e316980f76ac9c6b02d)
2002-01-09Added tests for st_blocks in struct stat, and added a (hateful) constantJeremy Allison1-1/+16
the specifies the units that st_blocks is in. The reason for this is that HPUX uses 8k, AIX uses a #defined constant and everyone else (tm) uses 512 byte units. Needed for the CIFS UNIX extensions - coming to a Samba server near you soon.... :-). Jeremy. (This used to be commit 38cfffea5f0d7f5ff676f83204a2923247dce9d5)
2002-01-09Better explanation message for dmalloc.Martin Pool1-2/+2
Also more insertion of parenthesis to handle struct members called 'free'. You can now get useful dmalloc output, as long as it is compatible with your C library. On RH7.1 it looks like you have to rebuild dmalloc to allow free(0) by default, because something in libcrypt does that. (sigh) (This used to be commit 391cbb690196537c8b6292b42c2e27408cc7e249)
2002-01-09With --enable-dmalloc, also use dmalloc's wrappers around routinesMartin Pool1-0/+2
like strcat (This used to be commit fb8ab69b6f638c41d734282488be91d85b4ec057)
2002-01-08- fixed my breakage of CPPFLAGSAndrew Tridgell1-11/+11
- allow winbindd and wbinfo to build without shared libraries (This used to be commit d5db2518be8458f24f66eaa17434504b994ebb9a)
2002-01-07- use CFLAGS when linking shared libs (for things like -64 on irix)Andrew Tridgell1-2/+2
- don't attempt to build winbindd if we can't do shared libs (This used to be commit c98158f3f818118fb13cc7ae6f45634204343b46)
2002-01-07Spelling fix.Tim Potter1-1/+1
(This used to be commit dfcc97a15837e2d13561e023ad5a7532faa441b8)
2002-01-03Add instructions on using dmalloc.Martin Pool1-0/+8
(This used to be commit ee6d33a8db2afc43c8784f2e43572ae8959126e5)
2002-01-01try to handle broken const in headers on cray unicosAndrew Tridgell1-0/+8
(This used to be commit 8143052e6917d4ae774192ed463ea7359cf0a5fb)
2001-12-31added a simple test to see whether building shared libraries actuallyAndrew Tridgell1-0/+18
works (This used to be commit 3aeefbca4f272f57e83e753177ee6e8157b2dbd5)
2001-12-31cope with systems that don't have full gssapi libsAndrew Tridgell1-1/+5
(This used to be commit c4d928e55fe99a3a1c4e53508a44949f92d74219)
2001-12-30Make Samba compile on RH 6.2 again.Andrew Bartlett1-1/+1
We now include the libber.h file if required, but currently we just don't use ldap. (I'll chase this up). In the meantime, I've moved the ads_status code about, its now in its own file, and has a couple of #ifdefs to allow smbd to link - becouse the lack of LDAP caused HAVE_ADS to be undefined. (I hope its not too ugly). Andrew Bartlett (This used to be commit 14407c87e2dcccae1784290e3eb7a2d611516aff)
2001-12-30When running interactive we want to set our own process group forJeremy Allison1-1/+1
signal management. Jeremy. (This used to be commit fffae94dd5699f44c0b1c8081587deafd89b3fc0)
2001-12-22merge IRIX winbind support from Samba 2.2 branchHerb Lewis1-1/+1
(This used to be commit 20c5f042e3bb79ff96a993c70b843908dcfafb65)
2001-12-21updated ldap test to test for less common functionAndrew Tridgell1-2/+1
(This used to be commit 831f25a9a7ef3f5481c531b3a5ff514fa8b6d81e)
2001-12-20Add --enable-dmalloc to link against the dmalloc malloc debugger.Martin Pool1-0/+8
It's not as strong as Insure, but it's free, reasonably efficient and works on every platform. (This used to be commit e76d27fcdb33df5212ca5b0ce53c77ed8ca58906)
2001-12-19Added AC_CHECK_FUNCS(syslog vsyslog).Jeremy Allison1-0/+1
nsswitch code uses vsyslog without checking for it. Provide replacement for vsyslog in lib/snprintf if not found by configure. Jeremy. (This used to be commit ab2e55cdb376d6699c9a09fac243fba7d3840447)
2001-12-15Added HPUX ACL code.Jeremy Allison1-25/+29
Jeremy. (This used to be commit 6d03184f8c039ad81de47b5f3bde7dac5b2815ad)
2001-12-14Updated Solaris link options from DaveCB.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 064a3e0fc406d5ab408da0fbfbf68c89ce8defdd)
2001-12-12allow IRIX to build nsswitch/libnss_wins.soHerb Lewis1-1/+1
(This used to be commit 564bfd77287b3006c7246065990ca9b91f79826a)
2001-12-10Delay gssapi header checking until after kerberos has been located. Wasn't ↵Jim McDonough1-1/+4
working on RedHat systems because of /usr/kerberos install location. (This used to be commit 55d55e311e67ea75e13c4a81fe3033b43bed38ca)
2001-12-10(merge 1.130.4.93) Display results of checks for shared libraries.Martin Pool1-0/+7
(This used to be commit d7853d993796a3f5baea26933cb0e65651c2e605)
2001-12-08check for gssapi_generic.hAndrew Tridgell1-1/+2
(This used to be commit 838fbac7a086ff82498c3f0ba95b714123a7428c)
2001-12-08added internal sasl/gssapi code. This means we are no longer dependent on ↵Andrew Tridgell1-1/+2
cyrus-sasl which makes the code much less fragile. Also added code to auto-determine the server name or realm (This used to be commit 435fdf276a79c2a517adcd7726933aeef3fa924b)
2001-12-05merge from 2.2Herb Lewis1-5/+5
don't set WINBIND variables unless configure was run --with-winbind (This used to be commit 83ec4c0f4dbfa43c893f18af1c6bb58c55043c9b)
2001-12-05dont add -I./popt to CFLAGS it really belongs in FLAGS1 with other includeHerb Lewis1-1/+2
paths. This make it hard to use a script that overrides CFLAGS options. (This used to be commit 646b5ae752f7cd00e057d0d7cc6001161125fd3f)
2001-11-30we need to look for liblber before libldapAndrew Tridgell1-1/+6
(This used to be commit 93a652b705e99df6cd493eacb1a8a61a3a2b82f7)
2001-11-30XFS quota patch for Linux.Jeremy Allison1-0/+3
Jeremy. (This used to be commit ce099faf6ce07e14bd9610960bd09f56c5bee864)
2001-11-29Fix up the ./configure tests for kerberos. This ensures a more consistantAndrew Bartlett1-4/+1
behaviour no matter if kerberos was found automatically, found in the /usr/kerberos path or was specified. (This used to be commit 4e212f728c429b986bb3e2230fbc9cd4bcf6dd40)