summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-02-11enable IPv6 support for NetBSD, FreeBSDBjörn Jacke1-0/+1
most systems include netinet/in.h via netdb.h but *BSD don't.
2009-02-09s3 async: Fix the build on systems that have ETIMEDOUT but not ETIMETim Prouty1-2/+2
Fallback on EAGAIN
2009-02-09Revert "s3/s4: Move CONST_DISCARD into lib/util so it's available from s3 ↵Jelmer Vernooij1-2/+0
and s4" lib/util already has discard_const_p. This reverts commit 0cb430c22e9c0af2248fbc15ce97a4d760df189d.
2009-02-09async_sock: Map ASYNC_REQ_TIMEOUT to ETIMEDOUT instead of ETIMEKai Blin1-1/+5
Also, fall back to EIO if ETIMEDOUT is not present
2009-02-09async_sock: Use unix errnos instead of NTSTATUSKai Blin2-30/+99
This also switches wb_reqtrans to use wbcErr instead of NTSTATUS as it would be pointless to convert to errno first and to wbcErr later.
2009-02-03lib/tdb: don't generate a static library for the samba4 buildStefan Metzmacher1-1/+1
We also don't do this for talloc and ldb. metze
2009-02-02Next step disentangling async_req from NTSTATUSVolker Lendecke4-62/+86
Now I need to document this :-)
2009-02-02Attempt to fix "make test" on host "tridge"Volker Lendecke1-1/+1
2009-02-02lib/tevent: the python bindings don't use swig anymoreStefan Metzmacher1-7/+2
metze
2009-02-02lib/tdb: the python bindings don't use swig anymoreStefan Metzmacher1-4/+2
metze
2009-02-02lib/tevent: s/private/private_dataStefan Metzmacher1-6/+6
metze
2009-02-02lib/util: s/new/pn in idtree.cStefan Metzmacher1-16/+16
metze
2009-02-02lib/util: s/class/dclassStefan Metzmacher1-1/+1
metze
2009-02-01Fix headers, only ldb.h is requiredSimo Sorce1-2/+0
2009-02-01Split up async_req into a generic and a NTSTATUS specific partVolker Lendecke6-80/+158
2009-01-31lib/replace: move MAXHOSTNAMELEN to system/network.hStefan Metzmacher2-13/+5
Some platforms define it in netdb.h, so we should define the replace after including metdb.h. metze
2009-01-30Do not install private headersSimo Sorce1-2/+0
2009-01-30s3 build: Remove unused fstat check to fix a bunch of HAVE_FSTAT warningsTim Prouty1-4/+0
2009-01-30lib/tevent: include replace.h in pytevent.cStefan Metzmacher1-0/+1
This fixes the build on Tru64. metze
2009-01-30lib/tdb: include replace.h and system/filesys.h in pytdb.cStefan Metzmacher1-4/+3
This fixes the build on Tru64. metze
2009-01-30lib/talloc: include replace.h in pytalloc.cStefan Metzmacher1-0/+1
This fixes the build on Tru64. metze
2009-01-30lib/replace: check if we have dirfd()Stefan Metzmacher1-0/+3
Note: we only use this internally and don't replace it by default. metze
2009-01-30s4:lib/util: fix the buildStefan Metzmacher1-1/+1
metze
2009-01-30s4:build: kill DEFAULT_HEADERS variableStefan Metzmacher1-0/+1
metze
2009-01-30Fix standalone configure scriptsSimo Sorce1-0/+1
2009-01-29Fix coverity CID#66. Resource leak in error path.Jeremy Allison1-0/+1
Jeremy.
2009-01-28async_sock: Move to top levelKai Blin3-1/+755
2009-01-27libreplace: fix detection of netinet/ip.h on solaris 8Michael Adam1-1/+5
(The test needs to additionally include <netinet/in_systm.h>.) Michael
2009-01-27tevent: change SA_INFO_QUEUE_COUNT from 10 to 100Stefan Metzmacher1-1/+1
The samba3 aio code requires lp_max_mux() with a default of 50 and the samba3 linux oplock code requires 100. May we could make the size dynamic later. metze
2009-01-27async_req: Fix the S4 buildKai Blin2-20/+28
2009-01-27libreplace: fix bug #6066 - netinet/ip.h present but cannot be compiledMichael Adam1-1/+4
under solaris Michael
2009-01-23s4: add ../lib/async_req to the s4 buildKai Blin1-0/+3
2009-01-23async_req: Move to top level dirKai Blin2-0/+500
2009-01-22lib/replace: add defines to let the callers find out if pwrite and pread are ↵Stefan Metzmacher1-0/+6
thread/fork safe metze
2009-01-21libsmbconf: Remove use of some Samba3-specific macros.Jelmer Vernooij4-9/+15
2009-01-21libsmbconf: Add build magic for Samba 4.Jelmer Vernooij1-0/+3
2009-01-21libsmbconf: move the non-registry parts of libsmbconf to top levelMichael Adam6-0/+1428
Michael
2009-01-20socket_wrapper: fix PCAP support broken by ↵Stefan Metzmacher1-3/+1
aaea68791cfea45c6fa69abc93ad6d0e832d0283 We should note close the fd after writing the first packet. metze
2009-01-20tevent: rename signal handler functions to start with tevent_common_Stefan Metzmacher1-5/+6
This makes debugging with gdb easier. metze
2009-01-19util_str: setup the correct talloc name for stringsStefan Metzmacher2-0/+4
metze (partly from samba4wins tree 447e7f9532131117e896712db9def321c96718eb)
2009-01-16lib: add strlen_m_term_null from s3.Günther Deschner2-0/+20
Guenther
2009-01-15Fix indentation for some configure options.Jelmer Vernooij2-2/+2
2009-01-12nss_wrapper.pl: fix "Use of uninitialized value $i in array element" messagesMichael Adam1-1/+1
I just saw this in "make test" after "SMBD OUTPUT:"... Michael
2009-01-12tevent: use for() loops instead of while() loopsStefan Metzmacher1-12/+9
metze
2009-01-11tevent: Fix build breakTim Prouty1-1/+1
2009-01-11Fix tevent_common_context_destructor to remove all events instead of just ↵Bo Yang1-4/+10
the first one Signed-off-by: Bo Yang <boyang@novell.com> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-01-09s4:debug: make setup_logging() a bit more compatible with samba3Stefan Metzmacher1-1/+1
In samba3 the 2nd argument is bool interactive. E.g ndrdump uses true there which used to map to DEBUG_FILE in samba4, it maps to DEBUG_STDOUT now, which is better. In the end end samba3 should also use the samba4 version of setup_logging() metze
2009-01-08Print the failed value in the time tests.Jelmer Vernooij1-5/+8
2009-01-08Avoid using a utility header for Python replacements included in Samba,Jelmer Vernooij3-33/+11
since this will not be shipped with talloc/tdb/tevent/etc.
2009-01-07s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4Tim Prouty3-2/+33