Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Python modules.
Rather, rely just on waf's pyext feature. This fixes a warning from dh_python2.
|
|
|
|
deleted object container
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Nov 13 15:47:53 CET 2011 on sn-devel-104
|
|
Deleted Object Container
|
|
not exists and so is always False
Having a false value cause the link on removed attribute to be always
returned which is what we try to avoid.
|
|
We have to search for deleted objects as well as the previous search
might have been done with the show_deleted control. If not samba-tool
fails with no such DN error while fetching the object.
|
|
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Fri Nov 11 22:02:53 CET 2011 on sn-devel-104
|
|
The function continue_ip_resolve_name was calling resolve_name_recv which returns
only the first IP for a given hostname.
Instead we use resolve_name_multiple_recv which returns all the IP for a given
hostname. This kind of problem can occur if a host has more than 1 IP but is listenning
only on 1.
|
|
This fix an incorrect behavior which was that if a host has 2 IP but
was listening on only 1 (and the second one) connect_multi_next_socket
was not able to connect because it used only the first result.
|
|
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Fri Nov 11 12:04:33 CET 2011 on sn-devel-104
|
|
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Nov 11 01:10:49 CET 2011 on sn-devel-104
|
|
|
|
planpythontestsuite.
|
|
|
|
|
|
|
|
than samba.tests.
|
|
|
|
|
|
This reverts commit b0be72d5080aed3da3f33a45b72f88e90fbe3d13.
I'll add an alternative that uses subunit.run.
|
|
This reverts commit ac0bba2ea18e2e9ac578a333a3b260951e4c976e.
"python -m subunit.run" is the preferred way of running tests to
generate subunit. I also don't want to move too far away from
the standard test running infrastructure for python so that
other test runners (nosetests, trial, tribunal, ...) can be used with
Samba code.
|
|
This reverts commit 333248f08c83cc5b18f8e7e84cb19d79a8309d6e.
This commit made the pyldb tests depend on the Samba testsuite.
|
|
Reviewed-by: metze
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Thu Nov 10 20:32:08 CET 2011 on sn-devel-104
|
|
Fix ctdb_processes_exist protocol. The socket expects pid_t which is 32 bits on
32 bit machines.
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Nov 10 18:57:01 CET 2011 on sn-devel-104
|
|
We can not read from the echo handler socket when we have the main socket
locked. This leads to the echo responder to lock up sitting in the fcntl lock
while the parent wants to read the remainder of a large packet.
|
|
After a calling any wrapper of tevent_req_notify_callback(),
e.g. tevent_req_nterror(), tevent_req_done(), tevent_req_nomem(),
a function has to return immediately otherwise it is very likely to
crash, unless in calls tevent_req_defer_callback() before.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Nov 10 16:31:59 CET 2011 on sn-devel-104
|
|
metze
|
|
This fixes a crash bug that is triggered, when a client has more than
256 directory handles with searches.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Nov 10 14:08:14 CET 2011 on sn-devel-104
|
|
metze
|
|
And do some more error checks.
metze
|
|
The results of some read(2) and write(2) calls are assigned into a
variable that is never used. Presumably this used to avoid compiler
warnings or similar.
However, from (approximately) GCC 4.6 this produces some warnings:
[ 609/3910] Compiling lib/tevent/tevent_signal.c
../lib/tevent/tevent_signal.c: In function ‘tevent_common_signal_handler’:
../lib/tevent/tevent_signal.c:85:10: warning: variable ‘res’ set but not used [-Wunused-but-set-variable]
../lib/tevent/tevent_signal.c: In function ‘signal_pipe_handler’:
../lib/tevent/tevent_signal.c:183:10: warning: variable ‘res’ set but not used [-Wunused-but-set-variable]
The simplest thing to do is remove the variables and cast the function
return to void. There is already a comment above each call.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
Signed-off-by: Theresa Halloran <thallora@linux.vnet.ibm.com>
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Nov 10 06:04:22 CET 2011 on sn-devel-104
|
|
Signed-off-by: Theresa Halloran <thallora@linux.vnet.ibm.com>
Signed-off-by: Andrew Tridgell <tridge@samba.org>
|
|
this fixes error checking. Test failures were not being detected
otherwise
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
|
|
this is the attribute the admin needs for other commands
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
|
|
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
|
|
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
|
|
this allows for:
subunitrun -D lib/ldb/tests/python api
which makes this easier for developers
|
|
it was failing previously, but the failure wasn't being noticed
|
|
this makes it much faster to run 1 test
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
|
|
get() now takes a default value and an idx, allowing for much easier
usage
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
|
|
|
|
|
|
|
|
pair programmed with Jelmer Vernooij
Add search to include secrets.ldb
|
|
Append '$' to name provided by user to search for a machine account
when necessary
|
|
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
|
|
return NT_STATUS_NOT_FOUND instead of a segfault
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
|
|
Signed-off-by: Andrew Tridgell <tridge@samba.org>
|