summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-06-19Partially revert restriction of socket_wrapper to 1500 byte writesAndrew Bartlett1-10/+32
This keeps the restriction for stream sockets (where the caller will retry), without creating problems on datagram sockets (CLDAP is not defined, as far as I know, across multiple UDP packets). The commit adding this restriction was 47b106c0ae8b91c9cccfc21bf8e4e416b1abfd5d Andrew Bartlett
2009-06-18Revert "For tevent to install tevent_util.h"Simo Sorce1-1/+0
This reverts commit b112cc5503350b248949bdbcce8072f5523ce877. tevent_util.h is a private header. Must not be installed.
2009-06-18For tevent to install tevent_util.hEric Sandall1-0/+1
Patch for bug #6270 This patch is for the future when samba4 builds using external libraries. With this patch, tevent now installs tevent_util.h which is required by samba4.
2009-06-18s4: Call va_end() after all va_start()/va_copy() calls.Andrew Kroeger1-0/+2
This corrects the issues reaised in bug #6129, and some others that were not originally identified. It also accounts for some code that was in the original bug report but appears to have since been made common between S3 and S4. Thanks to Erik Hovland <erik@hovland.org> for the original bug report.
2009-06-17tdb: Fix help string in configure flag to enable Python bindings.Jelmer Vernooij1-1/+1
2009-06-17fix release scripts to always git cleanSimo Sorce2-0/+6
This makes sure we do not include foreign object files or other build byproducts by mistake.
2009-06-15Add exports file and abi checker for teventSimo Sorce7-2/+157
This is a first attempt at exporting symbols only for public functions We also provide a rudimentary ABI checker that tries to check that function signatures are not changed by mistake. Given our use of macros this is not an API checker. It's all based on tevent.h contents and the gcc -aux-info option
2009-06-15Add exports file and abi checker for tallocSimo Sorce8-9/+169
This is a first attempt at exporting symbols only for public functions We also provide a rudimentary ABI checker that tries to check that function signatures are not changed by mistake. Given our use of macros this is not an API checker. It's all based on talloc.h contents and the gcc -aux-info option
2009-06-15Add exports file and abi checker for tdbSimo Sorce7-3/+172
This is a first attempt at exporting symbols only for public functions We also provide a rudimentary ABI checker that tries to check that function signatures are not changed by mistake. Given our use of macros this is not an API checker. It's all based on tdb.h contents and the gcc -aux-info option
2009-06-15Add new replace check for --version-scriptSimo Sorce1-0/+16
Allows us to pass an export files on Linux and Solaris so that we can expose only symbols that are actually supposed to be global, and keep as local anything else.
2009-06-15Add option to --disable-python on buildSimo Sorce1-0/+9
2009-06-15Fix a = vs == error in writev_handlerVolker Lendecke1-1/+1
2009-06-12s4:heimdal: import lorikeet-heimdal-200906080040 (commit ↵Andrew Bartlett1-1/+5
904d0124b46eed7a8ad6e5b73e892ff34b6865ba) Also including the supporting changes required to pass make test A number of heimdal functions and constants have changed since we last imported a tree (for the better, but inconvenient for us). Andrew Bartlett
2009-06-11selftest: Fix handling of testsuite, reintroduce progress indication.Jelmer Vernooij1-1/+0
2009-06-11Fix build of recurusion fix in reopen_logs()Andrew Bartlett1-1/+1
2009-06-11Don't recurse in reopen_logs().Andrew Bartlett1-0/+6
Use the state to avoid recursion in reopen_logs(), as DEBUG() can call this function. Andrew Bartlett
2009-06-10lib-util: move set_blocking() call into own file.Günther Deschner3-31/+63
Guenther
2009-06-10added asn1 functions for handling booleans in a simple contextAndrew Tridgell2-0/+25
2009-06-09It seems that IRIX doesn't have IOV_MAXAndrew Tridgell1-0/+4
2009-06-09try to get PICFLAG right for HP-UX with gccAndrew Tridgell1-6/+5
2009-06-09fixed socket wrapper to determine family from the right structureAndrew Tridgell1-1/+1
In convert_in_un_remote() the socket family can be accessed either as si->family or inaddr->sa_family. We were using the si->family to determine how to cast the inaddr structure, but if si->family != inaddr->sa_family then we will incorrectly be casting a in6 structure as in4 or vice-versa.
2009-06-08nss_wrapper: fix typo in testsuite.Günther Deschner1-1/+1
Guenther
2009-06-08libsamba-util: Fix soversion.Jelmer Vernooij1-1/+1
2009-06-08Add langinfo.h to the system/locale.hTimur I. Bakeyev2-1/+5
This patch for Samba4. It's not really inspired by any real need, just for the consistency. We define replace/system/locale.h as a generic header, that includes all locale related headers and we are using nl_langinfo at least in Samba3. So, it would be consistent to add yet another locale-related header to the set of locale.h headers. Here is the patch. With regards, Timur Bakeyev. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-06-08nss_wrapper: add my copyright.Günther Deschner1-0/+1
Guenther
2009-06-08replace: add fallback define for IOV_MAXStefan Metzmacher1-0/+16
This hopefully fixes the build on IRIX. metze
2009-06-08talloc: try to fix the source4 build on AIXStefan Metzmacher1-1/+1
metze
2009-06-08async_sock: try fix the source4 build on FreeBSD, Solaris, SLES8Stefan Metzmacher3-6/+11
metze
2009-06-06lib/tdb/tools/tdbtorture.c: fixed memory leak.Slava Semushin1-0/+2
Found by cppcheck: [lib/tdb/tools/tdbtorture.c:326]: (error) Memory leak: pids
2009-06-06Use data_blob_null instead of data_blob(NULL, 0)Volker Lendecke1-1/+1
2009-06-06Fix an uninitialized variable read in async_connect_sendVolker Lendecke1-5/+5
2009-06-06nss_wrapper: rename nwrap_cache_{re,un}load as per metzes request.Günther Deschner1-10/+10
Guenther
2009-06-06nss_wrapper: add support for loading nss_winbind.so via WINBIND_SO_PATH env.Günther Deschner1-0/+12
Guenther
2009-06-06nss_wrapper: fill in module nwrap_backend.Günther Deschner1-13/+332
Guenther
2009-06-05nss_wrapper: add missing return in nwrap_module_init().Günther Deschner1-0/+1
Guenther
2009-06-05nss_wrapper: add skeleton for module nwrap_backend.Günther Deschner1-0/+159
Guenther
2009-06-05nss_wrapper: add capability to load nss modules.Günther Deschner1-1/+115
Guenther
2009-06-05nss_wrapper: add struct nwrap_backend.Günther Deschner1-85/+320
Guenther
2009-06-05nss_wrapper: add cross checking test to testsuite.Günther Deschner1-0/+90
Guenther
2009-06-05nss_wrapper: add tests for getgrent_r to testsuite.Günther Deschner1-0/+131
Guenther
2009-06-05nss_wrapper: add tests for getpwent_r to testsuite.Günther Deschner1-0/+141
Guenther
2009-06-05nss_wrapper: fix segfault in nwrap_gr_copy_r()Stefan Metzmacher1-3/+8
metze
2009-06-05nss_wrapper: rename test_nwrap_env to test_nwrap_enumeration in testsuite.Günther Deschner1-2/+2
Guenther
2009-06-05nss_wrapper: add more coherency checks for user and group enumeration.Günther Deschner1-0/+8
Guenther
2009-06-04nss_wrapper: remove getgrouplist from nwrap_ops table.Günther Deschner1-72/+64
Guenther
2009-06-04Increase tevent version for tevent_req_notify_callback()Volker Lendecke1-1/+1
2009-06-04Add tevent_req_notify_callbackVolker Lendecke2-4/+13
This is necessary for requests that have multiple results. Examples would be SMBEcho and ldap_search.
2009-06-04nss_wrapper: call the nwrap_files_*() from nwrap_files_*_r()Stefan Metzmacher1-9/+7
We should not call the public functions, as this could lead to a recursive loop when we have multiple nwrap backends in future. This also fixes the build if --enable-nss-wrapper was not given to ./configure. metze
2009-06-04Only err on readability if writev_send was explicitly asked to do soVolker Lendecke1-1/+1
A socket might be readable for other reasons
2009-06-04nss_wrapper: more coherence tests for group membership.Günther Deschner1-4/+58
Guenther