summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| | * r18593: try to get the same socket_wrapper file building in samba3 and samba4Stefan Metzmacher2006-09-173-3/+29
| | | | | | | | | | | | | | | | | | this is preparation of adding libreplace to samba3 later. metze
| | * r18592: we don't need this twiceStefan Metzmacher2006-09-171-3/+0
| | | | | | | | | | | | metze
| | * r18591: Better defaults for share creationSimo Sorce2006-09-171-6/+13
| | | | | | | | | | | | Fix logic error in paged_results
| | * r18589: make inclusion of net/if.h conditional. It breaks HPUX with gcc.Andrew Tridgell2006-09-161-4/+7
| | |
| | * r18586: fixed a potential fd and memory leak in the socket_wrapper codeAndrew Tridgell2006-09-161-3/+14
| | |
| | * r18584: found one of the fd leaks. The registry backend was using aAndrew Tridgell2006-09-165-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | talloc(NULL, xxx) to allocate the registry context. That had two consequences 1) it was a massive memory leak, as all winreg operations leaked their entire context (including an open ldb database) every time 2) event_context_find() never found the exsting event context, so we used a new event context each time, which called epoll_create() each time, which caused a fd to be allocated
| | * r18563: - move more of the header checks into lib/replace/Andrew Tridgell2006-09-152-9/+27
| | | | | | | | | | | | | | | | | | | | | | | | - change the test for net/if.h to do a full compile, not just an existance test. net/if.h is completely broken on hpux, and can never compile (it uses stuff before it defines it), so by using a AC_TRY_COMPILE() test we avoid using net/if.h on hpux, which should fix the build
| | * r18561: Fix [out] pointers in winreg IDLGerald Carter2006-09-151-7/+7
| | |
| | * r18553: - confdefs.h is always included in configure checks no need to ↵Stefan Metzmacher2006-09-151-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | include them explicit - undefine _XOPEN_SOURCE_EXTENDED for the AIX interface detection test #define _XOPEN_SOURCE_EXTENDED 1 brings in sa_len to sockaddr on Tru64 which means the AIX code compiles... metze
| | * r18549: move gcc version check to libreplace and reorder the tests a bitStefan Metzmacher2006-09-151-6/+10
| | | | | | | | | | | | | | | | | | for nicer output metze
| | * r18548: don't use #elif as we don't notice when 2 HAVE_IFACE_ versions are ↵Stefan Metzmacher2006-09-151-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | defined try to find the problem on Tru64...where configure says the AIX method finds 1 interface but later can't compile netif.c. (revision 18486 was the last that detects ifconf with 2 interfaces) metze
| | * r18544: - use AC_LIBREPLACE_LOCATION_CHECKS in samba4Stefan Metzmacher2006-09-151-0/+2
| | | | | | | | | | | | | | | | | | | | | - to get the ordering right we need to specify AC_CANONICAL_BUILD explicit - add AC_CANONICAL_TARGET metze
| | * r18539: 'make distclean' should delete config.cacheAndrew Tridgell2006-09-144-6/+4
| | |
| | * r18538: we need a pipe here, not a logical ORAndrew Tridgell2006-09-141-1/+2
| | | | | | | | | | | | also fix cn name for this record, and ensure tests/tmp is created
| | * r18537: after testing for poptGetContext, if the test fails, don't try to useAndrew Tridgell2006-09-141-1/+1
| | | | | | | | | | | | the external popt (this affects hpisgr8)
| | * r18536: fixed the loading of external binary files from ldif into ldbAndrew Tridgell2006-09-142-4/+13
| | |
| | * r18535: move the AC_CANONICAL_HOST and host specific flag tests intoAndrew Tridgell2006-09-1412-4/+12241
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libreplace. This should fix the standalone build of tdb on HPUX, where we need to blacklist mmap. Unfortunately this requires that we have a copy of config.guess and config.sub in each of our project subdirectories. I tried to find a way to use something like AC_CONFIG_AUX_DIR($libreplacedir) and just put config.{guess,sub} in the lib/replace/ directory, but I couldn't figure out how to do that in a way that kept autoconf happy for each of our separate builds. Any autoconf guru out there see a way to do this?
| | * r18521: implement volkers suggestion for avoiding the type punning warningsAndrew Tridgell2006-09-142-3/+4
| | |
| | * r18518: we replace snprintf() if its not C99, so we should also add the rep_Andrew Tridgell2006-09-141-2/+2
| | | | | | | | | | | | prototype in that case
| | * r18515: Remove calls to "time" for now as some sh implementations don't have ↵Jelmer Vernooij2006-09-141-2/+2
| | | | | | | | | | | | | | | | | | it, causing this test to fail.
| | * r18514: fix configure caching of AC_VERIFY_C_PROTOTYPE() macroStefan Metzmacher2006-09-141-3/+3
| | | | | | | | | | | | metze
| | * r18505: add configure checks for telldir() and seekdir()Stefan Metzmacher2006-09-143-4/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | telldir() is different on older OpenBSD versions seekdir() is different Tru64 tridge: OpenBSD seems to like this replacement:-) while MAC OS 10 gets 134 runtime error:-( lets wait what Tru64 will give metze
| | * r18504: Handle mappings for RENAME and KEEP attributes better. We don't needAndrew Bartlett2006-09-141-44/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to mess with the values in these cases. Where we do convert the values, try and convert substrings. This isn't going to be perfect, but we should try rather than segfault. This also avoids using the wrong arm of the union for the attribute name The change in the entryUUID module is to correct the case of sAMAccountName, due to the case sensitive ldap.js test. Andrew Bartlett
| | * r18503: - _GNU_SOURCE is defined by libreplaceStefan Metzmacher2006-09-141-0/+4
| | | | | | | | | | | | | | | | | | - move AS_HELP_STRING replacement to libreplace metze
| | * r18502: remove unused linesStefan Metzmacher2006-09-141-10/+0
| | | | | | | | | | | | metze
| | * r18501: libreplace needs 'long long', bailout if not presentStefan Metzmacher2006-09-141-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | or the size is not 8 bytes or more. samba4 doesn't need type checks anymore metze
| | * r18499: this hopefully lets the code compile on OpenBSDStefan Metzmacher2006-09-141-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the prototype was fixed in this revision http://www.openbsd.org/cgi-bin/cvsweb/src/include/dirent.h.diff?r1=1.15&r2=1.16 so we'll need a configure test to find the prototype of telldir later metze
| | * r18495: More work on the LDAP backend (which now passes a lot of our tests!)Andrew Bartlett2006-09-144-59/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a list of attributes that are in our wildcard seaches, but the remote server requires to be explicitly listed. This also cleans up the handling of wildcards in ldb_map to be more consistant. Also fix the partitions module to rebase the search, if on the GC port, we do a subtree search. (Otherwise backends can rightly complain that the search is not in their scope). Andrew Bartlett
| | * r18493: another "blind coding" attempt at a getdirentries() based readdir()Andrew Tridgell2006-09-141-2/+5
| | | | | | | | | | | | replacement
| | * r18492: an attempt at replacing readdir() with something based onAndrew Tridgell2006-09-141-1/+157
| | | | | | | | | | | | | | | | | | | | | getdirentries() This is untested on any of the platforms that matter, so we'll just have to see if the build farm machines like it
| | * r18491: fixed a warningAndrew Tridgell2006-09-131-1/+1
| | |
| | * r18490: on irix _XOPEN_SOURCE_EXTENDED needs to be defined to 1, not justAndrew Tridgell2006-09-131-2/+2
| | | | | | | | | | | | defined
| | * r18488: we have to make sure any extensions flags also make it intoAndrew Tridgell2006-09-132-11/+16
| | | | | | | | | | | | | | | | | | | | | confdefs.h, otherwise the real build and the configure tests will not be significant this change fixes the build of libreplace on hpux with gcc
| | * r18486: hopefully this fixes the panics on solarisStefan Metzmacher2006-09-131-0/+3
| | | | | | | | | | | | metze
| | * r18485: include libreplace.m4 in the aclocal.m4 filesStefan Metzmacher2006-09-1311-13/+14
| | | | | | | | | | | | | | | | | | and use the macros in configure.ac metze
| | * r18479: start hiding libreplace configure tests behind macrosStefan Metzmacher2006-09-133-64/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AC_LIBREPLACE_CC_CHECKS AC_LIBREPLACE_BROKEN_CHECKS and AC_LIBREPLACE_ALL_CHECKS which calls the 2 others I'll add some more, so that samba3/samba4 can later call them in the wanted order and all standalone builds use AC_LIBREPLACE_ALL_CHECKS. metze
| | * r18474: - we don't need to explicit check stdint.h and inttypes.hStefan Metzmacher2006-09-131-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | alsready done by autoconf magic - display the sizes of all standard C types - check for int64_t and uint64_t metze
| | * r18472: - use STDC_HEADERS for stdlib.h and stddef.h as autoconf doesStefan Metzmacher2006-09-132-6/+4
| | | | | | | | | | | | | | | | | | - AC_HEADERS_STDC is not explicit needed metze
| | * r18465: much better fix for a roken specifiv problemStefan Metzmacher2006-09-131-11/+0
| | | | | | | | | | | | metze
| | * r18463: add some more warning flags, tested with gcc 2.95.3 on SuSE 7.3Stefan Metzmacher2006-09-131-1/+11
| | | | | | | | | | | | metze
| | * r18462: make the output a bit nicerStefan Metzmacher2006-09-131-1/+5
| | | | | | | | | | | | metze
| | * r18461: - extend make showflagsStefan Metzmacher2006-09-131-2/+3
| | | | | | | | | | | | | | | | | | - let make test trigger showflags metze
| | * r18460: split out timegm test and only add timegm.o when neededStefan Metzmacher2006-09-133-17/+7
| | | | | | | | | | | | metze
| | * r18458: move wins32 stuff to the top dirStefan Metzmacher2006-09-134-3/+4
| | | | | | | | | | | | metze
| | * r18456: Tru64 doesn't have getdents() so we don't need this ifdef's...Stefan Metzmacher2006-09-131-7/+0
| | | | | | | | | | | | metze
| | * r18455: check if getdents() and getdirentries() are available.Stefan Metzmacher2006-09-131-0/+2
| | | | | | | | | | | | | | | | | | (only for the nicer configure output) metze
| | * r18454: this was just for debugging...Stefan Metzmacher2006-09-131-1/+0
| | | | | | | | | | | | metze
| | * r18452: add configure test for a getdirentries() based replacement for ↵Stefan Metzmacher2006-09-132-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | broken readdir() Tru64 need this, linux also has getdirentries() but the native readdir() works but it means we can write the code on linux and when it works it may work on Tru64 too. tridge: can you try to implement this? metze
| | * r18451: move repdir/ into the top dirStefan Metzmacher2006-09-133-3/+3
| | | | | | | | | | | | metze
| | * r18450: - autogenerate the OBJ_FILES for LIBREPLACEStefan Metzmacher2006-09-136-57/+53
| | | | | | | | | | | | | | | | | | | | | - remove samba specific stuff from libreplace - and include the readdir replacement stuff in the standalone builds metze