1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

3669 Commits

Author SHA1 Message Date
Michael Adam
daab914caf libreplace: fix silly crashbug in getifaddrs_test().
Michael
(This used to be commit 523626908d25f974fd1ae6d7306b1d4bc8414162)
2008-02-29 02:22:02 +01:00
Michael Adam
a9706ba3c1 libreplace: add missing newline in output of getifaddrs test.
Michael
(This used to be commit f8243cfc47c7414bab7f249d0e5d1c85e8ca7d64)
2008-02-29 01:49:30 +01:00
Michael Adam
42f389823d libreplace: add missing semicolon to getifaddrs.
Michael
(This used to be commit 29818a07de826fd687003ff25865d77939ecaa9a)
2008-02-29 01:25:58 +01:00
Jelmer Vernooij
836ec12b55 Fix ldapi support.
(This used to be commit 9499f8eea534cf93f96af17941e9195aadc0a756)
2008-02-29 01:06:05 +01:00
Michael Adam
53654f5caf libreplace: try and fix rep_getifaddrs() for Tru64.
Don't fail when there is no address assigned to the interface.
Put NULL into the ifaddrs structure instead.

Michael
(This used to be commit ee170c85e0e76411bd752de5fe51db6940dab929)
2008-02-29 00:06:55 +01:00
Michael Adam
c9fb4f05f4 libreplace: use the new getifaddrs test also for autoconf.
Michael
(This used to be commit a2a506ff0eae2a64ebe2ddbb81a6c2a5fa7fe3da)
2008-02-28 23:01:15 +01:00
Michael Adam
dfc84928d7 libreplace: add extended getifaddrs test that prints out the interfaces.
Michael
(This used to be commit 9d2bab09aac22c00fe23f1e1265a2dbd0901e9ce)
2008-02-28 23:01:15 +01:00
Jelmer Vernooij
fc6bc92e11 Merge branch 'v4-0-trivial' into v4-0-test
(This used to be commit 6cbb241c05539cc62526a366094c9c472e6422a5)
2008-02-28 18:27:29 +01:00
Jelmer Vernooij
d70eafc5c6 Cache iconv_convenience.
(This used to be commit fe1d3e69990a71d7639ac8718f6ca51de4d7e6d2)
2008-02-28 18:26:12 +01:00
Andrew Bartlett
b33873ae5d Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit ba864cfd7ce4b69179431131cac9661cbf48bf32)
2008-02-28 10:33:54 +11:00
Andrew Bartlett
ba94c12bc4 Fix rdn_name errors.
Return the correct error when the DN is mismatched with it's RDN
attribute (now matches AD).

Andrew Bartlett
(This used to be commit bf7166e785e5c5d52dbb0c12e5e4206d74e72f4e)
2008-02-28 08:38:53 +11:00
Jelmer Vernooij
48e9b4cea1 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit d96fcc52a70fd1236b767b1d88a39d78c4e8c48c)
2008-02-27 16:03:00 +01:00
Michael Adam
c9009b9876 libreplace: standalone build: use -I$srcdir instead of -I.
Michael
(This used to be commit ff311e613226e660998824b887cb9595ffbe0275)
2008-02-27 10:34:09 +01:00
Michael Adam
b6f8132e92 libreplace: fix standalone build - add necessary libs.
The libs needed for getifaddrs replacements have to be added
to LIBS and used for the testsuite target.

Michael
(This used to be commit e7c1d6513b945b205abe84b18a251d06e737e659)
2008-02-27 01:41:30 +01:00
Michael Adam
3a90bed29f libreplace: fix standalone build on some systems.
getifaddr tests include system/network.h, which does not
find getaddrinfo.h without "-I.".

Michael
(This used to be commit cd95c702ed90128f659e27709c61d4c6abc969ef)
2008-02-27 01:29:12 +01:00
Michael Adam
2846417917 libreplace: Add tests for connect and gethostbyname.
Provide dummy replacements when a function isnt found.
The functions are also searched for in certain libraries,
and variables SOCKET_LIBS and NSL_LIBS are set accordingly.

One purpose of this is to fix the getifaddrs tests on
systems where e.g. the socket calls require special libs
for linking.

