1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

3843 Commits

Author SHA1 Message Date
Stefan Metzmacher
d46636950d socket_wrapper: use LIBREPLACE_NETWORK because EXT_SOCKET and EXT_NSL doesn't exist anymore
metze
(This used to be commit 1dd8e37756)
2008-03-18 18:04:22 +01:00
Michael Adam
a310b0b843 libreplace: replace.c does not need system/network.h anymore.
Michael
(This used to be commit 2d3c2f34f3)
2008-03-18 17:50:23 +01:00
Michael Adam
124f82efe1 libreplace: move rep_socketpair() to its own module.
Prototype is now in system/network.h,
implementation in socketpair.c, and
check in socketpair.m4.

Now the last networking function has vanished from replace.c.

Michael
(This used to be commit 94ac8a25be)
2008-03-18 17:21:18 +01:00
Stefan Metzmacher
7d336254ce ldb: not every shell supports '==' so use '='
metze
(This used to be commit b5eeaf9b27)
2008-03-18 16:53:21 +01:00
Gerald W. Carter
1268be9f88 Fix macro name (no 's' in ifr_addr).
Interface detection on Solaris still failing due to items pointed out here:
http://lists.samba.org/archive/samba-technical/2007-November/056701.html
(cherry picked from commit 37c87acc9d)
(This used to be commit 5757d8dfe9)
2008-03-18 16:40:46 +01:00
Volker Lendecke
6f6d38d24a Fix Coverity ID 554
(cherry picked from commit 471b1b0c58)
(This used to be commit effda48a26)
2008-03-18 16:40:46 +01:00
Volker Lendecke
7fb3963032 Check the return value of fgets
(cherry picked from commit b8aaa9a69f)
(This used to be commit 8f58d39c0c)
2008-03-18 16:40:46 +01:00
Michael Adam
4d16e17e04 libreplace: remove duplicate entry of inet_ntoa from README.
Michael
(This used to be commit 98ee8c8430)
2008-03-18 16:31:15 +01:00
Michael Adam
4500b95c89 libreplace: remove trailing white spaces.
Michael
(This used to be commit 1f9ca7eed9)
2008-03-18 16:30:15 +01:00
Michael Adam
87b48a8126 libreplace: replace inet_ntoa() when it is missing
...not only replace it when it is broken.

This moves the defintion of rep_inet_ntoa from replace.c
to inet_ntoa.c and adds configure checks for existence
of inet_ntoa(). Checks are moved to an include file of its own.

NOTE: The original rep_inet_ntoa in replace.c was wrapped
into a "#ifndef WITH_PTHREADS" but the prototype in replace.h
and the define in system/network.h were not. I removed that
ifndef since the inet_ntoa() function is usually not thread safe
anyways, since it returns a pointer to a static buffer.

So whoever calls inet_ntoa() should be aware that it is not
thread safe anyways.

Michael
(This used to be commit 974c0c45ad)
2008-03-18 16:30:15 +01:00
Michael Adam
58dfb0ff3c libreplace: put inet_aton.c under LGPL instead of GPL.
Michael
(This used to be commit cca5d6626f)
2008-03-18 16:10:47 +01:00
Stefan Metzmacher
7a5438ae11 libreplace: remove unused SOCKET_LIBS and NSL_LIBS
metze
(This used to be commit 62bb177a6e)
2008-03-18 15:59:23 +01:00
Stefan Metzmacher
7b412ccade lib/socket: use LIBREPLACE_NETWORK instead of EXT_SOCKET and EXT_NSL
The configure checks are also in libreplace now.

metze
(This used to be commit 07e931a77f)
2008-03-18 15:59:22 +01:00
Stefan Metzmacher
23c35481fa libreplace: for samba4 create LIBREPLACE_NETWORK as EXT_LIB
metze
(This used to be commit 79037c3133)
2008-03-18 15:59:22 +01:00
Stefan Metzmacher
1ef171f6e0 libreplace: use LIBREPLACE_NETWORK_LIBS within some configure checks
...instead of using SOCKET_LIBS and NSL_LIBS.

