1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-23 20:59:10 +03:00
Commit Graph

50 Commits

Author SHA1 Message Date
8b88fa53b5 Host SerNet-AIX has __ss_family instead of ss_family in sockaddr_storage
(This used to be commit e33286f4a6)
2007-12-25 18:37:42 +01:00
8f28bda7f8 Fix bug #5121 (unix passwd sync not working on a streams based
system).
Jeremy.
(This used to be commit 545cd2139c)
2007-12-17 10:44:09 -08:00
95c2f313ce Add patches for bug #4866 from jiri sasek - Sun Microsystems - Prague Czech Republic <Jiri.Sasek@Sun.COM>
- slightly modified - Jiri please check !  to allow Solaris to get passwords > 8 chars.
Jeremy.
(This used to be commit 657bf8c347)
2007-12-11 13:16:35 -08:00
684a72c779 Reformat configure checks for broken capabilities.h.
Michael
(This used to be commit 834a16225a)
2007-12-03 16:54:12 +01:00
f5b071e3b0 Move check for broken system capabilites.h headers to lib/replace.
Michael
(This used to be commit 8ec10c4ab1)
2007-12-03 16:54:12 +01:00
fc0a63153f Add check for ppc statfs.h header to workaround for broken capabilities.h.
Taken from s3:lib/system.c

Michael
(This used to be commit 07e6cfdc62)
2007-12-03 16:54:12 +01:00
6028176a39 Fix the build on RHEL5, when libcap-devel is installed.
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 11bcdf780e)
2007-11-16 00:45:59 +01:00
05206ce0c2 libreplace: solaris has different prototypes for getpwent_r and getgrent_r
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 77900d2ba0)
2007-11-09 09:52:59 +01:00
ca2ced5c23 libreplace: check for nss passwd|group get*_r functions
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 8e81dd7356)
2007-11-09 09:52:59 +01:00
d8f3c9d078 Fix bug where tdb lock call interrupted with
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 ef8da16983)
2007-11-06 21:47:57 -08:00
cfb20163a5 libreplace: we need include <unistd.h> before nss_wrapper.h
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 20ec1f4725)
2007-11-06 09:38:59 +01:00
f16544ad3b libreplace: include nss_wrapper.h if NSS_WRAPPER is defined
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 809fee4bef)
2007-11-06 09:38:57 +01:00
1870643d20 Try and fix the Solaris build by adding a missing define
(from Jerry).
Jeremy
(This used to be commit a68bbea0d4)
2007-10-25 15:43:44 -07:00
7c6ed7aa1c [libreplace] define AI_NUMERICSERV as it's used in getaddrinfo.c
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 11a977aa07)
2007-10-25 15:55:47 +02:00
899f921c72 - include getaddrinfo.h after we have defined struct addrinfo
- 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 e56977ea45)
2007-10-25 15:53:44 +02:00
800ca51792 [libreplace] if we replace types define the HAVE_<type> macro
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 b81d8bc43c)
2007-10-25 15:53:09 +02:00
cd486165e9 [libreplace] move definition of struct addrinfo so that it can use socklen_t
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 4515007567)
2007-10-25 15:52:59 +02:00
556513ff72 [libreplace] move define of a constant to near to the others
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 fa120f7c50)
2007-10-25 15:52:47 +02:00
8cca849769 [libreplace] include socket_wrapper.h after we have typedef'ed socklen_t
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 f1d434a132)
2007-10-25 15:51:51 +02:00
fa12678f4e delete empty file lib/replace/system/getaddrinfo.h
metze
(This used to be commit 354bdd38e8)
2007-10-17 15:21:48 +02:00
cadb72dd99 Move #defined for getaddrinfo into network.h (as other
defines). Allows RHEL4 compile to work.
Jeremy.
(This used to be commit 0ffdf4fdee)
2007-10-16 15:15:23 -07:00
c08cd08acc rename getsmbpass -> rep_getpass and provide the function prototype
metze
(This used to be commit 96820f8d8f)
2007-10-15 15:42:13 +02:00
2ecbed36b2 missing stuff from samba4's libreplace
metze
(This used to be commit 0177158d85)
2007-10-15 13:19:28 +02:00
804396dce9 don't imply "system/network.h" within replace.h,
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 ec8e3f7f92)
2007-10-15 13:19:28 +02:00
81a70d4ac5 Merge from metze of libreplace header changes
(This used to be commit d39ce8e37e)
2007-10-10 17:56:19 -07:00
e5a951325a [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
(This used to be commit 5c6c8e1fe9)
2007-10-10 15:34:30 -05:00
d154a0d74b r25557: merge libreplace fixes from samba4
(This used to be commit 8c1669997c)
2007-10-10 12:31:13 -05:00
b5725f4fec r25507: Fix definition of struct sockaddr_storage if
struct sockaddr_in6 is defined.
Jeremy.
(This used to be commit 4cf17df5ca)
2007-10-10 12:31:11 -05:00
941544a951 r25505: Add a replacement (IPv4 only) implementation of getaddrinfo/freeaddrinfo
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 760d993340)
2007-10-10 12:31:10 -05:00
30e4012396 r25495: Fixup definitions for missing sockaddr_storage.
Jeremy.
(This used to be commit d980ee5040)
2007-10-10 12:31:10 -05:00
334b288831 r25487: Try fix the build - fix socklen_t and sa_family_t.
Jeremy.
(This used to be commit 2cab825634)
2007-10-10 12:31:08 -05:00
c7da0dced6 r25474: Try and fix the build on Mac OS X 10.4.9.
Shuffle sa_family_t around.
Jeremy.
(This used to be commit f1b8c5de0a)
2007-10-10 12:31:06 -05:00
3fbd1ae54c r25472: Fix the interfaces code to detect IPv6 interfaces, using the
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 327875182c)
2007-10-10 12:31:06 -05:00
68edc3a5c5 r25232: sync lib/replace with SAMBA_4_0
metze
(This used to be commit 828d2ca061)
2007-10-10 12:30:52 -05:00
9fa1c63578 r23798: updated old Temple Place FSF addresses to new URL
(This used to be commit c676a97114)
2007-10-10 12:28:26 -05:00
2c09988e46 r23790: LGPLv3+ conversion for our LGPLv2+ library code
(This used to be commit 1b78cace50)
2007-10-10 12:28:25 -05:00
e893d7f021 r23309: sync lib/replace with SAMBA_4_0
metze
(This used to be commit 20965d800f)
2007-10-10 12:23:05 -05:00
2f1aafa2a7 r22221: merge from samba4:
- libreplace unsetenv() and strptime() replacements

