Tim Potter
737bb950d5
Fix double free bugs after calling regfio_close()
2008-02-20 18:28:41 -08:00
Tim Potter
47dd0700b4
Fix memory leaks on error path
2008-02-20 18:27:40 -08:00
Tim Potter
f7d2f69299
Fix possible close of invalid fd if call to socket() returns -1.
2008-02-20 17:58:50 -08:00
Michael Adam
39eef8e86c
Fix build with static libs: place tdb static lib after tdb-util objects.
...
Michael
2008-02-20 23:44:17 +01:00
Michael Adam
63bff18f3f
configure: add --enable-shared-libs to control overall internal use of shared libs.
...
To disable internal use of shared libraries altogether (as opposed to
disabling use of single shared libs by --with-static-libs=LIBS), use
this new configure parameter --disable-shared-libs.
Michael
2008-02-20 23:38:27 +01:00
Michael Adam
8b220717e8
configure: Move assemblage of samba version strings to m4 include file.
...
Michael
2008-02-20 21:33:24 +01:00
Michael Adam
2e6b66eda4
Remove checks for ino_t, loff_t, offset_t, and comparison_fn_t from configure.in.
...
These tests are in libreplace.
Michael
2008-02-20 21:33:24 +01:00
Jelmer Vernooij
8883ee2418
Support dlopen(NULL, ...) on HPUX.
...
(cherry picked from commit 53c70b5f77
)
2008-02-20 21:12:54 +01:00
Michael Adam
9b9495d367
Remove tests for vsnprintf snprintf asprintf vasprintf and va_copy from configure.
...
These are tested in libreplace.
Michael
2008-02-20 17:26:39 +01:00
Michael Adam
12ec7dfb10
libreplace: change samba_cv_ to libreplace_cv_ in libreplace.m4.
...
Michael
(cherry picked from commit 83387ecccf
)
2008-02-20 14:14:50 +01:00
Michael Adam
450034582b
libreplace: change samba_cv_ to libreplace_cv_ in system/config.m4.
...
Michael
(cherry picked from commit 00c173bfba
)
2008-02-20 14:14:41 +01:00
Michael Adam
d6719f1c2f
libreplace: change samba_cv_ to libreplace_cv_ in getpass.m4.
...
Michael
(cherry picked from commit d3b3d3ec9f
)
2008-02-20 14:14:31 +01:00
Michael Adam
f790cb4aed
libreplace: change samba_cv_ to libreplace_cv_ in getifaddrs.m4
...
Michael
(cherry picked from commit acab9def2a
)
2008-02-20 14:14:20 +01:00
Michael Adam
53c9098253
Remove the getifaddrs checks from configure.in: they are now in lib/replace.
...
Michael
2008-02-20 00:44:40 +01:00
Michael Adam
af5ec88ece
configure: Use SAMBA_CONFIGURE_CPPFLAGS for AC_LIBREPLACE_BROKEN_CHECKS.
...
To fix the build (make test) after merging libreplace changes.
Michael
2008-02-20 00:17:31 +01:00
Michael Adam
69b2ebc797
libreplace: Remove double item in case statement.
...
This was by accident introduced in cherry-pick commit
7a7dcd9b12
: This tiny portion
had already been ported in 64ff1dad86
.
MIchael
2008-02-19 22:29:34 +01:00
Michael Adam
12e5b9b406
Remove relict SAMBA_CONFIGURE_CPPFLAGS from lib/replace.
...
Michael
(cherry picked from commit d10cbb533c
)
2008-02-19 22:14:12 +01:00
Jelmer Vernooij
bc523382ae
r26554: Fix test for getifaddr on FreeBSD. Patch by Timur Bakeyev.
...
(cherry picked from commit 37c7b65546
)
2008-02-19 22:12:50 +01:00
James Peach
b4a2ec01fc
r26551: Make sure NULL is defined before using it to test for getifaddrs().
...
Patch from Timur I. Bakeyev <timur@com.bat.ru>.
(cherry picked from commit 188156228b
)
2008-02-19 22:12:32 +01:00
Jelmer Vernooij
ccfb04d185
r26507: Fix function signature for freeifaddrs.
...
(cherry picked from commit cc873bdd2e
)
2008-02-19 22:00:15 +01:00
Jelmer Vernooij
57587e49f5
r26497: Fix return type for freeifaddrs().
...
(cherry picked from commit 8c65053f51
)
2008-02-19 21:59:51 +01:00
Jelmer Vernooij
f2f5521068
r26495: Add defines for getifaddrs/freeifaddrs.
...
(cherry picked from commit c9e5a3078f
)
2008-02-19 21:59:27 +01:00
Jelmer Vernooij
839d128a42
r26492: Some hosts have a define called ifa_dstaddr.
...
(cherry picked from commit c4cd935ee7
)
2008-02-19 21:58:50 +01:00
Jelmer Vernooij
d9c3b27c3f
r26491: Fix syntax.
...
(cherry picked from commit 2513230e28
)
2008-02-19 21:58:12 +01:00
Jelmer Vernooij
ce222d07ba
r26487: Cope with systems that don't have struct sockaddr.sa_len.
...
(cherry picked from commit 56080469ab
)
2008-02-19 21:57:46 +01:00
Jelmer Vernooij
556b6b9a2f
r26470: Update README.
...
(cherry picked from commit 51a78cfc3e
)
2008-02-19 21:57:15 +01:00
Jelmer Vernooij
a2d6f6b4ae
r26469: Fix paths, only include IPv4 addresses for now.
...
(cherry picked from commit fa9e3b6fa8
)
2008-02-19 21:56:52 +01:00
Jelmer Vernooij
3f9c0c2100
r26468: Match getifaddrs more closely, add trivial test.
...
(cherry picked from commit 92898c043b
)
2008-02-19 21:56:41 +01:00
Jelmer Vernooij
789bf2d36b
r26467: Use getifaddrs() for interface enumeration and provide replacements for platforms that don't have it in lib/replace.
...
(lib/replace part of 9b4924fbd8
- Michael)
2008-02-19 21:55:09 +01:00
Michael Adam
d1db2b78c9
configure: Move path (and debug) checks to an m4 include file check_path.m4.
...
This is inspired by metze's check_path.m4 of Samba4.
Michael
2008-02-19 17:39:40 +01:00
Michael Adam
1f3bfa024d
build: change selftest_prefix from ./ to ./st .
...
It was used as ${selftest_prefix}/st anyways...
Michael
2008-02-19 17:39:40 +01:00
Michael Adam
bf1bb2c090
configure: move debug check to developer check
...
...thereby grouping test checks and debug/developer checks together, respectively.
Michael
2008-02-19 17:39:40 +01:00
Michael Adam
ad45d056df
configure: Also set debug=yes for --enable-developer and --enable-krb5developer.
...
Michael
2008-02-19 17:39:40 +01:00
Michael Adam
e9b06ac113
configure: add default for developer and krb5developer
...
Michael
2008-02-19 17:39:40 +01:00
Michael Adam
05e3095e21
configure: move more developer/test related checks up before the compiler checks.
...
Michael
2008-02-19 17:39:40 +01:00
Michael Adam
fb74f8dd6a
Move the --enable-debug check up above all compiler checks.
...
Michael
2008-02-19 17:39:40 +01:00
Michael Adam
b33db84c22
configure: Introduce "debug" variable set to yes by --enable-debug.
...
Michael
2008-02-19 17:39:40 +01:00
Michael Adam
28c862704c
configure: move AC_SUBST's of certain directories to the corresponding checks.
...
Michael
2008-02-19 17:39:40 +01:00
Michael Adam
3ba8fa1c4b
Move AC_ENABLE_SHARED and AC_DISABLE_STATIC to a more appropriate place.
...
I have to investigate the effect of these and evaluate the need of
their presence. For now establish more reasonable grouping.
Michael
2008-02-19 17:39:40 +01:00
Michael Adam
35327e8fee
configure.in: move definition of build dir up.
...
Michael
2008-02-19 17:39:39 +01:00
Michael Adam
aeb3673b36
Remove unused m4 macro files.
...
These files were added in aa14900f82
(automatic dependency tracking) in SAMBA_3_2, which was removed
from configure.in in the git glue commit 5c6c8e1fe9
.
But apparently, the files were not removed by accident.
Michael
2008-02-19 17:39:39 +01:00
Volker Lendecke
e2ca12c234
Update position information also for AIO
...
Necessary to survive RAW-SEEK with AIO enabled.
Jeremy, please check!
2008-02-19 16:19:49 +01:00
Volker Lendecke
81d823e026
Inform level II oplock holders when we write using AIO
...
Jeremy, please check!
2008-02-19 16:19:49 +01:00
Karolin Seeger
e5cc8b683c
Change ldap search filter. This function is also used to search machine accounts which may be located in a different ou. This is an extension to e71a48bb80
.
...
Karolin
2008-02-19 12:35:54 +01:00
Michael Adam
58626eb602
Makefile.in: Rework registry-related object collections.
...
Group and name objects more sanely.
Michael
2008-02-19 11:01:00 +01:00
Michael Adam
d08a3a1957
Use linbet_conf code in loadparm's registry handling.
...
This replaces the original hand-written tdb code, now that the
linking dependencies have been significantly reduced.
Michael
2008-02-19 09:09:05 +01:00
Michael Adam
951d3fae2c
Make regdb_init() behave like regdb_open() when registry is already opened.
...
I.e. increment the refcounter.
Michael
2008-02-19 09:09:04 +01:00
Michael Adam
a0b12f4d81
Add a function libnet_conf_get_seqnum() to the libnet_conf API.
...
This is to provide a change sequence number to users, so that they
can use it to detect change in the config and trigger a reload.
Michael
2008-02-19 09:09:04 +01:00
Günther Deschner
eeb598a19a
Remove unused marshalling for SVCCTL_UNLOCK_SERVICE_DB.
...
Guenther
2008-02-19 03:13:58 +01:00
Günther Deschner
300bf76a79
Use pidl for _svcctl_UnlockServiceDatabase().
...
Guenther
2008-02-19 03:13:50 +01:00