Michael
(This used to be commit 900d17acb95f1becfc46656a12c107336c027ef7)
2008-02-26 16:41:09 +01:00
Michael Adam
901addd4a1 Fix build on VOS: socklen_t is needed for rep_inet_ntop: move it up.
Michael
(This used to be commit 8a26a6e8f11aca5119b15e304213548ad608dc5b)
2008-02-26 12:01:39 +01:00
Simo Sorce
0a8b1fd092 Update homepages for talloc, tdb and ldb subprojects
(This used to be commit 8cb07814bc6627fc8eba228eafd13336e3ca3758)
2008-02-25 14:03:07 -05:00
Jelmer Vernooij
3101cb888d Remove uses of global_loadparm.
(This used to be commit a16c9a2129ce92e7e1a613b2badd168e42ead436)
2008-02-25 12:51:55 +01:00
Michael Adam
e9b0056586 libreplace: don't use socketwrapper for getifaddrs() implementations.
Michael
(cherry picked from commit 85eec1d1d6b674294c50eb912fbe7d5a1dd42909)
(This used to be commit a83db886e50b6ceeb71d93bf86fb5e0964b8d45f)
2008-02-22 14:33:51 +01:00
Michael Adam
bf7d3b6ef4 libreplace: Fix comment originating from old samba source.
Michael
(This used to be commit 0440bcfe6359ca4842f473b1ca799cad9f1c6c96)
2008-02-22 10:42:22 +01:00
Michael Adam
88c919c14a libreplace: fix creation of conftest files for getifaddrs tests.
Add missing includes of replace.c and defines of SOCKET_WRAPPER_NOT_REPLACE.

Michael
(cherry picked from commit 26e6ebc7090b5742deb67805d85d809cafb4543d)
(This used to be commit e00c6513e05afe91d4c419287283b34e931a161c)
2008-02-22 00:41:02 +01:00
Michael Adam
c2f92013c3 Fix linked list of ifaddrs in implementations of rep_getifaddrs.
Produce proper list instead of one-node-loop.

Michael
(cherry picked from commit ec9f4f5066ba7a8bf3af931fd4969590140c0b2b)
(This used to be commit 744d5ba7adab65a9774a18eb42b7090f49e423f2)
2008-02-22 00:40:53 +01:00
Michael Adam
f86ee1f3c6 Add missing initalizations of lastif in rep_getifaddr implementations.
Michael
(cherry picked from commit 65710e752f72070cb911867ff9f31f91904ca5c0)
(This used to be commit 5bd613a2cda5d287706f2ce72f4ee08a7fa45b72)
2008-02-22 00:40:33 +01:00
Michael Adam
c513546cda libreplace: fix compile errors in getifaddrs.c
Michael
(cherry picked from commit 22cdd4cb507022d9c670b7d5cbc8d357b0b91637)
(This used to be commit 4da2d999a28c8fd3e93480194a153cf6a10de986)
2008-02-21 18:30:22 +01:00
Jelmer Vernooij
e11c61bc5c Introduce mprLpCtx() similar to mprMemCtx() for loadparm_context used by
all EJS code.
(This used to be commit 184988866fe8e740f58e3683eefcaa70f8b51d11)
2008-02-21 18:21:44 +01:00
Michael Adam
840933cd4e Try and fix getifaddrs check on irix: dont't try to include config.h
The missing header file is judged "catastrophic" on irix.