metze
(This used to be commit cef2e8d748)
2008-03-18 15:59:22 +01:00
Stefan Metzmacher
cbc5e58b8f libreplace: combine SOCKET_LIBS and NSL_LIBS to LIBREPLACE_NETWORK_LIBS
But keep the old ones untill the callers are fixed.

metze
(This used to be commit e7115dcc8a)
2008-03-18 15:59:22 +01:00
Stefan Metzmacher
d53467b9af ldb: remove configure with 'make realdistclean'
configure.in doesn't exist at all...

metze
(This used to be commit ca414d4e9e)
2008-03-18 15:59:21 +01:00
Stefan Metzmacher
7bf6895b67 ldb: nothing uses "system/network.h" so don't include it
metze
(This used to be commit 087667e0cd)
2008-03-18 15:59:21 +01:00
Stefan Metzmacher
92f6333535 ldb: fix the standalone build
metze
(This used to be commit 91b49365ab)
2008-03-18 15:59:21 +01:00
Volker Lendecke
3b63333cf2 Allocate one 0-byte in asprintf replacement when len==0
Some S3 code depends on this.
(cherry picked from commit dc3d5e1645)
(This used to be commit 842d144b4f)
2008-03-18 13:48:21 +01:00
Stefan Metzmacher
3e8124bc66 socket_wrapper: make pcap code more portable
Now the pcap support works on x86_64.

metze
(This used to be commit 61a87bed61)
2008-03-17 15:50:35 +01:00
Stefan Metzmacher
caea750810 messaging: fix a valgrind warning on 64bit hosts zero out padding
metze
(This used to be commit f555b8e4c3)
2008-03-15 12:21:06 +01:00
Stefan Metzmacher
2fd5992038 swig: regenerate _wrap.c files
metze
(This used to be commit 08b41e1069)
2008-03-14 14:33:55 +01:00
Michael Adam
4b2aee2cd6 libreplace: fix samba4 build (by not setting global LIBS).
This corrects the earlier fix of the standalone build, by setting
LIBS to the desired value only in configure.ac but not in getifaddrs.m4.

Not that this changes the standalone build in that it adds these libs
undconditionally and not only if they are needed by the getifaddrs
replacement functions.

Michael
(This used to be commit ff3af1703d)
2008-03-14 09:39:58 +01:00
Michael Adam
9d0b13bfcc libreplace: add -I$libreplacedir to CPPFLAGS for getifaddrs tests.
This is needed, otherwise $libreplacedir/system/network.h does not
find $libreplacedir/getaddrinfo.h on some systems (solaris, e.g.).

Michael
(This used to be commit 297c3bece0)
2008-03-14 09:04:25 +01:00
Michael Adam
fe096dd313 libreplace: add an inet_aton() function that calls inet_pton().
inet_aton() is even needed inside libreplace, in the implementation
of rep_getaddrinfo().

Michael
(This used to be commit bcb2f3a880)
2008-03-14 09:02:36 +01:00
Stefan Metzmacher
ebe8a8985c events_signal: pass down the correct siginfo_t struct to the event handler
metze
(This used to be commit 4b07123686)
2008-03-11 20:16:51 +01:00
Andrew Bartlett
7da5ec17e6 Make error handling in ldb more consistant.
This change ensures we give an immidiate error if the DN won't parse.

Also clean up strcmp use to be more standard.

