1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +03:00
Commit Graph

1337 Commits

Author SHA1 Message Date
Andrew Tridgell
0be1820718 s4-ldb: use CHECK_XSLTPROC_MANPAGES() 2010-06-24 18:46:57 +10:00
Andrew Tridgell
4cb423f527 s4-python: python is not always in /usr/bin
Using "#!/usr/bin/env python" is more portable. It still isn't ideal
though, as we should really use the python path found at configure
time. We do that in many places already, but some don't.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-24 18:46:57 +10:00
James Peach
9f69790355 smbtorture: Move interactive shell into a separate file. 2010-06-21 08:58:10 -07:00
Volker Lendecke
4b64555d75 tsocket: Fix some type-punned warnings 2010-06-21 15:03:59 +02:00
Jelmer Vernooij
5e67566f5e pytdb: Cleanup formatting. 2010-06-19 22:46:44 +02:00
Jelmer Vernooij
bd1786f7f1 wafsamba: Fix typo: noextenion -> noextension. 2010-06-19 12:10:29 +02:00
Jelmer Vernooij
f2527d217c replace: Avoid hiding symbols when libreplace is builtin, as this
appears to cause unresolved symbols at the moment.
2010-06-18 23:51:40 +02:00
Günther Deschner
aa76e8263d lib/crypto: only include what is needed.
Guenther
2010-06-16 18:58:04 +02:00
Jelmer Vernooij
d319c83f1f librpc: Install the right headers. 2010-06-13 19:55:53 +02:00
Rusty Russell
b53f8c187d Since idtree assigns sequentially, it rarely reaches high numbers.
But such numbers can be forced with idr_get_new_above(), and that
reveals two bugs:

1) Crash in sub_remove() caused by pa array being too short.
2) Shift by more than 32 in _idr_find(), which is undefined, causing
   the "outside the current tree" optimization to misfire and return NULL.
2010-06-10 13:27:51 -07:00
Volker Lendecke
7f29f817fa tevent: Fix maxfd calculation in tevent_select
When doing

        fd1 = tevent_add_fd(ev, ev, 2, 0, NULL, NULL);
        fd2 = tevent_add_fd(ev, ev, 3, 0, NULL, NULL);
        TALLOC_FREE(fd2);
        fd2 = tevent_add_fd(ev, ev, 1, 0, NULL, NULL);

we end up with select_ev->maxfd==1. This is wrong.

An alternative fix might be to make select_ev->maxfd an unsigned int and make
EVENT_INVALID_MAXFD==UINT_MAX. But in theory we might end up with an fd of
UINT_MAX.

std_event_add_fd() contains exactly the same piece of code, so I'm directly
pushing it.

Volker
2010-06-10 11:24:00 +02:00
James Peach
3eac633522 libreplace: Fix readline build with libedit.
libedit on MAc OSX 10.5 does not have the rl_completion_t typedef,
but uses a internal typedef names CPPFunction.

Signed-off-by: Günther Deschner <gd@samba.org>
2010-06-03 16:33:43 +02:00
Günther Deschner
fc9644a7d6 lib/replace: fix some c++ build warnings in testsuite.
Guenther
2010-06-01 16:49:24 +02:00
Jelmer Vernooij
8c017022db talloc: Don't set is_bundled for standalone build. 2010-05-31 13:57:03 +02:00
Jelmer Vernooij
f98bb7ffc3 Add manpages argument to SAMBA_LIBRARY(). 2010-05-31 13:56:25 +02:00
Jelmer Vernooij
04fc459a30 tdb-waf: Don't install binaries when using system tdb. 2010-05-31 04:20:44 +02:00
Jelmer Vernooij
e6129bd596 tdb-waf: Simplify manpage handling. 2010-05-31 04:16:19 +02:00
Jelmer Vernooij
3858b5db8b s4-waf: sanitize library names like the old build system did, only add
-samba4 suffix for libraries that are bundled.
2010-05-31 03:28:42 +02:00
Björn Jacke
6a78241f4a libreplace: include sys/file.h only when available
thanks to Joachim Schmitz <schmitz@hp.com>. This fixes #7460.
2010-05-30 21:46:35 +02:00
Matthias Dieter Wallnöfer
f1d7d6d4df nss_wrapper/testsuite.c - make sure to test always the "NSS wrapper" calls
This should fix bug #7319 and #7320.
2010-05-30 11:12:24 +02:00
Volker Lendecke
4a653798df fix a typo 2010-05-24 18:25:38 +02:00
Andrew Tridgell
c85008e084 s3-waf: move the KRB5_DEPRECATED check into lib/replace
this needs to be with the krb5.h check
2010-05-20 22:16:13 +02:00
Kai Blin
f860a12d2f build: Don't look for krb5.h in libreplace 2010-05-20 22:16:13 +02:00
Simo Sorce
ae02691200 tsocket: Improve the language in some parts of the guide. 2010-05-19 17:04:45 -04:00
Jeremy Allison
829c87634b Change data_blob() to be based on top of data_blob_talloc(), instead of the reverse (as it is now).
It makes no sense to talloc off the null context, then talloc steal
into the required context - just talloc off the correct context, and
change data_blob() to pass in the null context to data_blob_talloc().

