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

3685 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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