Andrew Bartlett
(This used to be commit 1b15f374a8)
2008-03-11 14:20:42 +11:00
Jelmer Vernooij
e3f6a9a0d4 Move PC_FILE out of the perl code.
(This used to be commit ca8d4260ad)
2008-03-09 02:53:54 +01:00
Jelmer Vernooij
2bf39edc9d Push SOVERSION and VERSION out of perl code.
(This used to be commit 0ba8ac6a14)
2008-03-08 15:28:12 +01:00
Jelmer Vernooij
5f2564c386 Merge branch 'v4-0-test' into v4-0-gmake3
(This used to be commit 2bf43c7932)
2008-03-07 18:59:03 +01:00
Jelmer Vernooij
a72e921a7e Rerun SWIG.
(This used to be commit e384aac5c8)
2008-03-07 18:20:12 +01:00
Jelmer Vernooij
fc2cd5ed63 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
(This used to be commit e4da851bd7)
2008-03-07 18:03:54 +01:00
Andrew Kroeger
07cb435d40 accountExpires: Windows default is 9223372036854775807, not -1.
(This used to be commit be47cc7fdf)
2008-03-07 05:59:55 -06:00
Andrew Kroeger
0e50fb5e91 ldb_wrap: Debug at derived samba_level, not the level of the ldb debug enum.
(This used to be commit eb9a7c3b3a)
2008-03-06 00:07:26 -06:00
Jelmer Vernooij
5a5b50f3dd Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/build/smb_build/makefile.pm
(This used to be commit 391fea450b)
2008-03-04 14:16:57 +01:00
Jelmer Vernooij
c20e91d0fd Fix syntax.
(This used to be commit 9bc22a4cd3)
2008-03-04 10:30:14 +01:00
Andrew Bartlett
f042c15090 Try to return sane ldb error strings
We don't just want to return just strerror(ret) when things go wrong.

Andrew Bartlett
(This used to be commit 7f0341dd58)
2008-03-04 13:45:31 +11:00
Jelmer Vernooij
a69acf7cb9 Deal with subsystems with no settings, several other minor fixes.
(This used to be commit 10cf48591e)
2008-03-04 01:37:18 +01:00
Jelmer Vernooij
e018501ca8 Fix some paths.
(This used to be commit bb16e51e60)
2008-03-04 01:26:19 +01:00
Jelmer Vernooij
2d1c06c578 Fix includes.
(This used to be commit 99e61dade2)
2008-03-04 00:43:24 +01:00
Jelmer Vernooij
b29d47edcf Move object file lists to the Makefile.
(This used to be commit a7e6d2a183)
2008-03-03 18:25:28 +01:00
Jelmer Vernooij
7dd0cd26d3 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/Makefile
	source/build/smb_build/makefile.pm
	source/librpc/config.mk
(This used to be commit 3e02fcfd3f)
2008-03-03 10:50:53 +01:00
Jelmer Vernooij
c7dc53b851 Merge branch 'v4-0-test' into id10ts-registry
(This used to be commit f98b59021a)
2008-03-03 00:23:09 +01:00
Brad Hards
85d53f7b60 Some cleanups for the ldb doxygen docs.
(This used to be commit 5972308add)
2008-03-02 10:46:47 +01:00
Jelmer Vernooij
830051b494 Remove unused variable, fix (80, 'Other error') exceptions from ldb python bindings
(This used to be commit 2303063cbd)
2008-03-01 21:18:12 +01:00
Jelmer Vernooij
748f1c0962 Fix error handling in ldb.add().
(This used to be commit a7f89b5bb2)
2008-03-01 13:01:02 +01:00
Jelmer Vernooij
489f66cd42 Change remaining prototype headers to be private.
(This used to be commit 2f7ff409e8)
2008-02-29 14:36:51 +01:00
Jelmer Vernooij
1ada710840 Move public header accumulation out of the perl code.
Never install generated prototype files. It's easier to break the
API when using them and they're not easily readable for 3rd party users.

Conflicts:

	source/auth/config.mk
	source/auth/credentials/config.mk
	source/auth/gensec/config.mk
	source/build/smb_build/config_mk.pm
	source/build/smb_build/main.pl
	source/build/smb_build/makefile.pm
	source/dsdb/config.mk
	source/lib/charset/config.mk
	source/lib/tdr/config.mk
	source/lib/util/config.mk
	source/libcli/config.mk
	source/libcli/ldap/config.mk
	source/librpc/config.mk
	source/param/config.mk
	source/rpc_server/config.mk
	source/torture/config.mk