metze
(This used to be commit 057c1c04d0)
2007-10-10 12:19:21 -05:00
6685e53385 r21944: move acl header checks to the correct place only
jeremy: please merge this to 3.0.25:-)

metze
(This used to be commit 874164e365)
2007-10-10 12:18:51 -05:00
035bb5cc6f r21934: fix the build sorry
metze
(This used to be commit 184c461977)
2007-10-10 12:18:50 -05:00
c542e154c2 r21931: include acl/libacl.h is present
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 4b67f94c6a)
2007-10-10 12:18:49 -05:00
14ddce8b64 r20820: merge from samba4:
- include system/aio.h
- use full prototype for main
- use ifdef instead if

metze
(This used to be commit 024dd7d7c9)
2007-10-10 12:17:09 -05:00
2f66beb8ad r20817: sync lib/replace with samba4
metze
(This used to be commit 352ee73030)
2007-10-10 12:17:09 -05:00
f428e045c3 r20789: merge from samba4:
- remove the epoll configure checks from libreplace

metze
(This used to be commit 3061c333ec)
2007-10-10 12:17:09 -05:00
ed34ffb147 r19957: Initial framework to make winbindd robust
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 8eb53f74e4)
2007-10-10 12:16:15 -05:00
1b80624c57 r19121: try to get rid of the difference between in system/iconv.h
between samba 3 and 4.

metze
(This used to be commit 04031a9fca)
2007-10-10 12:15:13 -05:00
6aed2cd44e r18958: merge from samba4:
we need to include unistd.h in system/network.h because
it contains the ioctl() prototype on some systems
and we need to make sure it gets included before socket_wrapper
defines ioctl swrap_ioctl

metze
(This used to be commit d827534760)
2007-10-10 12:14:50 -05:00
cb99b612f8 r18953: sync socket_wrapper with samba4
metze
(This used to be commit 77b0af43f0)
2007-10-10 12:14:50 -05:00
3fe99c960f r18669: fix the samba3 build...
we need to move the iconv configure checks to libreplace...

metze
(This used to be commit 6b53ed8fdc)
2007-10-10 12:00:45 -05:00
8f153c6128 r18644: bring in libreplace in lib/replace
metze
(This used to be commit 596cbe73dd)
2007-10-10 11:52:03 -05:00