Jeremy.

Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18 21:57:23 +02:00
Jelmer Vernooij
f9ca9e46ad Finish removal of iconv_convenience in public API's. 2010-05-18 11:45:30 +02:00
Günther Deschner
e9f5bdf6b5 smbconf: only include smbconf headers where needed.
Guenther
2010-05-18 10:36:33 +02:00
Stefan Metzmacher
bd6d76d776 lib/util: fix waf configure tests for xattr functions on Mac OS 10.
metze
2010-05-14 14:28:36 +02:00
Julien Kerihuel
693995c1c4 Install util/tevent_* public headers. Required by OpenChange for compiling IDL
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-12 19:30:55 +02:00
Stefan Metzmacher
b81887f2d9 tdb: commit ABI/tdb-1.2.2.sigs
metze
2010-05-11 18:11:05 +02:00
Björn Jacke
eff3a41bb8 waf:libreplace: set _OSF_SOURCE to fix build on Tru64 2010-05-11 15:25:54 +02:00
Günther Deschner
2eab1d7fdc tdb: remove unused variable in tdb_new_database().
Guenther
2010-05-11 13:41:17 +02:00
Andreas Schneider
3addebee34 tevent: Added a description for tevent queue. 2010-05-10 10:28:37 +02:00
Andreas Schneider
d596bb1a1d tevent: Added an introduction to the tevent_queue tutorial.
Thanks Volker.
2010-05-10 10:28:37 +02:00
Andreas Schneider
b2e520a28b tevent: Fixed a doxygen problem with PRINTF_ATTRIBUTE. 2010-05-10 10:28:37 +02:00
Andreas Schneider
876ed034c8 talloc: Fixed a doxygen problem with PRINTF_ATTRIBUTE. 2010-05-10 10:28:37 +02:00
Andreas Schneider
82900073fb talloc: Documented the missing string functions. 2010-05-06 18:14:09 +02:00
Andreas Schneider
dc2f962aac tevent: Started a tevent_queue tutorial. 2010-05-05 09:28:04 +02:00
Andreas Schneider
239d59feab tevent: Document the tevent_queue functions. 2010-05-05 09:28:04 +02:00
Andreas Schneider
6c1bcdc2e2 tevent: Document the tevent helper functions. 2010-05-05 09:28:04 +02:00
Andreas Schneider
78fbedf369 tevent: Document missing callback typedefs. 2010-05-05 09:28:04 +02:00
Andreas Schneider
a8e575ac22 tevent: Document the missing tevent async request callback functions. 2010-05-05 09:28:04 +02:00
Andreas Schneider
d8a6b23b07 tevent: Create a typedef for the debug function callback. 2010-05-05 09:28:04 +02:00
Stephen Gallagher
e286966bba tevent: Added more documentation. 2010-05-05 09:28:04 +02:00
Stephen Gallagher
098221e886 tevent: Remove erroneous comments about TEVENT_FD_AUTOCLOSE
There is no such flag.
2010-05-05 09:28:04 +02:00
Andreas Schneider
49c89b60e6 tevent: Add doxygen tevent config file. 2010-05-05 09:28:04 +02:00
Andreas Schneider
4263983cad tevent: Added basic doxygen documentation. 2010-05-05 09:28:04 +02:00
Andreas Schneider
04327e2809 tsocket: Added the warning again to tsocket_address_bsd_sockaddr. 2010-05-05 09:25:21 +02:00
Rusty Russell
91e4a1760d tdb: fix short write logic in tdb_new_database
Commit 207a213c/24fed55d purported to fix the problem of signals during
tdb_new_database (which could cause a spurious short write, hence a failure).
However, the code is wrong: newdb+written is not correct.

Fix this by introducing a general tdb_write_all() and using it here and in
the tracing code.

Cc: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2010-05-05 15:37:18 +09:30
Andrew Tridgell
ad32fabc54 s4-waf: fixed indentation for python 3.1
python 3.x is very fussy about tabs/spaces
2010-05-04 13:02:30 +02:00