(This used to be commit 6c659689ed)
2008-02-29 14:23:38 +01:00
Jelmer Vernooij
6b3ecd52d5 Fix manpage paths.
(This used to be commit 36da52abf5)
2008-02-29 14:12:36 +01:00
Jelmer Vernooij
d8d9a6ef04 Move manpage management out of the perl build system.
(This used to be commit 1dd6bea507)
2008-02-29 14:12:23 +01:00
Jelmer Vernooij
c8011b5d09 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/scripting/python/config.mk
(This used to be commit 0ac0ea660a)
2008-02-29 12:45:46 +01:00
Michael Adam
de4a2214ef libreplace: add snprintf.c to test code for getifaddrs - needed on some systems.
Michael
(This used to be commit 0aff54a12e)
2008-02-29 02:46:14 +01:00
Michael Adam
abb9356b4f libreplace: ifdef out ip6 code if unsupported.
Michael
(This used to be commit 54cc0df4db)
2008-02-29 02:43:24 +01:00
Michael Adam
f21aac60d9 libreplace: fix rep_freeifaddrs to not segfault on NULL input.
Michael
(This used to be commit 0cbb87453b)
2008-02-29 02:23:29 +01:00
Michael Adam
daab914caf libreplace: fix silly crashbug in getifaddrs_test().
Michael
(This used to be commit 523626908d)
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 f8243cfc47)
2008-02-29 01:49:30 +01:00
Michael Adam
42f389823d libreplace: add missing semicolon to getifaddrs.
Michael
(This used to be commit 29818a07de)
2008-02-29 01:25:58 +01:00
Jelmer Vernooij
836ec12b55 Fix ldapi support.
(This used to be commit 9499f8eea5)
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 ee170c85e0)
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 a2a506ff0e)
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 9d2bab09aa)
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 6cbb241c05)
2008-02-28 18:27:29 +01:00
Jelmer Vernooij
d70eafc5c6 Cache iconv_convenience.
(This used to be commit fe1d3e6999)
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 ba864cfd7c)
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 bf7166e785)
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 d96fcc52a7)
2008-02-27 16:03:00 +01:00
Jelmer Vernooij
bc1a369a0e Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/build/smb_build/makefile.pm
(This used to be commit c45b97c471)
2008-02-27 13:19:07 +01:00
Michael Adam
c9009b9876 libreplace: standalone build: use -I$srcdir instead of -I.
Michael
(This used to be commit ff311e6132)
2008-02-27 10:34:09 +01:00
Andrew Kroeger
a13395c873 registry: Add an explicit test for recursive deletion.
(This used to be commit 5e90580499)
2008-02-26 19:27:15 -06:00
Andrew Kroeger
79eea32976 registry: Implement recursive deletes for regf-backed registry.
When deleting a registry key that contains subkeys or values, Windows performs a
recursive deletion that removes any subkeys or values.  This update makes
deletes for an regf-backed registry consistent with Windows.

The regf-backed registry does not have transactional integrity when performing
multiple operations.  Therefore, if an error occurs during the recursive
deletion, the regf-backed registry may be left in an inconsistent state.
(This used to be commit b0321bad29)
2008-02-26 19:27:14 -06:00
Andrew Kroeger
2bbd319caf registry: Implement recursive deletes for dir-backed registry.
When deleting a registry key that contains subkeys or values, Windows performs a
recursive deletion that removes any subkeys or values.  This update makes
deletes for an dir-backed registry consistent with Windows.

The dir-backed registry relies on the underlying filesystem, which does not
generally have transactional integrity when performing multiple operations.
Therefore, if an error occurs during the recursive deletion, the dir-backed
registry may be left in an inconsistent state.
(This used to be commit 6b5fbf7e4e)
2008-02-26 19:27:14 -06:00
Andrew Kroeger
7dac0598ec registry: Implement recursive deletes for ldb-backed registry.
When deleting a registry key that contains subkeys or values, Windows performs a
recursive deletion that removes any subkeys or values.  This update makes
deletes for an ldb-backed registry consistent with Windows.

