kai/samba.git
15 years agoMerge branch 'checktalloc' of /home/jelmer/samba4
Jelmer Vernooij [Sun, 15 Mar 2009 12:52:01 +0000 (13:52 +0100)]
Merge branch 'checktalloc' of /home/jelmer/samba4

15 years agoFix a malloc/talloc mismatch when cli_initialise() fails
Volker Lendecke [Sun, 15 Mar 2009 10:58:07 +0000 (11:58 +0100)]
Fix a malloc/talloc mismatch when cli_initialise() fails

15 years agoAdd queue argument to wb_resp_write
Volker Lendecke [Sun, 15 Mar 2009 10:25:20 +0000 (11:25 +0100)]
Add queue argument to wb_resp_write

15 years agos4-smbtorture: fix build warning in test_EnumPrintProcDataTypes.
Günther Deschner [Sat, 14 Mar 2009 00:36:01 +0000 (01:36 +0100)]
s4-smbtorture: fix build warning in test_EnumPrintProcDataTypes.

Guenther

15 years agoProperly strip /usr/lib and /usr/include for the merged build.
Jelmer Vernooij [Sat, 14 Mar 2009 22:01:57 +0000 (23:01 +0100)]
Properly strip /usr/lib and /usr/include for the merged build.

15 years agoDepend on a newer talloc in Samba 4.
Jelmer Vernooij [Sat, 14 Mar 2009 21:07:15 +0000 (22:07 +0100)]
Depend on a newer talloc in Samba 4.

15 years agoFix comment about shell in Makefile.
Jelmer Vernooij [Sat, 14 Mar 2009 20:08:09 +0000 (21:08 +0100)]
Fix comment about shell in Makefile.

15 years agoFix fallback if system doesn't provide talloc.
Jelmer Vernooij [Sat, 14 Mar 2009 20:06:41 +0000 (21:06 +0100)]
Fix fallback if system doesn't provide talloc.

15 years agoAllow using external libtalloc.
Jelmer Vernooij [Sat, 14 Mar 2009 19:56:26 +0000 (20:56 +0100)]
Allow using external libtalloc.

15 years agoFix #3954
Volker Lendecke [Sat, 14 Mar 2009 11:39:55 +0000 (12:39 +0100)]
Fix #3954

15 years agos3: Don't return in a void funtion
Tim Prouty [Sat, 14 Mar 2009 05:01:36 +0000 (22:01 -0700)]
s3: Don't return in a void funtion

15 years agoRemove pwd_cache.c, it was doing nothing. Make user_name, domain, and
Jeremy Allison [Sat, 14 Mar 2009 00:49:24 +0000 (17:49 -0700)]
Remove pwd_cache.c, it was doing nothing. Make user_name, domain, and
password talloc'ed strings within the cli_struct.
Jeremy.

15 years agos3 OneFS: Add kernel strict locking support
Dave Richards [Fri, 13 Mar 2009 21:21:40 +0000 (14:21 -0700)]
s3 OneFS: Add kernel strict locking support

15 years agos3: Add strict lock/unlock calls to the vfs layer to replace is_locked
Dave Richards [Fri, 13 Mar 2009 21:15:28 +0000 (14:15 -0700)]
s3: Add strict lock/unlock calls to the vfs layer to replace is_locked

15 years agos4:build: require tevent 0.9.4
Stefan Metzmacher [Fri, 13 Mar 2009 14:50:23 +0000 (15:50 +0100)]
s4:build: require tevent 0.9.4

metze

15 years agotevent: change version to 0.9.4 as the ABI has changed
Stefan Metzmacher [Fri, 13 Mar 2009 14:49:35 +0000 (15:49 +0100)]
tevent: change version to 0.9.4 as the ABI has changed

metze

15 years agos3-spoolss: remove more unused marshalling code.
Günther Deschner [Thu, 12 Mar 2009 12:00:24 +0000 (13:00 +0100)]
s3-spoolss: remove more unused marshalling code.

Guenther

15 years agos3-spoolss: remove some unused functions.
Günther Deschner [Thu, 12 Mar 2009 11:50:20 +0000 (12:50 +0100)]
s3-spoolss: remove some unused functions.

Guenther

15 years agos3-spoolss: remove old spoolss_GetPrinter.
Günther Deschner [Thu, 12 Mar 2009 10:01:18 +0000 (11:01 +0100)]
s3-spoolss: remove old spoolss_GetPrinter.

Guenther