Michael
(cherry picked from commit 5778c90819a5a5cee38be690f442c571f3a6a051)
(This used to be commit 0d4522a06d4465f6eadbdf14381c9e08cf7e1dc9)
2008-02-21 18:18:11 +01:00
Jelmer Vernooij
299265d47b Remove yet more global_loadparm instances.
(This used to be commit 5de88728ac5c567d3711d1ac6862bbdaced84b75)
2008-02-21 18:09:47 +01:00
Jelmer Vernooij
10169a2030 Remove more global_loadparm instance.s
(This used to be commit a1280252ce924df69d911e597b7f65d8038abef9)
2008-02-21 17:54:24 +01:00
Jelmer Vernooij
c38c2765d1 Remove yet more uses of global_loadparm.
(This used to be commit e01c1e87c0fe9709df7eb5b863f7ce85564174cd)
2008-02-21 17:17:37 +01:00
Jelmer Vernooij
d63321a41e Cache iconv_convenience.
(This used to be commit efd577cb5035f1b83bb8cd8958dcecb0ac0d055b)
2008-02-21 16:41:38 +01:00
Jelmer Vernooij
10e7f9f02d Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit 52a8d06f00ab3900e2186e047902dbcbe3138a01)
2008-02-21 16:11:13 +01:00
Jelmer Vernooij
426e7fef1f Remove extra whitespace, use public variable in IDL.
(This used to be commit bf08b682586f6b9a17d4ec3934836be957ef955c)
2008-02-21 16:10:07 +01:00
Jelmer Vernooij
48307b54f9 Remove more uses of global_loadparm.
(This used to be commit 3430cc60972b94d0d238bc39f473feed96949c5d)
2008-02-21 16:01:19 +01:00
Stefan Metzmacher
e36b159e8c ldb_sqlite: fix the build
metze
(This used to be commit 14c8e3101cc3b0138a551afdf3a94f4bb11bb21d)
2008-02-21 15:52:32 +01:00
Jelmer Vernooij
ede79ae482 Remove more uses of global_loadparm.
(This used to be commit 58a5b1de2b093fe642eb11d76d12db0edf60c25c)
2008-02-21 15:38:35 +01:00
Jelmer Vernooij
37deca2d41 Avoid use of global_loadparm.
(This used to be commit c5a95bbe0ce55c29e135a9c6058bf192ec3bb546)
2008-02-21 14:16:02 +01:00
Andrew Bartlett
774fa12ac1 Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit 5cd3310b78a85243eb436d05db3228c3495f9162)
2008-02-21 09:55:13 +11:00
Andrew Bartlett
49b3a48293 Until the new ldb changes land, make ldb_wait set the error string.
This makes it easier to track down which module only returned and
error code, but not the error string.

Andrew Bartlett
(This used to be commit c4d502f68fbd5d5bc2ac5bb6369950379c9176fc)
2008-02-21 09:53:11 +11:00
Jelmer Vernooij
910a1cafdf Support dlopen(NULL, ...) on HPUX.
(This used to be commit 53c70b5f77a3b9abaab783590e66278129173d5f)
2008-02-20 20:05:51 +01:00
Jelmer Vernooij
19bb90a034 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit 54ebd4e353038e86470ad036aa038e18a4296b4b)
2008-02-20 19:41:52 +01:00
Jelmer Vernooij
39a6495c86 Make more module init functions public, since they are compiled with -fvisibility=hidden. Not doing this causes failures on Mac OS X.
(This used to be commit da1a9438bd89569077ef1eaa9dc977b5f9d62836)
2008-02-20 19:40:20 +01:00
Michael Adam
2c134f3cd5 libreplace: change samba_cv_ to libreplace_cv_ in libreplace.m4.
Michael
(This used to be commit 83387ecccfe95b80525bf53c5fc9e945ffee10ec)
2008-02-20 12:53:20 +01:00
Michael Adam
ab665b0b05 libreplace: change samba_cv_ to libreplace_cv_ in system/config.m4.
Michael
(This used to be commit 00c173bfba9c659750bf231fbd9278dd38aa8bfc)
2008-02-20 12:53:20 +01:00
Michael Adam
7f3913659f libreplace: change samba_cv_ to libreplace_cv_ in getpass.m4.
Michael
(This used to be commit d3b3d3ec9ff64108b4cd5b7c912ab4ea207256cb)
2008-02-20 12:53:20 +01:00
Michael Adam
8f57595c18 libreplace: change samba_cv_ to libreplace_cv_ in getifaddrs.m4
Michael
(This used to be commit acab9def2a1e3460bef8baae6efc66d9dfad6eac)
2008-02-20 12:53:19 +01:00
Jelmer Vernooij
7d7b74feb2 Allow building ldb as static library again \o/
(This used to be commit a57adcfdd32fa9516eb092f7568e213347c583d7)
2008-02-20 12:17:18 +01:00
Jelmer Vernooij
5f0fab7802 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-nodeclare
(This used to be commit 7a2ff3ee26bce49a3eeeb270f4a5e4df2adbefbb)
2008-02-20 10:55:20 +01:00
Volker Lendecke
db2447a7a2 NetBSD does not support AI_ADDRCONFIG
(cherry picked from commit fb3f7f4046fa195baf5116598772d9016238637f)
(This used to be commit e8f3653414c12fb752c096d848dc962008d90439)
2008-02-20 10:21:58 +01:00
Volker Lendecke
62e849d918 NetBSD needs LD_LIBRARY_PATH
(cherry picked from commit d64b19e77aa499c1ee1aaf788ddf3d6fd36253e4)
(This used to be commit 4c77550d80b0cfc80bc2cac500fc27e0c43dad64)
2008-02-20 10:21:57 +01:00