Under ldb, the deletion is done using an explicit transaction.  If an error
occurs during the deletion the entire transaction is cancelled, leaving the
registry as it was before the deletions started.
(This used to be commit ca796c8fb1)
2008-02-26 19:27:14 -06: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 e7c1d6513b)
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 cd95c702ed)
2008-02-27 01:29:12 +01:00
Jelmer Vernooij
c5d77a1c24 Move public header accumulation out of the perl code.
(This used to be commit 89f7c74924)
2008-02-26 17:17:52 +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 900d17acb9)
2008-02-26 16:41:09 +01:00
Jelmer Vernooij
bfc99f15a1 Fix manpage paths.
(This used to be commit f7d0f0582e)
2008-02-26 15:19:45 +01:00
Jelmer Vernooij
c8af9559dc Move manpage management out of the perl build system.
(This used to be commit a660ab262e)
2008-02-26 15:11:47 +01:00
Jelmer Vernooij
a999a1fc99 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
(This used to be commit 4dab354b62)
2008-02-26 13:07:55 +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 8a26a6e8f1)
2008-02-26 12:01:39 +01:00
Jelmer Vernooij
22ef67dd13 Fix the build (again).
(This used to be commit ef00f6b581)
2008-02-26 01:20:55 +01:00
Jelmer Vernooij
f112578843 Remove public prototype headers. Generating both public and private prototype headers is tricky with gmake and it's easy to break backwards compatibility for the public API with them.
(This used to be commit dee1cb6b08)
2008-02-25 23:09:56 +01:00
Jelmer Vernooij
b5bd663690 Fix use of realpath, fix init functions for ldb.
(This used to be commit ca510136d2)
2008-02-25 20:40:37 +01:00
Simo Sorce
0a8b1fd092 Update homepages for talloc, tdb and ldb subprojects
(This used to be commit 8cb07814bc)
2008-02-25 14:03:07 -05:00
Jelmer Vernooij
738fd7fd50 Fix standalone ldb build modules.
(This used to be commit 0b133a30a2)
2008-02-25 17:33:28 +01:00
Jelmer Vernooij
584c4a518f Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/build/smb_build/header.pm
	source/build/smb_build/makefile.pm
	source/lib/ldb/include/ldb_private.h
