Andrew Tridgell
5a20325c86
libcli: created smb_constants.h
...
this starts the (long!) process of moving some of the SMB constants
into common files. This just moves the FLAGS2_ defines, which are
needed for common string routines (for FLAGS2_UNICODE_STRINGS)
2011-03-25 04:37:06 +01:00
Andrew Tridgell
bfce962c8f
tdb: rename convert_string() to tdb_convert_string()
...
this prevents a conflict with the convert_string() in samba
2011-03-25 04:37:06 +01:00
Andrew Tridgell
980064b76d
lib: remove unused pieces of string_wrappers.h
2011-03-25 04:37:06 +01:00
Andrew Tridgell
8cd4a38d72
lib: move the string wrappers from source3/include to common lib/util
...
this will allow the common charcnv library to use the string wrappers
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-25 04:37:06 +01:00
Andrew Tridgell
15e84a9a09
charcnv: removed the allow_badcharcnv and allow_bad_conv options to convert_string*()
...
we shouldn't accept bad multi-byte strings, it just hides problems
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
2011-03-24 01:47:26 +01:00
Andrew Tridgell
451856698f
charset: remove another allow_badcharcnv check
...
better to fail only if there is a bad character
2011-03-24 01:01:04 +01:00
Matthias Dieter Wallnöfer
7d2d902d51
async_rec/async_sock.c - add an additional "const"
...
In order to suppress a build warning.
Acked-by: Volker and Metze
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Wed Mar 23 10:26:23 CET 2011 on sn-devel-104
2011-03-23 10:26:23 +01:00
Andrew Bartlett
41051fd3d3
lib/util: Merge basic string length and comparison functions
...
These functions now use the codepoints for more accurate string
handling and now form common code.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Mar 23 08:21:54 CET 2011 on sn-devel-104
2011-03-23 08:21:54 +01:00
Andrew Tridgell
cd4306b01e
charcnv: remove the automatic fail on allow_badcharcnv true
...
we should just fail the call if the string really is bad
2011-03-23 12:19:29 +11:00
Andrew Tridgell
6e8b6358ec
fault: fixed smb_panic() prototypes
...
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Mar 23 01:51:44 CET 2011 on sn-devel-104
2011-03-23 01:51:44 +01:00
Andrew Tridgell
a65ba83ae6
fault: moved fault.c into common library
2011-03-23 11:03:58 +11:00
Andrew Tridgell
1ac079e3f6
fault: switch s4 to use the common fault.c
2011-03-23 11:03:57 +11:00
Andrew Tridgell
580997ede0
fault: get fault.c ready for use by s4
...
this moves the s3 specific dumpcore code into source3/lib/dumpcore.c,
and uses a function pointer to setup which smb_panic call to use
2011-03-23 11:03:57 +11:00
Andrew Tridgell
058c3bb923
fault: moved s3 fault.c to top level
2011-03-23 11:03:57 +11:00
Andrew Tridgell
cb2cc34eff
fault: rename fault.c to fault_s4.c
...
this is in preparation for merging the s3 fault code into common
2011-03-23 11:03:57 +11:00
Jelmer Vernooij
a8eea9e946
lib/replace/test: Add missing include for prototype.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Mar 19 16:45:56 CET 2011 on sn-devel-104
2011-03-19 16:45:56 +01:00
Jelmer Vernooij
df0b7f1c34
lib/: Fix prototypes for functions.
2011-03-19 03:20:05 +01:00
Jelmer Vernooij
f70a658b82
libreplace: Fix prototypes for all functions.
2011-03-19 03:20:05 +01:00
Simo Sorce
5d55ae0a29
lib-util: put data_blob back in the public library
...
data_blob is defined ina public header, so it needs to be exposed in the public
library.
Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Thu Mar 17 15:39:08 CET 2011 on sn-devel-104
2011-03-17 15:39:08 +01:00
Simo Sorce
2a608ba856
dcerpc: we do not need these as public headers
...
latest openchange doesn't need these headers either
fix _PRINTF_ATTRIBUTE in tdr.h, as it was failing to work after removing
proto.h due to side effects. PRINTF_ATTRIBUTE is ok and is define in talloc.h
which is included by tdr.h
Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Wed Mar 16 23:45:20 CET 2011 on sn-devel-104
2011-03-16 23:45:20 +01:00
Andrew Tridgell
c56e3ccfc9
lib: don't install public headers if a private library
...
for talloc/tevent/tdb, only install headers if we are doing a
standalone build
2011-03-15 12:22:20 +11:00
Andrew Tridgell
5ca9db07f5
lib: fixed header paths
...
this is a public header, and needs to use sane paths for the public
header creation
2011-03-15 12:22:19 +11:00
Andrew Tridgell
7293c370d3
talloc: use <talloc.h> not "talloc.h"
...
this ensures we use the right header
2011-03-15 12:22:19 +11:00
Andrew Tridgell
7b948a39e1
tdb: use public_headers to install header files
2011-03-15 12:22:19 +11:00
Andrew Tridgell
0a0ebd73fb
tdb: use system include style for system headers
2011-03-15 12:22:19 +11:00
Andrew Tridgell
a18a556237
tevent: use public_headers for tevent.h
2011-03-15 12:22:18 +11:00
Andrew Tridgell
e3e1eada45
talloc: use public_headers to install talloc.h and pytalloc.h
...
this allows them to be included in the test_headers.h generated header
2011-03-15 12:22:18 +11:00
Matthias Dieter Wallnöfer
f5ce61ea57
lib/util/fault.c - "call_backtrace" - no need to have "backtrace_size" as size_t
...
The function "backtrace" returns an "int".
2011-03-10 11:12:05 +01:00
Stefan Metzmacher
494d497b99
tevent: change version to 0.9.11
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Mar 10 10:24:49 CET 2011 on sn-devel-104
2011-03-10 10:24:49 +01:00
Stefan Metzmacher
b7d5ddfa61
tevent/poll: use fde->additional_flags to hold the array index
...
metze
2011-03-10 09:37:02 +01:00
Stefan Metzmacher
20284f2a84
tevent: change tevent_fd->additional_flags to uint64_t
...
metze
2011-03-10 09:37:02 +01:00
Stefan Metzmacher
a29999392a
socket_wrapper: fix handling of addr and addrlen
...
metze
2011-03-09 12:27:25 +01:00
Andreas Schneider
d4867ef838
tevent: Fixed tevent_wakeup_send code example.
2011-03-09 09:28:27 +01:00
Stefan Metzmacher
2c7c3d03d5
lib/socket_wrapper: try to fix the build on solaris
...
struct msg does not contain msg_control, msg_controllen and msg_flags
on solaris.
metze
2011-03-04 21:19:05 +01:00
Andrew Tridgell
3560db3da3
debug: fixed a valgrind error
...
Thanks to Volker for spotting this one!
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Mar 4 03:09:52 CET 2011 on sn-devel-104
2011-03-04 03:09:52 +01:00
Günther Deschner
9167d70e77
libreplace: move "struct timespec" checks into libreplace (where timespec is already used).
...
Bjoern, Metze, please check.
Guenther
2011-03-04 00:28:27 +01:00
Stefan Metzmacher
a5d54579ea
socket_wrapper: use swrap_sendmsg_before()/after() in swrap_writev()
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Mar 3 23:43:39 CET 2011 on sn-devel-104
2011-03-03 23:43:39 +01:00
Stefan Metzmacher
e831376f91
socket_wrapper: use swrap_sendmsg_before()/after() in swrap_sendmsg()
...
This also adds the same logic for broadcast as in swrap_sendto()
for SOCK_DGRAM.
metze
2011-03-03 22:57:26 +01:00
Stefan Metzmacher
4a736f0fbe
socket_wrapper: use swrap_sendmsg_before()/after() in swrap_send()
...
metze
2011-03-03 22:57:26 +01:00
Stefan Metzmacher
a2db6b4dba
socket_wrapper: use swrap_sendmsg_before()/after() in swrap_sendto()
...
metze
2011-03-03 22:57:26 +01:00
Stefan Metzmacher
8c6d7d7b27
socket_wrapper: add swrap_sendmsg_before/after helper functions
...
Currently have almost the same logic in swrap_send(), swrap_sendto(),
swrap_writev() and swrap_sendmsg(), this helper functions
let combine all the logic in 2 places.
metze
2011-03-03 22:57:26 +01:00
Stefan Metzmacher
c9ae810209
socket_wrapper: replace recvmsg() correctly
...
metze
2011-03-03 22:57:26 +01:00
Stefan Metzmacher
ec028b555b
socket_wrapper: readv() should only work on connected sockets
...
metze
2011-03-03 22:57:26 +01:00
Stefan Metzmacher
7bdc3db9ea
socket_wrapper: move swrap_ioctl() above the send*/recv* functions
...
metze
2011-03-03 22:57:26 +01:00
Stefan Metzmacher
0ad8d459c6
socket_wrapper: fix compiler warnings
...
metze
2011-03-03 22:57:25 +01:00
Stefan Metzmacher
e3c0d66110
socket_wrapper: don't allow connect() to the broadcast address
...
This will simplify other code later.
metze
2011-03-03 22:57:25 +01:00
Günther Deschner
875d9b8098
lib/util: LIBCRYPTO is in common already, so add it to samba-util-common.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Mar 3 18:08:30 CET 2011 on sn-devel-104
2011-03-03 18:08:30 +01:00
Andrew Bartlett
5f5ca913b7
lib/util: new merged debug system
...
This is the s3 debug system, with a number of changes to tidy it up
for common use. The debug class system is simplified by the removal of the
ISSET table, the system no longer attempts to cope with assignment of
DEBUGLEVEL, and the full class table is always available (rather than
just DEBUGLEVEL_CLASS[DBCG_ALL]) from startup. It is also no longer
confusingly described as a hack, but as the initial table.
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Mar 1 04:32:12 CET 2011 on sn-devel-104
2011-03-01 04:32:12 +01:00
Andrew Bartlett
4acef317a0
lib/util move debug.[ch] out of the way
...
This will allow a modified version of the s3 debug system to be the
new common debug system.
Andrew Bartlett
2011-03-01 03:46:18 +01:00
Andrew Bartlett
608c8e7872
lib/util/time: Merge time functions from source3/lib/time.c
2011-03-01 02:13:22 +01:00
Jeremy Allison
410f9fad6c
Fix "cast from pointer to integer of different size" warnings on a 64-bit machine.
2011-02-28 21:58:20 +01:00
Jelmer Vernooij
1a6fd61a41
tevent: Add lib/tevent as include directory.
2011-02-28 21:11:21 +01:00
Jelmer Vernooij
31d09b13d3
tdb: Use <tdb.h> to include tdb so system headers are found when building against system tdb.
2011-02-28 21:11:21 +01:00
Jelmer Vernooij
4a42272f09
tdr: Inline proto header to allow tdr.h to be used as it's a public header.
2011-02-28 21:11:21 +01:00
Jelmer Vernooij
21d926f0ef
Use <tevent.h> so the system tevent gets included, if enabled.
2011-02-28 21:11:21 +01:00
Jeremy Allison
6e66208f63
Finish the range checking on all FD_SET calls for select().
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Feb 28 21:10:08 CET 2011 on sn-devel-104
2011-02-28 21:10:08 +01:00
Volker Lendecke
d163f5d67c
Remove sys_select[_intr]
2011-02-28 16:40:20 +01:00
Volker Lendecke
3254e39220
tevent: Add a poll backend
2011-02-28 16:40:20 +01:00
Volker Lendecke
d825b5e2cb
s3: Eliminate select from libaddns
2011-02-28 16:40:20 +01:00
Volker Lendecke
83becbe369
s3: Add sys_poll_intr
2011-02-28 16:40:19 +01:00
Volker Lendecke
be33e2e0a7
s3: Add sys_poll
2011-02-28 16:40:19 +01:00
Volker Lendecke
0fc1650e09
libreplace: poll based on select
2011-02-28 16:40:19 +01:00
Volker Lendecke
fec0baacb6
s3: Make is_zero_addr take a sockaddr_storage
...
All callers had to cast this anyway
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Feb 27 11:02:53 CET 2011 on sn-devel-104
2011-02-27 11:02:53 +01:00
Volker Lendecke
b0aba17538
nss_wrapper: Fix a segfault when libnss_winbind.so is not loadable
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Feb 26 13:19:01 CET 2011 on sn-devel-104
2011-02-26 13:19:01 +01:00
Volker Lendecke
22d8d277c6
nss_wrapper: Make nwrap_module_init a bit more readable
2011-02-26 12:00:48 +01:00
Günther Deschner
110f11d136
lib/util/charset: ICONV_WRAPPER needs talloc.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 23 12:46:33 CET 2011 on sn-devel-104
2011-02-23 12:46:33 +01:00
Andrew Tridgell
3c12c4c1a4
build: move idtree.c into samba-util-common
2011-02-23 00:45:21 +01:00
Andrew Tridgell
9174d73173
build: moved more files into samba-util-common
...
this removes UTIL_SRC from the s3 waf build, as it is now all in
common with samba-util-common
2011-02-23 00:45:21 +01:00
Andrew Tridgell
457025eee7
build: created samba-util-common library
...
this library will contain files that can be built in common between s3
and s4. Both samba-util and samba-util3 depend on it.
Currently this library needs to be marked as allow_undefined_symbols,
in order to allow s4 to build it. We can remove that flag once we have
all the needed symbols in common
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-23 00:45:21 +01:00
Stefan Metzmacher
d7fa349052
s3:auth: change num_groups to from size_t to uint32_t
...
This will help with the change from UNIX_USER_TOKEN to security_unix_token
metze
2011-02-22 16:20:11 +11:00
Andrew Tridgell
949427c208
python: use os.environ[] instead of os.putenv()
...
using os.putenv() causes too much confusion, as it doesn't update
os.getenv()
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:10 +01:00
Christian Ambach
2ba57fd183
s4:smbtorture do not leave output directory around
...
calling smbtorture with no or invalid arguments left the temporary
output directory around
this patches removes the dead-end exit from usage and makes the
logic go on until the final cleanup state is reached
output directory will still be left around when test times out
or testcases itself force an exit
also make sure that the directory itself is deleted, not just
the objects in it
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Feb 21 11:35:30 CET 2011 on sn-devel-104
2011-02-21 11:35:30 +01:00
Jelmer Vernooij
82fa772fa2
Fix missing dependency on libreplace.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Feb 21 01:17:33 CET 2011 on sn-devel-104
2011-02-21 01:17:33 +01:00
Andrew Bartlett
1ad8e5229f
lib/util/charset Add back setlocale(), but only when called from binaries
...
When called from a library, we don't want to call this, as we may
overwrite some of our calling program's context.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Feb 18 09:29:35 CET 2011 on sn-devel-104
2011-02-18 09:29:35 +01:00
Andrew Bartlett
2a3a86a86f
lib/util/charcnv Move iconv handle setup in common
...
We now use the struct smb_iconv_convenience at the core of all our
iconv code, and use global_iconv_convenience for the callers that
don't specify one.
Andrew Bartlett
2011-02-18 18:41:01 +11:00
Andrew Bartlett
e4c2023082
lib/util Remove #if _SAMBA_BUILD_ == 4 that isn't required any more
2011-02-18 18:41:00 +11:00
Andrew Bartlett
8afc271e2a
lib/util/charset Use top level iconv.c in source3
...
The two files were very similar already, the only change required was
to adopt the s3 module registration fucntion name.
(NTSTATUS wasn't used as the charset code does not otherwise use that
type).
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-18 18:41:00 +11:00
Andrew Bartlett
92faeaeea8
charset Remove use of {isupper,islower,toupper,tolower}_w functions
...
These now call the common _m functions that consider UTF16 code points.
This removes the code which will make up a 'lame' table in memory, as
this can just as correctly be handled by running the algorithm at runtime (which is to call toupper() and tolower() on characters < 128).
When used, a top level waf build will always locate the correct table
- in the build tree or outside - due to relinking the installed
binary.
Andrew Bartlett
2011-02-18 17:00:34 +11:00
Andrew Bartlett
83a63baecc
lib/util Make UTIL_LDB conditional on an s4 build
...
This allows this file to be used in common.
2011-02-18 16:46:42 +11:00
Andrew Tridgell
40a48f5502
s4-util: removed the valgrind_strlen() routine
...
this was for a bug in valgrind from 7 years ago.
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18 15:09:47 +11:00
Andrew Tridgell
324270ee57
libutil: make waf rules usable by s3 waf build
...
we need samba-util to be s4 only for now, because of the debug system
differences
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18 15:09:47 +11:00
Andrew Tridgell
fd000928e3
charset: allow s3 waf build to use lib/util/charset
...
the only conflict is with 'CHARSET' itself, which now builds
conditionally on _SAMBA_BUILD_==4
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18 15:09:47 +11:00
Andrew Bartlett
13f287fbc2
lib/util/charset use get_dyn_CODEPAGEDIR(), which is in common
...
This is provided by the s3 and s4 dynconfig implementations.
Andrew Bartlett
2011-02-18 15:09:47 +11:00
Andrew Bartlett
a47120ae93
lib/util/charset split codepoints.c into it's own subsystem
2011-02-18 15:09:47 +11:00
Andrew Bartlett
d8d81a7786
lib/util/charset use a path to dynconfig.h that works in s3 and s4
2011-02-18 15:09:47 +11:00
Andrew Bartlett
0581a5bb3c
lib/util/charset add functions isupper_m and islower_m
2011-02-18 15:09:46 +11:00
Andrew Tridgell
d5d26e3269
uid-wrapper: handle uwrap_enabled() as a macro
...
some s3 code defines uwrap_enabled() as a macro. Detect this, and
don't redeclare the functions
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18 15:09:46 +11:00
Volker Lendecke
7720facd42
tevent: Fix a comment
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Feb 17 18:16:18 CET 2011 on sn-devel-104
2011-02-17 18:16:18 +01:00
Andrew Tridgell
e1f2442096
s3-waf: move the KRB5_DEPRECATED configure check out of lib/replace
...
this needs to be in souce3/, as otherwise it can't handle an in-tree
kerberos library
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-17 00:55:56 +01:00
Stephen Gallagher
d6a41c2723
Return NULL if tevent_add_fd() is passed a negative fd
...
Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Mon Feb 14 17:47:03 CET 2011 on sn-devel-104
2011-02-14 17:47:03 +01:00
Günther Deschner
89db591b2a
s3-waf: add UTIL_TEVENT subsystem (as in ../lib/util/wscript)
...
Guenther
2011-02-14 13:38:53 +01:00
Volker Lendecke
7852527073
Fix some nonempty blank lines
2011-02-13 12:11:52 +01:00
Volker Lendecke
91cad71390
tdb: Fix a C++ warning
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Feb 12 19:50:55 CET 2011 on sn-devel-104
2011-02-12 19:50:55 +01:00
Günther Deschner
3eb7e125ab
waf: pure cosmetic reformatting of the two samba-util object lists (to ease comparing).
...
Guenther
2011-02-11 14:14:23 +01:00
Volker Lendecke
d7d36724d3
s3: Fix some nonempty blank lines
2011-02-10 16:16:03 +01:00
Sumit Bose
d02b5cd655
replace: Add missing eval to m4 script
...
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 10 16:14:21 CET 2011 on sn-devel-104
2011-02-10 16:14:21 +01:00
Günther Deschner
2f6d76a95f
socket_wrapper: avoid c++ style comments.
...
Seen on the aix s3-waf build where it causes the build to fail.
Guenther
2011-02-10 15:29:37 +01:00
Andrew Tridgell
11f5d7c2f5
s4-torture: not having an output dir is not a fatal error
...
just return NT_STATUS_OK, as nothing to cleanup
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-10 06:51:07 +01:00
Andrew Tridgell
8dc92c8f71
ldb: use #include <ldb.h> for ldb
...
thi ensures we are using the header corresponding to the version of
ldb we're linking against. Otherwise we could use the system ldb for
link and the in-tree one for include
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-10 06:51:07 +01:00
Volker Lendecke
dcd6764dad
tevent: Fix typos
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Feb 9 18:13:18 CET 2011 on sn-devel-104
2011-02-09 18:13:18 +01:00
Günther Deschner
56fe080d87
lib/compression: add shared wscript_build.
...
Guenther
2011-02-08 14:05:36 +01:00
Günther Deschner
6baa3ef648
waf: add clock_gettime clock ID checks to libreplace wscript.
...
Guenther
2011-02-07 13:21:50 +01:00
Andrew Tridgell
8b8caac6d0
build: removed the old autogen.sh and autogen-waf.sh scripts
...
for the builds that use waf only, these are no longer needed and just
cause confusion
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 15:03:40 +11:00
Andrew Tridgell
1867a6033c
s4-charset: use dyn_CODEPAGEDIR for location of upcase.dat/lowcase.dat
...
this matches samba3 behaviour
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 13:22:02 +11:00
Andrew Tridgell
13470f11ee
charcnv: removed call to setlocale() (bug 7519)
...
We don't need this setlocale() call, and it can break applications
that use our libraries
Thanks to Milan Crha for pointing this out
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Feb 4 06:51:01 CET 2011 on sn-devel-104
2011-02-04 06:51:01 +01:00
Stefan Metzmacher
1e42aa6b3a
replace: Try to fix broken sys/capabilites.h on Linux.
...
As this is more or less a broken header we need to include linux/types.h
before sys/capabilities.h to avoid redefinitions.
Systems like ClearOS 5.2 need linux/types.h very early.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Feb 3 05:26:12 CET 2011 on sn-devel-104
2011-02-03 05:26:11 +01:00
Stefan Metzmacher
5f18925e69
Revert "replace: Try to fix broken sys/capabilites.h on Linux."
...
This reverts commit c2207e9b2c
.
This still doesn't build for me on ClearOS 5.2.
metze
2011-02-03 04:32:43 +01:00
Andreas Schneider
c2207e9b2c
replace: Try to fix broken sys/capabilites.h on Linux.
...
As this is more or less a broken header we need to include linux/types.h
before sys/capabilities.h to avoid redefinitions.
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Feb 2 11:57:04 CET 2011 on sn-devel-104
2011-02-02 11:57:04 +01:00
Andrew Bartlett
a3e99356ab
s4-waf Don't install any Samba packages into PYTHONDIR
...
This causes the parts of Samba installed into PYTHONARCHDIR to then be
missed in mixed python/C module namespaces.
Andrew Bartlett
2011-02-02 15:21:13 +11:00
Stefan Metzmacher
c9e6bf047d
lib/util: add tests for anonymous_shared_allocate/free()
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Jan 20 06:25:03 CET 2011 on sn-devel-104
2011-01-20 06:25:03 +01:00
Stefan Metzmacher
cc59f347ee
lib/util: add anonymous_shared_free()
...
metze
2011-01-20 05:31:45 +01:00
Stefan Metzmacher
34ea909636
lib/util: s/allocate_anonymous_shared/anonymous_shared_allocate/
...
metze
2011-01-20 05:31:45 +01:00
Stefan Metzmacher
9e00d2a9a4
lib/util: fix rounding to page size in allocate_anonymous_shared()
...
metze
2011-01-20 05:31:43 +01:00
Andreas Schneider
b42afa0edf
tdb: Added doxygen documentation.
...
Autobuild-User: Andreas Schneider <asn@samba.org>
Autobuild-Date: Wed Jan 19 11:26:34 CET 2011 on sn-devel-104
2011-01-19 11:26:34 +01:00
Andrew Tridgell
005c6370cd
waf: ensure "make dist" works from a clean git tree for all libraries
...
this uses a temporary waf lock file to force the build directory
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Sat Jan 8 02:35:22 CET 2011 on sn-devel-104
2011-01-08 02:35:22 +01:00
Günther Deschner
7ee75c9548
lib/addns: move DNS client library to the main directory.
...
Guenther
2011-01-06 16:42:56 +01:00
Jelmer Vernooij
24d5a7202a
tdbrestore: Update to GPLv3+, remove old FSF address.
2011-01-06 15:21:21 +01:00
Stefan Metzmacher
d9fd1f684a
talloc: change version to 2.0.5 after a critical bugfix
...
metze
2011-01-05 10:24:47 +01:00
Andrew Tridgell
6f51a1f45b
talloc: fixed a use after free error
...
this is the minimal fix for the problem Rusty found. I previously
thought that the best fix would be to change tc->parent to be valid
for all pointers, but that is expensive for realloc with large numbers
of child pointers, which is much more commmon than I expected it to
be.
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Jan 5 07:22:27 CET 2011 on sn-devel-104
2011-01-05 07:22:27 +01:00
Andrew Tridgell
66db49e35f
talloc: added a test for the use after free Rusty found
2011-01-05 06:37:07 +01:00
Jelmer Vernooij
733bc1c1ca
talloc: Clarify error message on access after free.
2011-01-05 01:01:28 +01:00
Brad Hards
564830ef90
talloc: Typo fix for api docs
2011-01-04 14:46:07 +11:00
Stefan Metzmacher
ea5940e7eb
lib/crypto: add aes_cfb8_encrypt()
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Jan 3 17:32:07 CET 2011 on sn-devel-104
2011-01-03 17:32:07 +01:00
Brad Hards
10b1ed670f
talloc: Fix warnings in test code
...
This should not change any behaviour - the intent is just to reduce
the "nuisance" warnings.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Jan 3 11:12:39 CET 2011 on sn-devel-104
2011-01-03 11:12:39 +01:00
Jelmer Vernooij
fdb0aa2b04
Revert broken destructor changes.
2011-01-03 01:48:05 +01:00
Jelmer Vernooij
cbf504b0c5
s4-python: Properly call PyObject_Del from all destructors.
2011-01-03 01:48:04 +01:00
Jelmer Vernooij
5792fa90ac
s4-python: Only set BASETYPE flag if subclassing is supported.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Jan 1 03:39:58 CET 2011 on sn-devel-104
2011-01-01 03:39:58 +01:00
Jelmer Vernooij
f5fe9c32ef
s4-python: Add more prototypes.
2011-01-01 02:54:05 +01:00
Jelmer Vernooij
4350e0c3c9
s4-python: Properly call PyObject_Del from all destructors.
2011-01-01 02:54:05 +01:00
Jelmer Vernooij
51239bb26a
talloc/tdb/tevent: Remove obsolete signatures files.
2011-01-01 02:54:05 +01:00
Volker Lendecke
65f4f22cb4
Use sockaddr_storage in async sendto/recvfrom
2010-12-29 22:44:06 +01:00
Stefan Metzmacher
b222615b59
tdb: add ABI/tdb-1.2.9.sigs
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Dec 29 11:26:12 CET 2010 on sn-devel-104
2010-12-29 11:26:12 +01:00
Rusty Russell
cac57328a6
tdb: tdb_summary() support.
...
Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Wed Dec 29 10:12:05 CET 2010 on sn-devel-104
2010-12-29 10:12:05 +01:00
Volker Lendecke
c4b18bd860
async_send->sendto, async_recv->recvfrom
2010-12-28 12:59:11 +01:00
Stefan Metzmacher
7ea1b76797
tdb: setup TEST_DATA_PREFIX for make test
...
metze
2010-12-27 15:37:57 +01:00
Volker Lendecke
b2c983149c
tevent: More documentation updates
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Dec 26 15:49:59 CET 2010 on sn-devel-104
2010-12-26 15:49:59 +01:00
Volker Lendecke
d2de01f95b
tevent: More doc fixes
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Dec 26 10:20:51 CET 2010 on sn-devel-104
2010-12-26 10:20:51 +01:00
Volker Lendecke
f16740a408
tevent: Some documentation fixes
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Dec 25 23:58:20 CET 2010 on sn-devel-104
2010-12-25 23:58:20 +01:00
Volker Lendecke
5353eaea33
tevent: Fix a typo
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Dec 25 22:56:18 CET 2010 on sn-devel-104
2010-12-25 22:56:18 +01:00
Stefan Metzmacher
b83672b36c
tdb:tdbtorture: use TEST_DATA_PREFIX for files
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Dec 24 18:17:53 CET 2010 on sn-devel-104
2010-12-24 18:17:53 +01:00
Stefan Metzmacher
d81ceeb983
tdb:tdbtest: use TEST_DATA_PREFIX for files
...
metze
2010-12-24 17:31:06 +01:00
Jelmer Vernooij
bfb9ae2414
talloc: remove autotools support.
2010-12-24 01:15:05 +01:00
Jelmer Vernooij
9e8a049843
tdb: Remove autotools support.
2010-12-24 01:15:05 +01:00
Stefan Metzmacher
46ee6908be
tdb: add ABI/tdb-1.2.8.sigs
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Dec 23 20:35:42 CET 2010 on sn-devel-104
2010-12-23 20:35:41 +01:00
Stefan Metzmacher
42b7827021
tevent: add ABI/tevent-0.9.10.sigs
...
metze
2010-12-23 19:19:57 +01:00
Matthias Dieter Wallnöfer
da78e24ca2
lib/replace/testsuite.c - fix test output
2010-12-23 12:42:37 +01:00
Günther Deschner
2e2cb8d96d
s4-smbtorture: add torture_assert_nttime_equal macro.
...
Guenther
2010-12-22 13:33:17 +01:00
Matthias Dieter Wallnöfer
07bcf6197d
lib/util/time.c - make the "strftime" output locale independant ("%c" is not)
...
So that it also works on Solaris.
2010-12-22 12:21:16 +01:00
Jelmer Vernooij
58206fb9b8
tevent: Remove reference to nonexistant configure.developer from autogen.sh.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Dec 21 20:29:21 CET 2010 on sn-devel-104
2010-12-21 20:29:21 +01:00
Jelmer Vernooij
4663a6a66e
talloc: Remove reference to nonexistant configure.developer in autogen.sh.
2010-12-21 19:43:04 +01:00