Jelmer Vernooij
49ef288819
waf: Rename some BUNDLED_ functios to PRIVATE_.
2010-10-23 22:24:06 +00:00
Jelmer Vernooij
dec00bf097
tdb: Revert re-addition of tdb_set_logging_function.
...
I accidentally committed this patch which we carry in the Debian
packages.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Oct 23 18:37:16 UTC 2010 on sn-devel-104
2010-10-23 18:37:16 +00:00
Matthias Dieter Wallnöfer
ee913f4568
tdb: commit the version 1.2.7 signatures
2010-10-23 16:37:28 +02:00
Kai Blin
c320c1ab98
lib/util: Add tevent WERROR wrappers
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Oct 23 07:35:28 UTC 2010 on sn-devel-104
2010-10-23 07:35:28 +00:00
Stefan Metzmacher
79c6572256
tsocket: let tstream_inet_tcp_connect_recv() optionally return the used local address
...
tstream_inet_tcp_connect_send() usually only gets no local port number
and it may use the wildcard address '0.0.0.0' or '::'.
tstream_inet_tcp_connect_recv() provides the used local address and port
which are used on the wire.
metze
2010-10-23 08:49:30 +02:00
Stefan Metzmacher
d2c653629c
tsocket: ask the kernel for the specific local address after a tcp connect
...
metze
2010-10-23 08:49:29 +02:00
Stefan Metzmacher
96601cab1c
lib/replace: use snprintf() in test code to avoid warnings in the IBM-Checker
...
metze
2010-10-23 08:49:29 +02:00
Stefan Metzmacher
d65896cc3c
lib/replace: fix rep_strtoull() prototype
...
metze
2010-10-23 08:49:28 +02:00
Kamen Mazdrashki
14cb61da8f
asn1_tests: Implement negative unit-tests for ber_write_OID_String()
2010-10-22 01:48:58 +03:00
Kamen Mazdrashki
6b63ad6ff1
asn1: ber_write_OID_String() to be more picky about supplied OID
...
Now function will check for invalid OID handling cases where:
- sub-identifier has invalid characters (non-digit)
- 'dot' separator found on unexpected place. For instance
'.' at start or end of the OID. Two '.' in a row.
2010-10-22 01:48:58 +03:00
Matthieu Patou
c74ef7acf4
waf: Mark the replacement zlib private so that it can build on machine without a system zlib
...
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Thu Oct 21 21:47:46 UTC 2010 on sn-devel-104
2010-10-21 21:47:46 +00:00
Matthieu Patou
4ea7d4694a
replace: use replace for non 'samba' compliant strptime
2010-10-22 01:00:54 +04:00
Matthieu Patou
2d0ac59fcc
replace: use a wrapper around strtoll if it didn't behave as expected
2010-10-22 01:00:53 +04:00
Jelmer Vernooij
c529317fe2
Lowercase socket_wrapper name.
...
Avoid linking against socket_wrapper outside of developer mode.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Oct 21 20:26:11 UTC 2010 on sn-devel-104
2010-10-21 20:26:11 +00:00
Jelmer Vernooij
62c4af9942
tdb: Set _PUBLIC_ in C file rather than header files (Debian bug 600898)
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Oct 21 11:47:22 UTC 2010 on sn-devel-104
2010-10-21 11:47:22 +00:00
Andrew Tridgell
1cbb6150a1
lib: make WRAP_XATTR a private library
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21 19:03:26 +11:00
Andrew Tridgell
3981399957
s4-waf: removed the XATTR and SASL aliases
...
these were hangovers from the old build system names
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21 19:03:25 +11:00
Andrew Tridgell
6c60b8be03
lib: add UTIL_TEVENT to samba_sockets grouping library
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21 19:03:25 +11:00
Andrew Tridgell
f39b21008f
waf-build: create a samba_sockets grouping library
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21 19:03:24 +11:00
Andrew Tridgell
7cba3cfac8
waf: replace the is_bundled option with private_library
...
'private_library' better captures what we are trying to get at when we
bundle a library
2010-10-21 19:03:24 +11:00
Andrew Tridgell
713900b812
s4-build: fixed some formatting
...
indentation was far too deep
2010-10-21 19:03:24 +11:00
Andrew Tridgell
579f06e001
build: subunit and popt need to be marked as private libraries
...
they have no vnum
2010-10-21 19:03:24 +11:00
Andrew Tridgell
a913e79ee5
replace: make libreplace a private library
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21 19:03:24 +11:00
Andrew Tridgell
dc00b773fc
wrapper: make socket_wrapper, uid_wrapper and nss_wrapper private libs
...
this prevents double instantiation
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21 19:03:24 +11:00
Matthias Dieter Wallnöfer
4a33071e83
s4:lib/util/charset/iconv.c - remove a distinction which can never happen
...
"ret->cd_direct" is never set before. It is set in the "if" upperwards but
then the function is terminated with "return".
2010-10-21 08:28:50 +02:00
Kamen Mazdrashki
c0b9526aaf
pytalloc: use talloc_unlink() to free py_talloc objects
...
Those type of objects are referenced every time we assign
them to other py_talloc objects, which leads to runtime
warnings that we are trying to free an object with references
Wrap talloc_unlink() in SMB_ASSERT() to ensure we catch possible failure
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Wed Oct 20 21:37:06 UTC 2010 on sn-devel-104
2010-10-20 21:37:06 +00:00
Simo Sorce
feb6034581
talloc: make header C++ safe
...
Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Wed Oct 20 18:15:09 UTC 2010 on sn-devel-104
2010-10-20 18:15:09 +00:00
Volker Lendecke
62bea12c5d
s3: Don't use talloc_autofree_context in map_file
2010-10-20 18:09:19 +02:00
Volker Lendecke
97a7aec44a
uid_wrapper: The gid wrapper does not require a destructor
...
Don't use talloc_autofree_context
2010-10-20 18:09:19 +02:00
Kamen Mazdrashki
099b0057be
asn1_tests.c: Make test data static const
2010-10-20 13:12:17 +00:00
Kamen Mazdrashki
d057ca3e3f
lib/util/asn1.c: comment spelling
2010-10-20 13:12:17 +00:00
Andrew Tridgell
ec90b249ec
replace: cope with systems that have fdatasync(), but don't have the prototype
...
this is needed for MacOSX 10.4.1
2010-10-19 11:22:35 +11:00
Jelmer Vernooij
05c1beb6b4
tdb: Bump version to 1.2.7 after addition of pytdb.__version__.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 17 18:23:16 UTC 2010 on sn-devel-104
2010-10-17 18:23:16 +00:00
Matthias Dieter Wallnöfer
a3f61dea40
Revert "s4:remove "util_ldb" submodule and integrate the three gendb_* calls in "dsdb/common/util.c""
...
This reverts commit 8a2ce5c47c
.
Jelmer pointed out that these are also in use by other LDB databases - not only
SAMDB ones.
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Oct 17 13:37:16 UTC 2010 on sn-devel-104
2010-10-17 13:37:16 +00:00
Matthias Dieter Wallnöfer
8a2ce5c47c
s4:remove "util_ldb" submodule and integrate the three gendb_* calls in "dsdb/common/util.c"
...
They're only in use by SAMDB code.
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Oct 17 09:40:13 UTC 2010 on sn-devel-104
2010-10-17 09:40:13 +00:00
Matthias Dieter Wallnöfer
39bd4ce920
s4:lib/util/util_ldb.c - remove unused "gendb_add_ldif" call
2010-10-17 10:29:46 +02:00
Matthias Dieter Wallnöfer
be4a0d35ac
s4:"wrap_casefold" - move it to "ldb_wrap.c" since it's only used there
2010-10-17 10:20:40 +02:00
Andrew Tridgell
261628d1e4
s4-torture: fixed uninitialised variable error
...
ret is uninitialised if the directory is empty
2010-10-13 11:00:04 +00:00
Andrew Bartlett
d406e511a5
lib/debug Add DEBUGC and DEBUGADDC as dummies
...
This allows code that needs to also compile against the source3
debug code to compile in source4.
Andrew Bartlett
2010-10-12 02:54:16 +00:00
Matthieu Patou
77cdef5359
torture: Add debug on what we are removing
2010-10-11 13:46:21 +00:00
Andrew Bartlett
74ed86c4e3
lib/torture: Add function to clean up the output directory
...
This helps to avoid leaving 85MB of provision around for every
NET-API-BECOME-DC test.
Andrew Bartlett
Signed-off-by: Matthieu Patou <mat@matws.net>
2010-10-11 13:46:21 +00:00
Jelmer Vernooij
ba02178e87
util: Fix installation path of tevent_ntstatus.h, tevent_unix.h (bug 7720).
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 11 09:24:56 UTC 2010 on sn-devel-104
2010-10-11 09:24:56 +00:00
Jelmer Vernooij
dc47e8dc52
libcli-auth: Remove unnecessary dependency on libsamba-hostconfig.
2010-10-11 01:06:35 +02:00
Jelmer Vernooij
904a6c3761
util: Link headers to correct subsystem, fix formatting.
2010-10-10 23:50:46 +02:00
Stefan Metzmacher
9b9489479e
socket_wrapper: Make it work on freebsd for udp packets
...
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Oct 10 12:57:00 UTC 2010 on sn-devel-104
2010-10-10 12:56:59 +00:00
Jelmer Vernooij
3cd558dbeb
talloc: Fix #include line in manpage.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Oct 9 13:53:25 UTC 2010 on sn-devel-104
2010-10-09 13:53:24 +00:00
Kamen Mazdrashki
76a8ae9e0d
pytalloc: Fix warning that we are subtracting void* pointers
...
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Fri Oct 8 23:36:54 UTC 2010 on sn-devel-104
2010-10-08 23:36:54 +00:00
Volker Lendecke
e36e67fe04
tevent: Do not use talloc_autofree_context
2010-10-08 21:11:45 +02:00
Volker Lendecke
b5ed09c3af
Move talloc_enable_null_tracking() to the s3 daemons
2010-10-08 21:11:45 +02:00
Andrew Tridgell
bb0017615d
waf: fixed exit status of test suites
...
use RUN_COMMAND() to handle signal errors and exit status
2010-10-07 14:29:21 +11:00