summaryrefslogtreecommitdiff
path: root/source3/lib/replace/system
AgeCommit message (Collapse)AuthorFilesLines
2008-02-01NetBSD does not support AI_ADDRCONFIGVolker Lendecke1-0/+7
(This used to be commit fb3f7f4046fa195baf5116598772d9016238637f)
2008-01-22libreplace: getpwent_r/getgrent_r on IRIX are similar to solaris but use size_tStefan Metzmacher1-0/+25
metze (This used to be commit 2f460915111066d79f5dc9b4ae4d003918d06852)
2008-01-18Revert "Host SerNet-AIX has __ss_family instead of ss_family in ↵Stefan Metzmacher1-4/+0
sockaddr_storage" This reverts commit e33286f4a68352e55df081d06307f64f190773b3. 393bab185e0e9f02aac5740becc2aba2762133c8 is the v4-0-test fix for the same problem. metze (This used to be commit b8a57a24c390355c4950ca499c1d96aff80abad7)
2008-01-18r26550: libreplace: fallback to __ss_family of struct sockaddr_storageStefan Metzmacher1-0/+9
metze (cherry picked from commit 11bdc9bed80b9842ac1ab8f22509a5d191cddc91) (This used to be commit c11122afda52ce787dd1d3357bd85b6ce36b8ca4)
2008-01-18r26102: libreplace: remove system/printing.h as it only contains samba3 stuffStefan Metzmacher1-50/+0
metze (cherry picked from commit 1ecb4ec01b0506c95a5f90a62040329e7a39ee93) (This used to be commit ff8a001f0d3f2655efafed41f2f0b14552a5c7e7)
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 Allison1-0/+4
system). Jeremy. (This used to be commit 545cd2139cfc9484b733693814d4724d37125942)
2007-12-11Add patches for bug #4866 from jiri sasek - Sun Microsystems - Prague Czech ↵Jeremy Allison1-0/+4
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-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-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-06Fix bug where tdb lock call interrupted withJeremy Allison1-0/+4
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 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-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-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- include getaddrinfo.h after we have defined struct addrinfometze1-4/+5
- 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-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 Allison1-4/+91
defines). Allows RHEL4 compile to work. Jeremy. (This used to be commit 0ffdf4fdeea88c21880c8bf69d8db56fb49effa7)
2007-10-15rename getsmbpass -> rep_getpass and provide the function prototypeStefan Metzmacher1-1/+2
metze (This used to be commit 96820f8d8f6522fc264efda0f069e2f6a420ac2e)
2007-10-15missing stuff from samba4's libreplaceStefan Metzmacher1-0/+4
metze (This used to be commit 0177158d85797e0d22c81d88175a77d4ad5ed711)
2007-10-15don't imply "system/network.h" within replace.h,metze1-1/+11
as this brings in the socket_wrapper.h in unexpected code and we endup with a missing 'swrap_close' while linking metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25602 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit ec8e3f7f92522c65ec472058321db8a7ac30ec4c)
2007-10-10Merge from metze of libreplace header changesJeremy Allison1-0/+10
(This used to be commit d39ce8e37ed81f4a34a148f975874989d8d187a1)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter1-0/+0
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r25557: merge libreplace fixes from samba4Jelmer Vernooij1-158/+0
(This used to be commit 8c1669997c53f0f7bfb9a794083afd01b131f676)
2007-10-10r25507: Fix definition of struct sockaddr_storage ifJeremy Allison1-0/+5
struct sockaddr_in6 is defined. Jeremy. (This used to be commit 4cf17df5caeb2b0220f6a7dd82d5fed5aca56850)
2007-10-10r25505: Add a replacement (IPv4 only) implementation of getaddrinfo/freeaddrinfoJeremy Allison2-1/+163
under the 2 clause *BSD license for future use in IPv6 code. Original code was from PostgreSQL and I've maintained their license even though I've rewritten large parts of it (I probably should donate this back to them). Jeremy. (This used to be commit 760d993340a966269d71acfb7a6b5e4d3776ac5d)
2007-10-10r25495: Fixup definitions for missing sockaddr_storage.Jeremy Allison1-1/+2
Jeremy. (This used to be commit d980ee5040f2ab9e7408218d13962dd64e2b33b1)
2007-10-10r25487: Try fix the build - fix socklen_t and sa_family_t.Jeremy Allison1-0/+8
Jeremy. (This used to be commit 2cab82563409eca79ac5f518a3dcb8cdbdcded7e)
2007-10-10r25474: Try and fix the build on Mac OS X 10.4.9.Jeremy Allison1-0/+4
Shuffle sa_family_t around. Jeremy. (This used to be commit f1b8c5de0ae96e04e340029f5cd544de9ac57b32)
2007-10-10r25472: Fix the interfaces code to detect IPv6 interfaces, using theJeremy Allison1-0/+12
new standard getifaddrs() and freeifaddrs() interfaces. Currently we only return IPv4 af_families. Needs fixing for binds to IPv6 but this has to be careful work. Jeremy. (This used to be commit 327875182c9219aeba687e10aaea93546d9a70ea)
2007-10-10r25232: sync lib/replace with SAMBA_4_0Stefan Metzmacher1-8/+0
metze (This used to be commit 828d2ca0610ab5ee3b96d187b3432b9b4fea72f8)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell18-36/+18
(This used to be commit c676a971142d7176fd5dbf21405fca14515a0a76)
2007-10-10r23790: LGPLv3+ conversion for our LGPLv2+ library codeAndrew Tridgell18-18/+18
(This used to be commit 1b78cace504f60c0f525765fbf59d9cc6506cd4d)
2007-10-10r23309: sync lib/replace with SAMBA_4_0Stefan Metzmacher18-201/+296
metze (This used to be commit 20965d800fcac0c55853fb12cdd36b5836fc7e56)
2007-10-10r22221: merge from samba4:Stefan Metzmacher1-0/+4
- libreplace unsetenv() and strptime() replacements metze (This used to be commit 057c1c04d09b48c713ebc0b334cabcefc02561e9)
2007-10-10r21944: move acl header checks to the correct place onlyStefan Metzmacher1-1/+2
jeremy: please merge this to 3.0.25:-) metze (This used to be commit 874164e365b77947d5c514b2a77c6aae0f42599e)
2007-10-10r21934: fix the build sorryStefan Metzmacher1-1/+1
metze (This used to be commit 184c4619773f786c5299499e121e485b7545764f)
2007-10-10r21931: include acl/libacl.h is presentStefan Metzmacher1-0/+4
I'm not sure if this should go into 3.0.25... it fixes a compiler warning about a missing acl_get_perm() prototype metze (This used to be commit 4b67f94c6a148d6fecaa90d66ce6893b5feb370a)
2007-10-10r20820: merge from samba4:Stefan Metzmacher1-1/+1
- include system/aio.h - use full prototype for main - use ifdef instead if metze (This used to be commit 024dd7d7c95bcf8d77914dc2063f16220358e690)
2007-10-10r20817: sync lib/replace with samba4Stefan Metzmacher3-1/+31
metze (This used to be commit 352ee730308bbc151a742938818c9b8b3a6e8014)
2007-10-10r20789: merge from samba4:Stefan Metzmacher1-9/+0
- remove the epoll configure checks from libreplace metze (This used to be commit 3061c333eca4aaff6af4b200cfe07d17f87018b2)
2007-10-10r19957: Initial framework to make winbindd robustJeremy Allison1-0/+2
against tdb corruption. Needs fleshing out (and I forgot one record type) and needs helpful suggestion from Volker to validate freelist, but should give an idea of how this will look. Jeremy. (This used to be commit 8eb53f74e414483afde7b1e38ea2a3f56ae3ec66)