summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r18537: after testing for poptGetContext, if the test fails, don't try to useAndrew Tridgell1-1/+1
the external popt (this affects hpisgr8) (This used to be commit 9afbd60f91bca84dd645372ed7139e42f712384d)
2007-10-10r18536: fixed the loading of external binary files from ldif into ldbAndrew Tridgell2-4/+13
(This used to be commit fbe13ed83e2f3508db6d77f4bd65a913ef12ff02)
2007-10-10r18535: move the AC_CANONICAL_HOST and host specific flag tests intoAndrew Tridgell12-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? (This used to be commit 823cd3ab35456769dcefee17bdaca21f01ba0f63)
2007-10-10r18521: implement volkers suggestion for avoiding the type punning warningsAndrew Tridgell2-3/+4
(This used to be commit 9b9f058edb033c999c4430add4f05459ac43c9e2)
2007-10-10r18518: we replace snprintf() if its not C99, so we should also add the rep_Andrew Tridgell1-2/+2
prototype in that case (This used to be commit 64b5ff171d04bd93bd41309edfbe532c01a46e4f)
2007-10-10r18515: Remove calls to "time" for now as some sh implementations don't have it,Jelmer Vernooij1-2/+2
causing this test to fail. (This used to be commit fc3f41a4ab38fd32386c5bdb1979cc26892afcf8)
2007-10-10r18514: fix configure caching of AC_VERIFY_C_PROTOTYPE() macroStefan Metzmacher1-3/+3
metze (This used to be commit 8e49dc69e7d588c85c9e9e7b24b595c61c1da95a)
2007-10-10r18505: add configure checks for telldir() and seekdir()Stefan Metzmacher3-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 (This used to be commit 1f4e602ff239b7feabb2dd1d6938dedf91bde5cd)
2007-10-10r18504: Handle mappings for RENAME and KEEP attributes better. We don't needAndrew Bartlett1-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 (This used to be commit 81d9a692c1e74ec9078bf718003eafdba85b4324)
2007-10-10r18503: - _GNU_SOURCE is defined by libreplaceStefan Metzmacher1-0/+4
- move AS_HELP_STRING replacement to libreplace metze (This used to be commit ace406a36ebbed230bf6c844e4639bac5e6c9882)
2007-10-10r18502: remove unused linesStefan Metzmacher1-10/+0
metze (This used to be commit 37f55c08c304feddf2ca5d0d20deeb9a6317e2c3)
2007-10-10r18501: libreplace needs 'long long', bailout if not presentStefan Metzmacher1-0/+7
or the size is not 8 bytes or more. samba4 doesn't need type checks anymore metze (This used to be commit d8fdd05482fc6b9bfb48d72db6b467e3e5c05e4d)
2007-10-10r18499: this hopefully lets the code compile on OpenBSDStefan Metzmacher1-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 (This used to be commit c4da3b43640368aff98e501b6ca7801821fd2fbd)
2007-10-10r18495: More work on the LDAP backend (which now passes a lot of our tests!)Andrew Bartlett4-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 (This used to be commit bc58792b7102f086b19353635d5d5ef9d40a0aae)
2007-10-10r18493: another "blind coding" attempt at a getdirentries() based readdir()Andrew Tridgell1-2/+5
replacement (This used to be commit 94b73d692bf85604c7be811bad0b8c6a08b18103)
2007-10-10r18492: an attempt at replacing readdir() with something based onAndrew Tridgell1-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 (This used to be commit 343b0871b16c86b68badd4581420f475f94e79c9)
2007-10-10r18491: fixed a warningAndrew Tridgell1-1/+1
(This used to be commit 1b17f0f08f85238717e88966cba311ff4b933a9a)
2007-10-10r18490: on irix _XOPEN_SOURCE_EXTENDED needs to be defined to 1, not justAndrew Tridgell1-2/+2
defined (This used to be commit 39d984738b1931e16cb0e6abfdb58108fc97da90)
2007-10-10r18488: we have to make sure any extensions flags also make it intoAndrew Tridgell2-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 (This used to be commit d37fc315325c93414ce0942d28f0f47b42873b95)
2007-10-10r18486: hopefully this fixes the panics on solarisStefan Metzmacher1-0/+3
metze (This used to be commit 22cfc3404ccb621dad194fe04c5f2885fb16f79c)
2007-10-10r18485: include libreplace.m4 in the aclocal.m4 filesStefan Metzmacher11-13/+14
and use the macros in configure.ac metze (This used to be commit 95d33e4d71b4c97af8413bcd136f393aa3e380dd)
2007-10-10r18479: start hiding libreplace configure tests behind macrosStefan Metzmacher3-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 (This used to be commit e7a30456c76f4bf9a79cdcff6b15c894bc20c954)
2007-10-10r18474: - we don't need to explicit check stdint.h and inttypes.hStefan Metzmacher1-8/+17
alsready done by autoconf magic - display the sizes of all standard C types - check for int64_t and uint64_t metze (This used to be commit 371a33a871b67f12af177696bae6aa87d2c1d9f9)
2007-10-10r18472: - use STDC_HEADERS for stdlib.h and stddef.h as autoconf doesStefan Metzmacher2-6/+4
- AC_HEADERS_STDC is not explicit needed metze (This used to be commit 8f20d2cfe564164ea049dbb9f52d885e11098c2a)
2007-10-10r18465: much better fix for a roken specifiv problemStefan Metzmacher1-11/+0
metze (This used to be commit 1ae1e68fe9e1004f1a11847714b2e71715a1ce03)
2007-10-10r18463: add some more warning flags, tested with gcc 2.95.3 on SuSE 7.3Stefan Metzmacher1-1/+11
metze (This used to be commit 553a90cbe200d2030e4caefe949b48d63abe382d)
2007-10-10r18462: make the output a bit nicerStefan Metzmacher1-1/+5
metze (This used to be commit 0b61ea3ed7b833dbb5a7ca8ef2bb29c1b68f5cad)
2007-10-10r18461: - extend make showflagsStefan Metzmacher1-2/+3
- let make test trigger showflags metze (This used to be commit 43c1d775b900b305345afe394383b78e83e4e5cb)
2007-10-10r18460: split out timegm test and only add timegm.o when neededStefan Metzmacher3-17/+7
metze (This used to be commit f9bff4dbdad8c7acc649d13a5666b58967bf5d92)
2007-10-10r18458: move wins32 stuff to the top dirStefan Metzmacher4-3/+4
metze (This used to be commit 521e94f2693eab9053d9e3f1bbc56cdf2e0adbcd)
2007-10-10r18456: Tru64 doesn't have getdents() so we don't need this ifdef's...Stefan Metzmacher1-7/+0
metze (This used to be commit 5af86eb3f07e26aead67ab0dd46576e0aefe8eb4)
2007-10-10r18455: check if getdents() and getdirentries() are available.Stefan Metzmacher1-0/+2
(only for the nicer configure output) metze (This used to be commit d53eb6bd10903d696c5ed9aad3bca3ddf35b2b51)
2007-10-10r18454: this was just for debugging...Stefan Metzmacher1-1/+0
metze (This used to be commit f9f14a94297d72af13b043db99fa892e5e3dcb46)
2007-10-10r18452: add configure test for a getdirentries() based replacement for ↵Stefan Metzmacher2-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 (This used to be commit dd791d255ca61159b38a59b89f954a61fc5e9cf6)
2007-10-10r18451: move repdir/ into the top dirStefan Metzmacher3-3/+3
metze (This used to be commit a564194817d9b78e353abb6bf0548b2dd9eb130b)
2007-10-10r18450: - autogenerate the OBJ_FILES for LIBREPLACEStefan Metzmacher6-57/+53
- remove samba specific stuff from libreplace - and include the readdir replacement stuff in the standalone builds metze (This used to be commit 3cac61152ef9a32313d7f7e5d38651f03a31f251)
2007-10-10r18445: splitout the dlfcn related testsStefan Metzmacher2-10/+20
metze (This used to be commit 8662e1481504c50a45416ae09ec19b834164e77c)
2007-10-10r18444: return the correct value on errorStefan Metzmacher1-2/+3
metze (This used to be commit d65e94fea910ff435b5cb6fe146f81b01df9abf6)
2007-10-10r18443: add object files only when neededStefan Metzmacher2-1/+4
metze (This used to be commit 5fddb66def8dd29a9f8d13b4b679df26aca6cfab)
2007-10-10r18442: run the os2_delete test in the testsuite tooStefan Metzmacher4-12/+25
that shows that Tru64 is broken... It doesn't have getdirent() and the the replacement code doesn't work there. tridge: do you have any idea how to fix this? metze (This used to be commit a5ebfd0ab71f4f4288697f6fd3183a440ce7506b)
2007-10-10r18439: 2nd try at a talloc_move() api. This type with the ** ptr interfaceAndrew Tridgell14-32/+34
exposed. Unfortunately this generates a large number of type punning warnings. We'll have to find some magic to hide those. (This used to be commit 254cbf09dee5a1e20c47e47a298f1a8d172b41b9)
2007-10-10r18438: I should have examined these uses of talloc_move() moreAndrew Tridgell3-10/+5
carefully. Most of them are OK, but a couple were not. (This used to be commit b0de2838829d9750817c31f28c11c6b2be6e7b64)
2007-10-10r18437: added a 'make valgrindtest' target for ldbAndrew Tridgell1-0/+3
(This used to be commit 4c33c6bb97f3b25b611c476be4c914031e55e4dc)
2007-10-10r18436: converted ldb to use talloc_move() instead of talloc_steal() whenAndrew Tridgell11-76/+31
appropriate. Note that I also removed the error checks that were being done on the result of talloc_steal(). They are pointless as talloc_steal() doesn't have any failure modes that wouldn't cause a segv anyway, and they tend to clutter the code (This used to be commit c0d9e7d473b8e3eb2524a9fc29cf88680f994b36)
2007-10-10r18435: added a function talloc_move() which is like talloc_steal(), but isAndrew Tridgell4-3/+61
meant for moving pointers between structures. The difference is that talloc_move() will zero the source pointer, thus ensuring you don't reference the pointer in the old context. talloc_move() is appropriate in some, but not all cases where we use talloc_steal() now. The interface came out of a discussion with Jeremy. (This used to be commit 200756017e1867faa207703eddc00a75ae4527df)
2007-10-10r18432: ensure roken doesn't try to include both inttypes.h and stdint.h. TheAndrew Tridgell1-0/+3
two conflict on irix. (This used to be commit 4dd949c80d4400c3a80571cc28f599c37c1fcf7b)
2007-10-10r18428: add my copyrightStefan Metzmacher1-1/+2
metze (This used to be commit d222fab2b5fcd44ad7825e605a9febbe9d211e7a)
2007-10-10r18427: set sin_port correctly on autobound socketStefan Metzmacher1-2/+4
metze (This used to be commit d373890fb26f3a593bacdb374f10d4279822b97d)
2007-10-10r18426: use 'family' consistantly instead of mixing 'domain' and 'family'Stefan Metzmacher2-17/+14
metze (This used to be commit 224f26602ac78dbdabd4602bce42e31141102f6c)
2007-10-10r18424: there's no need to allocate a wrapped socket for unix sockets,Stefan Metzmacher1-21/+16
also this makes sure the socket file isn't unlinked if using socket wrapper. metze (This used to be commit 7670e9ae6e8e64ddb3c7d99b3d44048519629225)