(This used to be commit 1a646af064)
2008-02-25 12:58:09 +01:00
Jelmer Vernooij
3101cb888d Remove uses of global_loadparm.
(This used to be commit a16c9a2129)
2008-02-25 12:51:55 +01:00
Michael Adam
e9b0056586 libreplace: don't use socketwrapper for getifaddrs() implementations.
Michael
(cherry picked from commit 85eec1d1d6)
(This used to be commit a83db886e5)
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 0440bcfe63)
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 26e6ebc709)
(This used to be commit e00c6513e0)
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 ec9f4f5066)
(This used to be commit 744d5ba7ad)
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 65710e752f)
(This used to be commit 5bd613a2cd)
2008-02-22 00:40:33 +01:00
Michael Adam
c513546cda libreplace: fix compile errors in getifaddrs.c
Michael
(cherry picked from commit 22cdd4cb50)
(This used to be commit 4da2d999a2)
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 184988866f)
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 5778c90819)
(This used to be commit 0d4522a06d)
2008-02-21 18:18:11 +01:00
Jelmer Vernooij
299265d47b Remove yet more global_loadparm instances.
(This used to be commit 5de88728ac)
2008-02-21 18:09:47 +01:00
Jelmer Vernooij
10169a2030 Remove more global_loadparm instance.s
(This used to be commit a1280252ce)
2008-02-21 17:54:24 +01:00
Jelmer Vernooij
c38c2765d1 Remove yet more uses of global_loadparm.
(This used to be commit e01c1e87c0)
2008-02-21 17:17:37 +01:00
Jelmer Vernooij
d63321a41e Cache iconv_convenience.
(This used to be commit efd577cb50)
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 52a8d06f00)
2008-02-21 16:11:13 +01:00
Jelmer Vernooij
426e7fef1f Remove extra whitespace, use public variable in IDL.
(This used to be commit bf08b68258)
2008-02-21 16:10:07 +01:00
Jelmer Vernooij
48307b54f9 Remove more uses of global_loadparm.
(This used to be commit 3430cc6097)
2008-02-21 16:01:19 +01:00
Stefan Metzmacher
e36b159e8c ldb_sqlite: fix the build
metze
(This used to be commit 14c8e3101c)
2008-02-21 15:52:32 +01:00
Jelmer Vernooij
ede79ae482 Remove more uses of global_loadparm.
(This used to be commit 58a5b1de2b)
2008-02-21 15:38:35 +01:00
Jelmer Vernooij
37deca2d41 Avoid use of global_loadparm.
(This used to be commit c5a95bbe0c)
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 5cd3310b78)
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 c4d502f68f)
2008-02-21 09:53:11 +11:00
Jelmer Vernooij
910a1cafdf Support dlopen(NULL, ...) on HPUX.
(This used to be commit 53c70b5f77)
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 54ebd4e353)
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 da1a9438bd)
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 83387ecccf)
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 00c173bfba)
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 d3b3d3ec9f)
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 acab9def2a)
2008-02-20 12:53:19 +01:00
Jelmer Vernooij
7d7b74feb2 Allow building ldb as static library again \o/
(This used to be commit a57adcfdd3)
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 7a2ff3ee26)
2008-02-20 10:55:20 +01:00
Volker Lendecke
db2447a7a2 NetBSD does not support AI_ADDRCONFIG
(cherry picked from commit fb3f7f4046)
(This used to be commit e8f3653414)
2008-02-20 10:21:58 +01:00
Volker Lendecke
62e849d918 NetBSD needs LD_LIBRARY_PATH
(cherry picked from commit d64b19e77a)
(This used to be commit 4c77550d80)
2008-02-20 10:21:57 +01:00
Jelmer Vernooij
39a817d310 Fix use of some modules (needed _PUBLIC_).
(This used to be commit ce332130ea)
2008-02-20 04:33:43 +01:00
Jelmer Vernooij
0020793515 Fix static module list generation for ldb.
(This used to be commit 92c1c0e913)
2008-02-20 03:40:44 +01:00
Jelmer Vernooij
995788536e Remove more function-based inits.
(This used to be commit b1a7810f3e)
2008-02-20 02:57:07 +01:00
Jelmer Vernooij
e3661a6181 Use function-based initialization for ildap backend.
(This used to be commit 46e5027f56)
2008-02-20 01:56:55 +01:00
Jelmer Vernooij
16109a40c0 Use struct-based rather than function-based initialization for ldb modules everywhere.
(This used to be commit 85c96a3258)
2008-02-20 01:54:32 +01:00
Jelmer Vernooij
71bc5acead Allow ldb backends without init function, use init function-less ldb modules.
(This used to be commit 141ee91272)
2008-02-20 01:37:53 +01:00
Jelmer Vernooij
15b86081cd Factor out IP marshalling into separate function.
(This used to be commit 2548c2a1e7)
2008-02-19 23:53:04 +01:00
Jelmer Vernooij
836bab841c Add configure test for vdeplug library.
(This used to be commit 89590d7dfe)
2008-02-19 23:00:43 +01:00
Michael Adam
5233e43ec7 Remove relict SAMBA_CONFIGURE_CPPFLAGS from lib/replace.
Michael
(This used to be commit d10cbb533c)
2008-02-19 17:25:42 +01:00
Michael Adam
c65cded541 Adapt source code checkout information to git repo in talloc website.
Michael
(This used to be commit 254be79799)
2008-02-19 16:50:13 +01:00
Michael Adam
dd4ffd868b Fix paths for talloc into unpacked directory (rsync commands).
Michael
(This used to be commit 2839d7f67a)
2008-02-19 16:50:13 +01:00
Jelmer Vernooij
b4017955e1 Merge branch 'v4-0-trivial' into v4-0-gmake3
Conflicts:

	source/build/smb_build/input.pm
	source/build/smb_build/main.pl
	source/build/smb_build/makefile.pm
