summaryrefslogtreecommitdiff
path: root/source3/lib/replace
AgeCommit message (Collapse)AuthorFilesLines
2008-01-05Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-testJelmer Vernooij1-0/+4
(This used to be commit 5a30f6377d37d8a5cadce4fb9a2fc19b78fc1709)
2008-01-05selftest: Use platform-specific equivalents of LD_LIBRARY_PATH for Samba4's ↵Jelmer Vernooij1-13/+154
smbtorture. (This used to be commit 64ff1dad8664f14030c7d78c252d946216798a88)
2007-12-25Host SerNet-AIX has __ss_family instead of ss_family in sockaddr_storageVolker Lendecke1-0/+4
(This used to be commit e33286f4a68352e55df081d06307f64f190773b3)
2007-12-17Fix bug #5121 (unix passwd sync not working on a streams basedJeremy Allison2-0/+5
system). Jeremy. (This used to be commit 545cd2139cfc9484b733693814d4724d37125942)
2007-12-11Add patches for bug #4866 from jiri sasek - Sun Microsystems - Prague Czech ↵Jeremy Allison2-0/+14
Republic <Jiri.Sasek@Sun.COM> - slightly modified - Jiri please check ! to allow Solaris to get passwords > 8 chars. Jeremy. (This used to be commit 657bf8c3479d6192f269e3daef1517e77a9fa9cb)
2007-12-03Reformat configure checks for broken capabilities.h.Michael Adam1-16/+24
Michael (This used to be commit 834a16225a8fb905a8f870a17ba67670e622eccc)
2007-12-03Move check for broken system capabilites.h headers to lib/replace.Michael Adam1-0/+30
Michael (This used to be commit 8ec10c4ab1aa890c9f03d34bd872c93ae5c4d84c)
2007-12-03Add check for ppc statfs.h header to workaround for broken capabilities.h.Michael Adam1-1/+3
Taken from s3:lib/system.c Michael (This used to be commit 07e6cfdc626c2778292e5b0b338a35046c482cf9)
2007-11-26Fix bug 5055Volker Lendecke1-1/+1
(This used to be commit 8bcd2df841bae63e7d58c35d4728b7d853471697)
2007-11-15Add MAX_DNS_NAME_LENGTH, remove more pstrings.Jeremy Allison1-0/+4
Jeremy. (This used to be commit a1725f4ff7ed375808c78ac661b539557748d0a5)
2007-11-16Fix the build on RHEL5, when libcap-devel is installed.Michael Adam1-0/+9
The /usr/include/sys/capability.h defines _LINUX_TYPES_H which prevents /usr/include/linux/types.h from being parsed (when included afterwards). Thus certain types are undefined that are for instance needed in /usr/include/linux/dqblk_xfs.h. This breaks the build of lib/sysquotas_xfs.c. This commit adds a configure check and a workaround for this. Michael (This used to be commit 11bcdf780e164659b89a66e24edc27e89da7619a)
2007-11-10Always define PATH_MAX. Makes code simpler (removesJeremy Allison1-0/+4
a bunch of #defines). Remove pstring from msdfs.c. Jeremy. (This used to be commit e203ba22275320808bc11b17361ad1f2d5b0b897)
2007-11-09libreplace: AC_VERIFY_C_PROTOTYPE() needs AC_LANG_SOURCE() to bring in ↵metze1-2/+2
confdefs.h metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25870 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 95dfbd3a6c22ff6381c8b220b06ec3a5cf59c06b)
2007-11-09libreplace: solaris has different prototypes for getpwent_r and getgrent_rmetze1-0/+32
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25867 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 77900d2ba03455412ad645e757ba468ca90453fb)
2007-11-09libreplace: check for nss passwd|group get*_r functionsmetze1-0/+2
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25865 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 8e81dd7356eb8422284a93bfc9b55ed1523c8208)
2007-11-09Try to fix building dso's on hpux with gccjelmer1-1/+5
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25886 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 4642af8026f086488672a51a0ecce2603e65f4ce)
2007-11-09Try to get some more flags right.jelmer1-4/+4
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25880 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit ccb39b18448376b094680fa927c60159cc5ec566)
2007-11-09Add libreplace macro for soname flags.jelmer1-0/+41
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25877 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 81167d8f38e11423bcde5305f9e77ec268b0cf2e)
2007-11-09Try to fix the build on some HPUX machines.jelmer1-3/+1
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25875 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 8d1f54f45d9b8278e5e031d016b1e7b44d3b1a22)
2007-11-08Remove more fstring/pstring bad useage. Go talloc !Jeremy Allison1-1/+1
Jeremy. (This used to be commit 2a0173743d2cf615d52278f3dd87cc804abe2d16)
2007-11-08libreplace: we need to link to make sure the functions are availableStefan Metzmacher1-1/+1
metze (This used to be commit 130de20d646fe14f494b021a98d6855c7b5b2a1a)
2007-11-06Fix bug where tdb lock call interrupted withJeremy Allison2-0/+8
an alarm sig would not terminate and could lead to runaway smbd processes. Thanks to Dave Daugherty @ Centrify for pointing this out to us. Jeremy. (This used to be commit ef8da1698371c95495add53df81a978df709c88d)
2007-11-06libreplace: we should only have one location where we check for required ↵metze1-4/+1
functions metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25864 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 760f24f10cbea7ce22acd0772fb5b125f718d129)
2007-11-06libreplace: we need include <unistd.h> before nss_wrapper.hmetze1-0/+3
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25863 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 20ec1f472566bbc570fa138cce5dbd0407aef530)
2007-11-06Fix export dynamic for HPUX.jelmer1-4/+12
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25861 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 4d02b1344b76c6147944188161f73ad3917b8abc)
2007-11-06Remove flag that causes problems on some hosts.jelmer1-1/+1
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25860 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 57bea8cd02cb7964bbb64ba26b83c372f0e12b94)
2007-11-06Wrap native HPUX functions in dl implementation.jelmer1-0/+16
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25859 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 0ec16729299887b4a80a7e24fbd1750632276691)
2007-11-06Check for HPUX dl functions.jelmer1-0/+5
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25855 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 9f862e9faf0fa9cddfcc2f87d9f247082718b3e0)
2007-11-06Move SHLIBEXT determination into a test as well.jelmer1-0/+18
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25852 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 322cf8002bab1e449616d9fcea0bd4c9535cfe6a)
2007-11-06Move system-specific ldflags checks to libreplace so they can be used by ldb.jelmer1-0/+38
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25851 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 63b7690335360a073dc1ae111f740a7934f1a92f)
2007-11-06Add macro for picflag.jelmer1-0/+55
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25850 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 48c70f604071fcf7c0887fe0136bdc2dda4c8ff4)
2007-11-06Add configure test for -Wl,--export-dynamic.jelmer2-0/+11
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25846 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 4904af51cdccd4e52d2805bd62f39276447c4646)
2007-11-06libreplace: include nss_wrapper.h if NSS_WRAPPER is definedmetze1-0/+7
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25838 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 809fee4bef66eb8b8687f88257c0d6f77d3b4063)
2007-11-02Fix the snprintf checks, and fix a typo in pointer indirection.Jeremy Allison1-5/+5
These fixes are needed for a working getaddrinfo etc. replacement. Fixes from Wayne Davison <wayned@samba.org> from rsync. Jeremy. (This used to be commit 494bf6293bedbda4b10aa2eae452377b8130cd01)
2007-10-27Two patchesVolker Lendecke1-0/+1
Hi! Can you check and push them? Thanks, Volker From b488af5905e2dee12a1a72a3b40801ae5c26f24f Mon Sep 17 00:00:00 2001 From: Volker Lendecke <vl@sernet.de> Date: Sat, 27 Oct 2007 14:20:09 +0200 Subject: [PATCH] Fix some warnings and errors (This used to be commit e17d3e10e860c96b6d5208e5fe51e43b8e58c174)
2007-10-25Try and fix the Solaris build by adding a missing defineJeremy Allison1-0/+5
(from Jerry). Jeremy (This used to be commit a68bbea0d42cc64b9fa731ab2a1da82ef30937c6)
2007-10-25[libreplace] define AI_NUMERICSERV as it's used in getaddrinfo.cmetze1-0/+11
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25728 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 11a977aa0757801fb0fa805b123e7bc75c8be447)
2007-10-25[libreplace] move and fix getaddrinfo configure checksmetze2-30/+33
- move getaddrinfo check into getaddrinfo.m4 - add getaddrinfo.o to LIBREPLACEOBJ so that we really build the replacements metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25726 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit de01c503f4d16b8c3c0ad75225cf0b1822fd8c7f)
2007-10-25- include getaddrinfo.h after we have defined struct addrinfometze3-16/+24
- use rep_ instead of pg_ as prefix in getaddrinfo.[ch] - define HAVE_<name> macros when we replace functions metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25724 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit e56977ea459b3615d33237d19ed8e7ad8b509853)
2007-10-25[libreplace] if we replace types define the HAVE_<type> macrometze1-0/+3
this is needed as heimdal's roken.h also tries to replace the types metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25718 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit b81d8bc43cd7167a5cd4b18c26ba3eecf75043eb)
2007-10-25[libreplace] move definition of struct addrinfo so that it can use socklen_tmetze1-15/+13
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25715 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 45150075677451b48ce56ebdce96aca1ed13fa80)
2007-10-25[libreplace] move define of a constant to near to the othersmetze1-4/+4
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25714 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit fa120f7c50d0084e7d887811e5fa59ae3bcfe53e)
2007-10-25[libreplace] include socket_wrapper.h after we have typedef'ed socklen_tmetze1-7/+7
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25713 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit f1d434a132e424f2fdce59d51a7c398988c1474d)
2007-10-24We do support name lookups for host and service in our replacementJeremy Allison1-5/+0
code - remove the restrictions from the original Postgres code. Jeremy. (This used to be commit bc9008aa1dcb66890795f0ff2d3046da7df867d9)
2007-10-18[libreplace] fix the standalone build of libreplaceStefan Metzmacher2-28/+34
all configure results which are used in replace.h or any system/*.h should be in the in the libreplace *.m4 files! metze (This used to be commit 1eefa0264bb1a304a30ec4c7c6e2392c627ee6a3)
2007-10-17delete empty file lib/replace/system/getaddrinfo.hStefan Metzmacher1-0/+0
metze (This used to be commit 354bdd38e8714b789daffc897cd843a8d401be45)
2007-10-16Move #defined for getaddrinfo into network.h (as otherJeremy Allison2-84/+91
defines). Allows RHEL4 compile to work. Jeremy. (This used to be commit 0ffdf4fdeea88c21880c8bf69d8db56fb49effa7)
2007-10-16Added in missing def for AI_ADDRCONFIG.Jeremy Allison1-0/+4
Jeremy. (This used to be commit 3ef3c3afc3f56b0f4fdb384d55d2e712060fbedf)
2007-10-15rename getsmbpass -> rep_getpass and provide the function prototypeStefan Metzmacher2-2/+3
metze (This used to be commit 96820f8d8f6522fc264efda0f069e2f6a420ac2e)
2007-10-15use "system/*.h" to get the system includesStefan Metzmacher1-15/+3
metze (This used to be commit d20c2fa274297e9577ed28b8ed04806a425bdc57)