15 years agos3-spoolss: use pidl for _spoolss_GetPrinter.
Günther Deschner [Thu, 12 Mar 2009 09:57:13 +0000 (10:57 +0100)]
s3-spoolss: use pidl for _spoolss_GetPrinter.

Guenther

15 years agos3-rpcclient: pure cosmetics for cmd_spoolss_getdriver.
Günther Deschner [Wed, 11 Mar 2009 10:52:34 +0000 (11:52 +0100)]
s3-rpcclient: pure cosmetics for cmd_spoolss_getdriver.

Guenther

15 years agos3-rpcclient: pure cosmetics for cmd_spoolss_getprinter.
Günther Deschner [Wed, 11 Mar 2009 10:52:04 +0000 (11:52 +0100)]
s3-rpcclient: pure cosmetics for cmd_spoolss_getprinter.

Guenther

15 years agos3-rpcclient: pure cosmetics for cmd_spoolss_enum_ports.
Günther Deschner [Wed, 11 Mar 2009 10:48:58 +0000 (11:48 +0100)]
s3-rpcclient: pure cosmetics for cmd_spoolss_enum_ports.

Guenther

15 years agos3-spoolss: use snum_is_shared_printer (allows to make code a little easier to
Günther Deschner [Tue, 10 Mar 2009 23:28:18 +0000 (00:28 +0100)]
s3-spoolss: use snum_is_shared_printer (allows to make code a little easier to
read).

Guenther

15 years agos3-spoolss: add snum_is_shared_printer fn.
Günther Deschner [Tue, 10 Mar 2009 23:27:54 +0000 (00:27 +0100)]
s3-spoolss: add snum_is_shared_printer fn.

Guenther

15 years agos3-spoolss: remove old spoolss_EnumPrinters.
Günther Deschner [Mon, 9 Mar 2009 23:51:56 +0000 (00:51 +0100)]
s3-spoolss: remove old spoolss_EnumPrinters.

Guenther

15 years agos3-spoolss: use pidl for _spoolss_EnumPrinters.
Günther Deschner [Mon, 9 Mar 2009 23:51:38 +0000 (00:51 +0100)]
s3-spoolss: use pidl for _spoolss_EnumPrinters.

Guenther

15 years agos3: re-run make samba3-idl.
Günther Deschner [Mon, 9 Mar 2009 22:36:44 +0000 (23:36 +0100)]
s3: re-run make samba3-idl.

Guenther

15 years agospoolss: flag PrinterInfo union and levels as [public,gensize].
Günther Deschner [Mon, 9 Mar 2009 22:36:11 +0000 (23:36 +0100)]
spoolss: flag PrinterInfo union and levels as [public,gensize].

Guenther

15 years agos3-spoolss: remove old enumprinters wrapper.
Günther Deschner [Mon, 9 Mar 2009 21:48:13 +0000 (22:48 +0100)]
s3-spoolss: remove old enumprinters wrapper.

Guenther

15 years agos3-net: use rpccli_spoolss_enumprinters wrapper.
Günther Deschner [Mon, 9 Mar 2009 21:42:30 +0000 (22:42 +0100)]
s3-net: use rpccli_spoolss_enumprinters wrapper.

Guenther

15 years agos3-rpcclient: use rpccli_spoolss_enumprinters wrapper.
Günther Deschner [Mon, 9 Mar 2009 21:41:43 +0000 (22:41 +0100)]
s3-rpcclient: use rpccli_spoolss_enumprinters wrapper.

Guenther

15 years agos3-spoolss: add rpccli_spoolss_enumprinters convenience wrapper.
Günther Deschner [Mon, 9 Mar 2009 21:00:47 +0000 (22:00 +0100)]
s3-spoolss: add rpccli_spoolss_enumprinters convenience wrapper.

Guenther

15 years agos3-spoolss: remove old spoolss_GetPrinterDriver2.
Günther Deschner [Mon, 9 Mar 2009 20:54:33 +0000 (21:54 +0100)]
s3-spoolss: remove old spoolss_GetPrinterDriver2.

Guenther

15 years agos3-spoolss: use pidl for _spoolss_GetPrinterDriver2.
Günther Deschner [Mon, 9 Mar 2009 20:21:15 +0000 (21:21 +0100)]
s3-spoolss: use pidl for _spoolss_GetPrinterDriver2.

Guenther

15 years agos3-spoolss: remove old leftover driver print functions.
Günther Deschner [Mon, 9 Mar 2009 17:25:52 +0000 (18:25 +0100)]
s3-spoolss: remove old leftover driver print functions.

Guenther

15 years agos3-spoolss: remove old spoolss_EnumPrinterDrivers.
Günther Deschner [Mon, 9 Mar 2009 17:24:58 +0000 (18:24 +0100)]
s3-spoolss: remove old spoolss_EnumPrinterDrivers.

Guenther

15 years agos3-spoolss: use pidl for _spoolss_EnumPrinterDrivers.
Günther Deschner [Mon, 9 Mar 2009 17:23:40 +0000 (18:23 +0100)]
s3-spoolss: use pidl for _spoolss_EnumPrinterDrivers.

Guenther

15 years agos3: re-run make samba3-idl.
Günther Deschner [Tue, 10 Mar 2009 23:41:25 +0000 (00:41 +0100)]
s3: re-run make samba3-idl.

Guenther

15 years agospoolss: add [gensize] flag to spoolss_DriverInfo union.
Günther Deschner [Tue, 10 Mar 2009 23:40:56 +0000 (00:40 +0100)]
spoolss: add [gensize] flag to spoolss_DriverInfo union.

Guenther

15 years agos3-spoolss: remove old rpccli_spoolss_enumprinterdrivers wrapper.
Günther Deschner [Mon, 9 Mar 2009 17:18:35 +0000 (18:18 +0100)]
s3-spoolss: remove old rpccli_spoolss_enumprinterdrivers wrapper.

Guenther

15 years agos3-net: use rpccli_spoolss_enumprinterdrivers wrapper.
Günther Deschner [Mon, 9 Mar 2009 14:58:11 +0000 (15:58 +0100)]
s3-net: use rpccli_spoolss_enumprinterdrivers wrapper.

Guenther

15 years agos3-rpcclient: use rpccli_spoolss_enumprinterdrivers wrapper.
Günther Deschner [Mon, 9 Mar 2009 14:00:29 +0000 (15:00 +0100)]
s3-rpcclient: use rpccli_spoolss_enumprinterdrivers wrapper.

Guenther

15 years agos3-spoolss: add rpccli_spoolss_enumprinterdrivers convenience wrapper.
Günther Deschner [Mon, 9 Mar 2009 13:59:55 +0000 (14:59 +0100)]
s3-spoolss: add rpccli_spoolss_enumprinterdrivers convenience wrapper.

Guenther

15 years agos3-spoolss: remove old spoolss_GetJob and spoolss_EnumJob.
Günther Deschner [Mon, 9 Mar 2009 11:33:18 +0000 (12:33 +0100)]
s3-spoolss: remove old spoolss_GetJob and spoolss_EnumJob.

Guenther

15 years agos3-spoolss: use pidl for _spoolss_GetJob.
Günther Deschner [Mon, 9 Mar 2009 11:24:45 +0000 (12:24 +0100)]
s3-spoolss: use pidl for _spoolss_GetJob.

Guenther

15 years agos3-spoolss: use pidl for _spoolss_EnumJobs.
Günther Deschner [Sat, 7 Mar 2009 22:53:11 +0000 (23:53 +0100)]
s3-spoolss: use pidl for _spoolss_EnumJobs.

Guenther

15 years agos3-spoolss: add construct_dev_mode_new.
Günther Deschner [Sat, 7 Mar 2009 22:48:36 +0000 (23:48 +0100)]
s3-spoolss: add construct_dev_mode_new.

Guenther

15 years agos3: re-run make samba3-idl.
Günther Deschner [Sat, 7 Mar 2009 21:33:33 +0000 (22:33 +0100)]
s3: re-run make samba3-idl.

Guenther

15 years agospoolss: flag spoolss_JobInfo union and structures [public,gensize].
Günther Deschner [Sat, 7 Mar 2009 21:32:45 +0000 (22:32 +0100)]
spoolss: flag spoolss_JobInfo union and structures [public,gensize].

Guenther

15 years agos3-spoolss: remove old rpccli_spoolss_enumjobs wrapper.
Günther Deschner [Sat, 7 Mar 2009 21:31:19 +0000 (22:31 +0100)]
s3-spoolss: remove old rpccli_spoolss_enumjobs wrapper.

Guenther

15 years agos3-rpcclient: use rpccli_spoolss_enumjobs wrapper in enumjobs command.
Günther Deschner [Sat, 7 Mar 2009 21:28:06 +0000 (22:28 +0100)]
s3-rpcclient: use rpccli_spoolss_enumjobs wrapper in enumjobs command.

Guenther

15 years agos3-spoolss: add rpccli_spoolss_enumjobs convenience wrapper.
Günther Deschner [Sat, 7 Mar 2009 21:22:42 +0000 (22:22 +0100)]
s3-spoolss: add rpccli_spoolss_enumjobs convenience wrapper.

Guenther

15 years agos3-spoolss: use macros for _spoolss_GetForm and split out level 1 get.
Günther Deschner [Wed, 11 Mar 2009 14:26:12 +0000 (15:26 +0100)]
s3-spoolss: use macros for _spoolss_GetForm and split out level 1 get.

Guenther

15 years agos3-spoolss: use macros for _spoolss_EnumForms and split out level 1 enum.
Günther Deschner [Wed, 11 Mar 2009 01:16:29 +0000 (02:16 +0100)]
s3-spoolss: use macros for _spoolss_EnumForms and split out level 1 enum.

Guenther

15 years agos3-spoolss: use macros for _spoolss_GetPrintProcessorDirectory.
Günther Deschner [Wed, 11 Mar 2009 01:30:36 +0000 (02:30 +0100)]
s3-spoolss: use macros for _spoolss_GetPrintProcessorDirectory.

Guenther

15 years agos3-spoolss: use macros for _spoolss_GetPrinterDriverDirectory.
Günther Deschner [Wed, 11 Mar 2009 01:30:12 +0000 (02:30 +0100)]
s3-spoolss: use macros for _spoolss_GetPrinterDriverDirectory.

Guenther

15 years agos3-spoolss: use macros for _spoolss_EnumMonitors.
Günther Deschner [Wed, 11 Mar 2009 00:29:23 +0000 (01:29 +0100)]
s3-spoolss: use macros for _spoolss_EnumMonitors.

Guenther

15 years agos3-spoolss: use macros for _spoolss_EnumPrintProcDataTypes.
Günther Deschner [Wed, 11 Mar 2009 00:44:21 +0000 (01:44 +0100)]
s3-spoolss: use macros for _spoolss_EnumPrintProcDataTypes.

Guenther

15 years agos3-spoolss: use macros for _spoolss_EnumPorts.
Günther Deschner [Wed, 11 Mar 2009 00:40:33 +0000 (01:40 +0100)]
s3-spoolss: use macros for _spoolss_EnumPorts.

Guenther

15 years agos3-spoolss: use macros for _spoolss_EnumPrintProcessors.
Günther Deschner [Wed, 11 Mar 2009 00:38:20 +0000 (01:38 +0100)]
s3-spoolss: use macros for _spoolss_EnumPrintProcessors.

Guenther

15 years agos3-spoolss: add macros from s4 spoolss server.
Günther Deschner [Tue, 10 Mar 2009 22:55:18 +0000 (23:55 +0100)]
s3-spoolss: add macros from s4 spoolss server.

Guenther

15 years agoRemove the static "struct client_connection" mess which is part of
Jeremy Allison [Fri, 13 Mar 2009 00:59:24 +0000 (17:59 -0700)]
Remove the static "struct client_connection" mess which is part of
the problem that stops libsmbclient being thread safe. Subsidiary
DFS connections are now hung off a list inside the cli_state struct.
Much more to do in order to get libsmbclient to thread safety, but
this is a good start.
Jeremy.

15 years agos3 torture: Fix unitialized variable to avoid closing a random fnum
Tim Prouty [Thu, 12 Mar 2009 23:51:20 +0000 (16:51 -0700)]
s3 torture: Fix unitialized variable to avoid closing a random fnum

15 years agos3 pdb_wbc_sam: LookupRids should return sAMAccountName, not NT4 names
Dan Sledz [Wed, 11 Mar 2009 23:27:01 +0000 (23:27 +0000)]
s3 pdb_wbc_sam: LookupRids should return sAMAccountName, not NT4 names

Also fix an incorrect TALLOC_FREE

15 years agotevent: Fix might be unitialized warning
Tim Prouty [Thu, 12 Mar 2009 17:44:36 +0000 (10:44 -0700)]
tevent: Fix might be unitialized warning

15 years agoFix bug #6186 - map readonly does not work
Jeremy Allison [Thu, 12 Mar 2009 17:57:31 +0000 (10:57 -0700)]
Fix bug #6186 - map readonly does not work
Jeremy.

15 years agos3-spoolss: make jobname a const char * in print_job_start().
Günther Deschner [Thu, 12 Mar 2009 10:00:21 +0000 (11:00 +0100)]
s3-spoolss: make jobname a const char * in print_job_start().

Guenther

15 years agos4:build: try to fix the build with the ibm checker in the build-farm
Stefan Metzmacher [Thu, 12 Mar 2009 13:28:22 +0000 (14:28 +0100)]
s4:build: try to fix the build with the ibm checker in the build-farm

The problem is that the shell eats the quotes in -DFOO="foo, bar, NULL"

metze

15 years agotevent: add tevent_loop_until()
Stefan Metzmacher [Thu, 12 Mar 2009 09:35:23 +0000 (10:35 +0100)]
tevent: add tevent_loop_until()

This is only a hack for samba4 and should not be used
in new code.

metze

15 years agotevent: add tevent_loop_set_nesting_hook()
Stefan Metzmacher [Thu, 12 Mar 2009 09:23:30 +0000 (10:23 +0100)]
tevent: add tevent_loop_set_nesting_hook()

This is an ugly hack to let the s4 server work arround
some bugs related to nested events and uid changing.

metze

15 years agos4:events: allow nested events until we fixed all code to avoid them
Stefan Metzmacher [Thu, 12 Mar 2009 09:05:47 +0000 (10:05 +0100)]
s4:events: allow nested events until we fixed all code to avoid them

metze

15 years agos4:ldb: allow nested events until the code is fixed to avoid them
Stefan Metzmacher [Thu, 12 Mar 2009 09:05:05 +0000 (10:05 +0100)]
s4:ldb: allow nested events until the code is fixed to avoid them

metze

15 years agotevent: don't allow nested tevent_loop_once() anymore
Stefan Metzmacher [Thu, 12 Mar 2009 08:51:33 +0000 (09:51 +0100)]
tevent: don't allow nested tevent_loop_once() anymore

Incompatible caller should use tevent_loop_allow_nesting()
function.

metze

15 years agos3:events: pass __location__ to event_loop_*()
Stefan Metzmacher [Thu, 12 Mar 2009 08:33:58 +0000 (09:33 +0100)]
s3:events: pass __location__ to event_loop_*()

metze

15 years agotevent: pass __location__ to tevent_loop_once/wait()
Stefan Metzmacher [Thu, 12 Mar 2009 08:33:26 +0000 (09:33 +0100)]
tevent: pass __location__ to tevent_loop_once/wait()

metze

15 years agotevent: add tevent_set_abort_fn()
Stefan Metzmacher [Thu, 12 Mar 2009 08:22:41 +0000 (09:22 +0100)]
tevent: add tevent_set_abort_fn()

metze

15 years agotevent: add tevent_signal_support()
Stefan Metzmacher [Thu, 12 Mar 2009 07:48:59 +0000 (08:48 +0100)]
tevent: add tevent_signal_support()

Not every tevent backend supports signal events.

metze

15 years agotalloc: add talloc_set_abort_fn()
Stefan Metzmacher [Thu, 12 Mar 2009 07:19:50 +0000 (08:19 +0100)]
talloc: add talloc_set_abort_fn()

metze

15 years agos4:ldb: setup tevent debug functions on a selfcreated event context
Stefan Metzmacher [Thu, 12 Mar 2009 09:04:02 +0000 (10:04 +0100)]
s4:ldb: setup tevent debug functions on a selfcreated event context

metze

15 years agoRevert "s3:libsmb: add an option to cli_push to let the caller provide the buffers"
Stefan Metzmacher [Thu, 12 Mar 2009 08:02:02 +0000 (09:02 +0100)]
Revert "s3:libsmb: add an option to cli_push to let the caller provide the buffers"

This reverts commit 9579a6f193f570e4ce2af80f4aac7c2f25ae5b22.

It's confusing to have a boolean to alter the behavior of cli_push
and as the new feature isn't used yet I revert it.

We can readd a extra function later.

metze

15 years agoFix #6167: winbindd -n should disable the winbind idmap cache
Volker Lendecke [Mon, 9 Mar 2009 20:50:50 +0000 (21:50 +0100)]
Fix #6167: winbindd -n should disable the winbind idmap cache

15 years agoMake opt_nocache static to winbindd.c
Volker Lendecke [Thu, 12 Mar 2009 09:12:58 +0000 (10:12 +0100)]
Make opt_nocache static to winbindd.c

15 years agouse a base64 encoded password when changing passwords
Andrew Tridgell [Thu, 12 Mar 2009 04:20:25 +0000 (15:20 +1100)]
use a base64 encoded password when changing passwords

This avoids problems with embedded control characters in password
changes

15 years agofixed more embedded spaces in LDIF
Andrew Tridgell [Thu, 12 Mar 2009 04:13:23 +0000 (15:13 +1100)]
fixed more embedded spaces in LDIF

This one added 3 spaces to the end of any new passwords

15 years agoremoved leading spaces from embedded ldif
Andrew Tridgell [Thu, 12 Mar 2009 02:13:14 +0000 (13:13 +1100)]
removed leading spaces from embedded ldif

This fixes the problem with the setpassword command failing like this:
   Error: First line of ldif must be a dn not '    dn'

15 years agoAdd simple POSIX open, mkdir and rmdir test.
Jeremy Allison [Wed, 11 Mar 2009 21:28:47 +0000 (14:28 -0700)]
Add simple POSIX open, mkdir and rmdir test.
Jeremy.

15 years agos3 torture: Simple warning fix
Tim Prouty [Wed, 11 Mar 2009 18:52:14 +0000 (11:52 -0700)]
s3 torture: Simple warning fix

15 years agofix configure check by avoiding main(main(...))
Björn Jacke [Wed, 11 Mar 2009 07:24:18 +0000 (08:24 +0100)]
fix configure check by avoiding main(main(...))

AC_TRY_LINK automatically wraps a main(). Double main() causes this test to fail
on some compilers.

15 years agoLDAP-BENCH-CLDAP: also test CLDAP rootdse searches.
Stefan Metzmacher [Mon, 23 Feb 2009 15:10:42 +0000 (16:10 +0100)]
LDAP-BENCH-CLDAP: also test CLDAP rootdse searches.

metze

15 years agoasync_sock: fix truncating of the temporary iovec in writev_send/recv()
Stefan Metzmacher [Wed, 11 Mar 2009 13:28:35 +0000 (14:28 +0100)]
async_sock: fix truncating of the temporary iovec in writev_send/recv()

Volker: please check!

metze

15 years agospoolss: fix typo in spoolss_EnumPrintProcessors_info union helper fn.
Günther Deschner [Wed, 11 Mar 2009 00:37:30 +0000 (01:37 +0100)]
spoolss: fix typo in spoolss_EnumPrintProcessors_info union helper fn.

Guenther

15 years agospoolss: fix typo in spoolss_EnumJobs_info union helper fn.
Günther Deschner [Wed, 11 Mar 2009 00:08:21 +0000 (01:08 +0100)]
spoolss: fix typo in spoolss_EnumJobs_info union helper fn.

Guenther

15 years agolib/replace: make sure we include <sys/uio.h> before socket_wrapper.h
Stefan Metzmacher [Wed, 11 Mar 2009 07:05:11 +0000 (08:05 +0100)]
lib/replace: make sure we include <sys/uio.h> before socket_wrapper.h

This should fix the build on some hosts.

metze

15 years agoAdd a vfs_preopen module to hide fs latencies
Volker Lendecke [Tue, 10 Mar 2009 17:02:21 +0000 (18:02 +0100)]
Add a vfs_preopen module to hide fs latencies

15 years agoUpdate instructions for checking out pidl.
Brad Hards [Tue, 10 Mar 2009 16:11:39 +0000 (17:11 +0100)]
Update instructions for checking out pidl.

15 years agoDon't log NDR_PRINT_DEBUG at level 0, this always ends up in syslog
Volker Lendecke [Sat, 14 Feb 2009 12:18:28 +0000 (13:18 +0100)]
Don't log NDR_PRINT_DEBUG at level 0, this always ends up in syslog

I think we eventually need to pass down the debuglevel here.

15 years agotevent: add tevent_req_callback_data_void() macro
Stefan Metzmacher [Tue, 10 Mar 2009 13:02:30 +0000 (14:02 +0100)]
tevent: add tevent_req_callback_data_void() macro

Callers can use it instead of tevent_req_callback_data()
if they use a non talloc private pointer.

metze

15 years agotevent: add tevent_req_received() function
Stefan Metzmacher [Tue, 10 Mar 2009 12:54:57 +0000 (13:54 +0100)]
tevent: add tevent_req_received() function

This function can be called as last action of a _recv()
function, it destroys the data attached to the tevent_req.

metze

15 years agoFix extended operation return path.
Simo Sorce [Tue, 10 Mar 2009 14:05:52 +0000 (10:05 -0400)]
Fix extended operation return path.

Extended operations return was not going thorugh the same patch as others
leaving the ctx around. Plus we were neutralizing the spy too early so that it
didn't set the request_terminated flag as it should have.

This should hopefully fix the failures in the build farm.