(This used to be commit bc11e3ef1c)
2008-02-18 22:25:19 +01:00
Jelmer Vernooij
ff0315ba85 Rename include to mkinclude to emphasize it is different from make's include.
(This used to be commit 0e1d0a874a)
2008-02-18 20:04:18 +01:00
Jelmer Vernooij
602f4635da Get rid of 'INTEGRATED' build of modules - now replaced by 'MERGED_OBJ'
(This used to be commit 269cbf84d8)
2008-02-18 19:06:17 +01:00
Jelmer Vernooij
b66ee2ed22 Move responsibilities of build.h to makefile.
(This used to be commit a43f6d37bc)
2008-02-16 18:38:02 +01:00
Jelmer Vernooij
e4af554c56 Revert "Allow LDB to be a static library again."
This reverts commit 16fd90d7a9.
(This used to be commit 9166e48944)
2008-02-16 16:02:47 +01:00
Jelmer Vernooij
a53beee034 Add static header for gencache.
(This used to be commit 58c25657bf)
2008-02-16 15:52:56 +01:00
Jelmer Vernooij
5214f5a81f Allow LDB to be a static library again.
(This used to be commit 16fd90d7a9)
2008-02-16 15:40:55 +01:00
Jelmer Vernooij
ec7c03a80f Add static header for gencache.
(This used to be commit 9a0f6a0012)
2008-02-16 15:40:42 +01:00
Michael Adam
f3bbe1516c Fix path to talloc guide. Noted by "teferi" on irc.
Michael
(This used to be commit bc4e03f2dd)
2008-02-14 23:10:00 +01:00
Kai Blin
f22598a95c util_ldb: Add a missing \n to debug string, fix trailing whitespaces.
(This used to be commit b0991cc09b)
2008-02-14 12:32:29 +01:00
Jelmer Vernooij
cf2df1ebd5 Fix talloc .so installation.
(This used to be commit ae522f907e)
2008-02-13 21:09:21 +01:00
Jelmer Vernooij
8a3f8dc646 Allow tdb.mk and talloc.mk to be included at the same time.
(This used to be commit af9e042152)
2008-02-13 17:42:10 +01:00
Jelmer Vernooij
11bc6056ea Never build .so versions of tdb/talloc from Samba 4 itself. Rather,
use shared library versions if they are provided by the system.

This puts talloc and tdb in a similar situation as popt:
the system version is used if provided but if it's not there or if it
is too old, we use our internal version statically.
(This used to be commit 86f88eb7b5)
2008-02-13 17:01:37 +01:00
Michael Adam
3cfac63d16 Raise version of talloc from 1.1.0 to 1.2.0 after adding talloc pools.
Michael
(This used to be commit 38855a9f14)
2008-02-12 22:52:58 +01:00
Jelmer Vernooij
1ed346fcb3 Support using shared library during testsuite run if tdb was built with a shared lib internally.
(This used to be commit 28539f48e6)
2008-02-12 13:51:03 +01:00
Jelmer Vernooij
285820bdd4 make sure libraries are built before attempting to install.
(This used to be commit deb1dae2da)
2008-02-12 13:34:19 +01:00
Jelmer Vernooij
18ef767085 Specify PICFLAG when compiling python modules.
(This used to be commit 981957165d)
2008-02-12 13:09:38 +01:00
Jelmer Vernooij
69d6dd1923 Make sure talloc.so is build before installing.
(This used to be commit 51769f5cfc)
2008-02-12 12:46:33 +01:00
Jelmer Vernooij
923d1ec2f4 Fix installation of python module for ldb and tdb.
(This used to be commit 6c9a8bf9f0)
2008-02-12 12:42:31 +01:00
Jelmer Vernooij
e84cd8d38b tdb/ldb: Use prefix in case DESTDIR is not set.
(This used to be commit ab19a8f627)
2008-02-12 02:15:09 +01:00