ira/wip.git
11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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'

11 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.

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

11 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.

11 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

11 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

11 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

11 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

11 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

11 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

11 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.

11 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.

11 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

11 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

11 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.

11 years agos3:libsmb: add an option to cli_push to let the caller provide the buffers
Stefan Metzmacher [Tue, 10 Mar 2009 11:34:20 +0000 (12:34 +0100)]
s3:libsmb: add an option to cli_push to let the caller provide the buffers

metze

11 years agos3:libsmb: only treat a return 0 as end of file
Stefan Metzmacher [Tue, 10 Mar 2009 11:32:48 +0000 (12:32 +0100)]
s3:libsmb: only treat a return 0 as end of file

metze

11 years agos3:libsmb: fix a lot of cli_push() bugs
Stefan Metzmacher [Tue, 10 Mar 2009 09:56:33 +0000 (10:56 +0100)]
s3:libsmb: fix a lot of cli_push() bugs

There were the following problems:
1.) if window_size was a multiple of the chunk_size,
    we silently dropped the last truncated chunk.
2.) if window_size was 0 pushed only the first chunk
    to the server and silently dropped the rest.
3.) we had only transferred state->num_reqs writes,
    even if there would be more data to send.

metze

11 years agosocket_wrapper: wrap readv() and writev()
Stefan Metzmacher [Mon, 9 Mar 2009 16:48:08 +0000 (17:48 +0100)]
socket_wrapper: wrap readv() and writev()

metze

11 years agofixed a bug in message handling for code the change notify code
Andrew Tridgell [Tue, 10 Mar 2009 05:45:45 +0000 (16:45 +1100)]
fixed a bug in message handling for code the change notify code

The change notify code registered a separate message handler for each
tree connect. This registration uses the global messaging context.

The messaging code would consider a 2nd registration for the same
messaging type as being an 'update' of the handler, rather than a new
handler. It also would only call the first handler in the linked list
for a given message type when dispatching messages.

This patch changes the messaging code to allow for multiple
registrations of the same message type, and allow for multiple calls
to different messaging handler for one incoming message.

This fixes the problem with the test_notify_tcon() test that I
recently committed to the S4 smbtorture

11 years agoadded a test that triggers a bug in the Samba3 notify code
Andrew Tridgell [Tue, 10 Mar 2009 04:12:48 +0000 (15:12 +1100)]
added a test that triggers a bug in the Samba3 notify code

The Samba3 internal notify code doesn't work correctly when there is
more than one tree connect to the same smbd process. This change to
the RAW-NOTIFY test triggers the bug.

11 years agoFix potential segfaults using freed memory.
Simo Sorce [Mon, 9 Mar 2009 22:04:38 +0000 (18:04 -0400)]
Fix potential segfaults using freed memory.

In some code paths ltdb_context was still referenced even after we were returned
an error by one of the callbacks. Because the interface assumes that once an
error is returned the ldb_request may be freed, and because the ltdb_context was
allocated as a child of the request, this might cause access to freed memory.
Allocate the ltdb_context on ldb, and keep track of what's going on with the
request by adding a spy children on it. This way even if the request is freed
before the ltdb_callback is called, we will safely free the ctx and just quietly
return.

11 years agoFix prototype mismatch.
Jelmer Vernooij [Mon, 9 Mar 2009 20:49:44 +0000 (21:49 +0100)]
Fix prototype mismatch.

11 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Mon, 9 Mar 2009 20:42:13 +0000 (21:42 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

11 years agouse LIB_PATH_VAR in selftest.sh if we have it
Björn Jacke [Mon, 9 Mar 2009 16:28:42 +0000 (17:28 +0100)]
use LIB_PATH_VAR in selftest.sh if we have it

if we have LIB_PATH_VAR we should use it, otherwise we'll unobtrusively
complain about not having it and use the most likely LD_LIBRARY_PATH.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
11 years agos3/packaging: Fix typo in comment.
Karolin Seeger [Mon, 9 Mar 2009 15:16:20 +0000 (16:16 +0100)]
s3/packaging: Fix typo in comment.

Karolin

11 years agos3/packaging: Package new files properly.
Karolin Seeger [Mon, 9 Mar 2009 15:01:30 +0000 (16:01 +0100)]
s3/packaging: Package new files properly.

That is part of the fix for bug #6144.
Thanks to Diego Remolina dijuremo [at] gatech [dot] edu for reporting!

Karolin

11 years agoFix a typo
Volker Lendecke [Mon, 9 Mar 2009 15:10:59 +0000 (16:10 +0100)]
Fix a typo

11 years agos3:lib: interfaces.c isn't used in the configure tests anymore
Stefan Metzmacher [Mon, 9 Mar 2009 11:35:21 +0000 (12:35 +0100)]
s3:lib: interfaces.c isn't used in the configure tests anymore

libreplace always provides the getifaddr() function.

This fixes the build on sles8.

metze

11 years agofix "dubious escape" warning of Studio compiler
Björn Jacke [Sun, 8 Mar 2009 14:36:41 +0000 (15:36 +0100)]
fix "dubious escape" warning of Studio compiler

11 years agosocket_wrapper: try to make ipv6 support more portable
Stefan Metzmacher [Mon, 9 Mar 2009 08:24:45 +0000 (09:24 +0100)]
socket_wrapper: try to make ipv6 support more portable

The internal structure of in6_addr isn't always the same.

metze

11 years agosocket_wrapper: downgrade ipv6 sockets to ipv4 is in connect() if the dest is ipv4
Stefan Metzmacher [Sun, 8 Mar 2009 16:20:18 +0000 (17:20 +0100)]
socket_wrapper: downgrade ipv6 sockets to ipv4 is in connect() if the dest is ipv4

We only do this if the socket isn't explicit bound yet.

metze

11 years agosocket_wrapper: correctly handle connected dgram sockets
Stefan Metzmacher [Sun, 8 Mar 2009 16:19:50 +0000 (17:19 +0100)]
socket_wrapper: correctly handle connected dgram sockets

metze

11 years agosocket_wrapper: make it possible to bind to '::'
Stefan Metzmacher [Tue, 3 Mar 2009 18:40:57 +0000 (19:40 +0100)]
socket_wrapper: make it possible to bind to '::'

metze

11 years agoDon't copy the winbindd_request in wb_trans
Volker Lendecke [Sun, 8 Mar 2009 11:25:10 +0000 (12:25 +0100)]
Don't copy the winbindd_request in wb_trans

11 years agoConvert wb_open_pipe to tevent_req
Volker Lendecke [Sun, 8 Mar 2009 11:22:29 +0000 (12:22 +0100)]
Convert wb_open_pipe to tevent_req

11 years agoConvert wb_connect to tevent_req
Volker Lendecke [Sun, 8 Mar 2009 11:15:39 +0000 (12:15 +0100)]
Convert wb_connect to tevent_req

11 years agoConvert wb_int_trans to tevent_req
Volker Lendecke [Sun, 8 Mar 2009 11:10:00 +0000 (12:10 +0100)]
Convert wb_int_trans to tevent_req

11 years agoAdd parameter "queue" to wb_int_trans_send
Volker Lendecke [Sun, 8 Mar 2009 10:33:03 +0000 (11:33 +0100)]
Add parameter "queue" to wb_int_trans_send

11 years agoMove "struct req_read_state" where it belongs
Volker Lendecke [Sun, 8 Mar 2009 09:29:15 +0000 (10:29 +0100)]
Move "struct req_read_state" where it belongs

11 years agoConvert wb_resp_write to tevent_req
Volker Lendecke [Sun, 8 Mar 2009 09:28:05 +0000 (10:28 +0100)]
Convert wb_resp_write to tevent_req

11 years agoConvert wb_resp_read to tevent_req
Volker Lendecke [Sun, 8 Mar 2009 09:20:27 +0000 (10:20 +0100)]
Convert wb_resp_read to tevent_req

11 years agoConvert wb_req_read to tevent_req
Volker Lendecke [Sun, 8 Mar 2009 09:04:04 +0000 (10:04 +0100)]
Convert wb_req_read to tevent_req

11 years agoConvert wb_req_write to tevent_req
Volker Lendecke [Sun, 8 Mar 2009 08:35:13 +0000 (09:35 +0100)]
Convert wb_req_write to tevent_req

11 years agoAdd tevent_req wbc helpers
Volker Lendecke [Sun, 8 Mar 2009 08:34:35 +0000 (09:34 +0100)]
Add tevent_req wbc helpers

11 years agoAdd "queue" to writev_send
Volker Lendecke [Sun, 1 Mar 2009 18:43:07 +0000 (19:43 +0100)]
Add "queue" to writev_send

Unless higher levels queue themselves somehow, writev will *always* be queued.
So the queueing should be done at the right level.

11 years agoRevert accidental reintroduction of void ** bug.
Jelmer Vernooij [Sun, 8 Mar 2009 05:57:52 +0000 (06:57 +0100)]
Revert accidental reintroduction of void ** bug.

11 years agoShape up pdb_search a bit by making it a talloc ctx with a destructor
Volker Lendecke [Thu, 12 Feb 2009 16:48:52 +0000 (17:48 +0100)]
Shape up pdb_search a bit by making it a talloc ctx with a destructor

11 years agoFix a smbclient segfault against security=share servers
Volker Lendecke [Fri, 6 Mar 2009 13:24:59 +0000 (14:24 +0100)]
Fix a smbclient segfault against security=share servers

11 years agoFix some nonempty blank lines
Volker Lendecke [Tue, 3 Mar 2009 13:05:56 +0000 (14:05 +0100)]
Fix some nonempty blank lines

11 years agos4-spoolss: just return OK for dcesrv_spoolss_EnumPrintProcDataTypes for now.
Günther Deschner [Sat, 7 Mar 2009 08:30:11 +0000 (09:30 +0100)]
s4-spoolss: just return OK for dcesrv_spoolss_EnumPrintProcDataTypes for now.

Guenther

11 years agodon't rely on shebang's perl path, call our $PERL instead
Björn Jacke [Wed, 4 Mar 2009 15:52:12 +0000 (16:52 +0100)]
don't rely on shebang's perl path, call our $PERL instead

Signed-off-by: Stefan Metzmacher <metze@samba.org>
11 years agos3-spoolss: remove more leftovers from old enumports call.
Günther Deschner [Sat, 7 Mar 2009 00:12:18 +0000 (01:12 +0100)]
s3-spoolss: remove more leftovers from old enumports call.

Guenther

11 years agos3-rpcclient: add enummonitors command to enumerate print monitors.
Günther Deschner [Fri, 6 Mar 2009 23:16:10 +0000 (00:16 +0100)]
s3-rpcclient: add enummonitors command to enumerate print monitors.

Guenther

11 years agos3-spoolss: add rpccli_spoolss_enummonitors convenience wrapper.
Günther Deschner [Fri, 6 Mar 2009 23:10:15 +0000 (00:10 +0100)]
s3-spoolss: add rpccli_spoolss_enummonitors convenience wrapper.

Guenther

11 years agos3-spoolss: remove old spoolss_EnumMonitors.
Günther Deschner [Fri, 6 Mar 2009 23:04:48 +0000 (00:04 +0100)]
s3-spoolss: remove old spoolss_EnumMonitors.

Guenther

11 years agos3-spoolss: use pidl for _spoolss_EnumMonitors.
Günther Deschner [Fri, 6 Mar 2009 23:04:05 +0000 (00:04 +0100)]
s3-spoolss: use pidl for _spoolss_EnumMonitors.

Guenther

11 years agos3: re-run make samba3-idl.
Günther Deschner [Fri, 6 Mar 2009 23:01:11 +0000 (00:01 +0100)]
s3: re-run make samba3-idl.

Guenther

11 years agospoolss: flag spoolss_MonitorInfo structs [public,gensize].
Günther Deschner [Fri, 6 Mar 2009 23:00:27 +0000 (00:00 +0100)]
spoolss: flag spoolss_MonitorInfo structs [public,gensize].

Guenther

11 years agos3-rpcclient: use rpccli_spoolss_enumports wrapper.
Günther Deschner [Fri, 6 Mar 2009 22:36:31 +0000 (23:36 +0100)]
s3-rpcclient: use rpccli_spoolss_enumports wrapper.

Guenther

11 years agos3-spoolss: add rpccli_spoolss_enumports convenience wrapper.
Günther Deschner [Fri, 6 Mar 2009 22:27:45 +0000 (23:27 +0100)]
s3-spoolss: add rpccli_spoolss_enumports convenience wrapper.

Guenther

11 years agos3-spoolss: remove old spoolss_EnumPorts.
Günther Deschner [Fri, 6 Mar 2009 22:39:23 +0000 (23:39 +0100)]
s3-spoolss: remove old spoolss_EnumPorts.

Guenther

11 years agos3-spoolss: use pidl for _spoolss_EnumPorts.
Günther Deschner [Fri, 6 Mar 2009 22:38:57 +0000 (23:38 +0100)]
s3-spoolss: use pidl for _spoolss_EnumPorts.

Guenther

11 years agos3: re-run make samba3-idl.
Günther Deschner [Fri, 6 Mar 2009 22:37:42 +0000 (23:37 +0100)]
s3: re-run make samba3-idl.

Guenther

11 years agospoolss: flag spoolss_PortInfo structs as [public,gensize].
Günther Deschner [Fri, 6 Mar 2009 22:37:14 +0000 (23:37 +0100)]
spoolss: flag spoolss_PortInfo structs as [public,gensize].

Guenther

11 years agos3-rpcclient: add enumprocdatatypes command to enumerate print processor data
Günther Deschner [Fri, 6 Mar 2009 23:55:15 +0000 (00:55 +0100)]
s3-rpcclient: add enumprocdatatypes command to enumerate print processor data
types.

Guenther

11 years agos3-spoolss: add rpccli_spoolss_enumprintprocessordatatypes convenience wrapper.
Günther Deschner [Fri, 6 Mar 2009 21:22:49 +0000 (22:22 +0100)]
s3-spoolss: add rpccli_spoolss_enumprintprocessordatatypes convenience wrapper.

Guenther

11 years agos3-spoolss: remove old spoolss_EnumPrintProcDataTypes.
Günther Deschner [Fri, 6 Mar 2009 20:51:52 +0000 (21:51 +0100)]
s3-spoolss: remove old spoolss_EnumPrintProcDataTypes.

Guenther

11 years agos3-spoolss: use pidl for _spoolss_EnumPrintProcDataTypes.
Günther Deschner [Fri, 6 Mar 2009 20:51:12 +0000 (21:51 +0100)]
s3-spoolss: use pidl for _spoolss_EnumPrintProcDataTypes.

Guenther

11 years agos3-rpcclient: add enumprocs command to enumerate print processors.
Günther Deschner [Fri, 6 Mar 2009 21:11:09 +0000 (22:11 +0100)]
s3-rpcclient: add enumprocs command to enumerate print processors.

Guenther

11 years agos3-spoolss: add rpccli_spoolss_enumprintprocessors convenience wrapper.
Günther Deschner [Fri, 6 Mar 2009 21:09:47 +0000 (22:09 +0100)]
s3-spoolss: add rpccli_spoolss_enumprintprocessors convenience wrapper.

Guenther

11 years agos3-spoolss: remove old spoolss_EnumPrintProcessors.
Günther Deschner [Fri, 6 Mar 2009 19:23:27 +0000 (20:23 +0100)]
s3-spoolss: remove old spoolss_EnumPrintProcessors.

Guenther

11 years agos3-spoolss: use pidl for _spoolss_EnumPrintProcessors.
Günther Deschner [Fri, 6 Mar 2009 19:22:17 +0000 (20:22 +0100)]
s3-spoolss: use pidl for _spoolss_EnumPrintProcessors.

Guenther

11 years agos3: re-run make samba3-idl.
Günther Deschner [Fri, 6 Mar 2009 19:21:31 +0000 (20:21 +0100)]
s3: re-run make samba3-idl.

Guenther

11 years agospoolss: flag spoolss_PrintProcessorInfo1 [public,gensize].
Günther Deschner [Fri, 6 Mar 2009 19:20:51 +0000 (20:20 +0100)]
spoolss: flag spoolss_PrintProcessorInfo1 [public,gensize].

Guenther

11 years agos4-smbtorture: add test_EnumPrintProcDataTypes to RPC-SPOOLSS test.
Günther Deschner [Fri, 6 Mar 2009 20:50:15 +0000 (21:50 +0100)]
s4-smbtorture: add test_EnumPrintProcDataTypes to RPC-SPOOLSS test.

Guenther

11 years agospoolss: add spoolss_EnumPrintProcDataTypes to enum macro helper.
Günther Deschner [Fri, 6 Mar 2009 20:49:31 +0000 (21:49 +0100)]
spoolss: add spoolss_EnumPrintProcDataTypes to enum macro helper.

Guenther

11 years agos3: re-run make samba3-idl.
Günther Deschner [Fri, 6 Mar 2009 20:48:46 +0000 (21:48 +0100)]
s3: re-run make samba3-idl.

Guenther

11 years agospoolss: fill in spoolss_EnumPrintProcDataTypes IDL.
Günther Deschner [Fri, 6 Mar 2009 20:48:01 +0000 (21:48 +0100)]
spoolss: fill in spoolss_EnumPrintProcDataTypes IDL.

Guenther

11 years agos3:make_test: run CHAIN1 test
Stefan Metzmacher [Fri, 6 Mar 2009 15:27:10 +0000 (16:27 +0100)]
s3:make_test: run CHAIN1 test

metze

11 years agos3:libsmb: merge cli_setup_signing_state() into cli_initialise_ex()
Stefan Metzmacher [Fri, 6 Mar 2009 11:01:44 +0000 (12:01 +0100)]
s3:libsmb: merge cli_setup_signing_state() into cli_initialise_ex()

metze

11 years agos3:libsmb: remove cli_setup_signing_state() and add struct cli_state *cli_initialise_ex()
Stefan Metzmacher [Fri, 6 Mar 2009 10:52:15 +0000 (11:52 +0100)]
s3:libsmb: remove cli_setup_signing_state() and add struct cli_state *cli_initialise_ex()

This prepares the next changes.

metze

11 years agos3:winbindd_cm: remove useless cli_setup_signing_state(*cli, Undefined) call
Stefan Metzmacher [Fri, 6 Mar 2009 10:40:21 +0000 (11:40 +0100)]
s3:winbindd_cm: remove useless cli_setup_signing_state(*cli, Undefined) call

cli_setup_signing_state() with Undefined is a noop.

metze

11 years agos3:signing: the seqnum should only be decremented by 1 for ntcancel requests
Stefan Metzmacher [Fri, 6 Mar 2009 06:45:06 +0000 (07:45 +0100)]
s3:signing: the seqnum should only be decremented by 1 for ntcancel requests

[MS-SMB] 3.3.5.1 Receiving Any Message says that the seqnum
is incremented by only for ntcancel requests for any other
request it's by incremented by 2, even if it doesn't expect
a response.

metze

11 years agos3:errormap: add ECANCELED, ERRDOS/ERRbadfid, NT_STATUS_CANCELLED mapping
Stefan Metzmacher [Fri, 6 Mar 2009 06:38:41 +0000 (07:38 +0100)]
s3:errormap: add ECANCELED, ERRDOS/ERRbadfid, NT_STATUS_CANCELLED mapping

If someone knows a better dos error, please tell me...

metze

11 years agos3:libsmb: smb signing works the same for extented and non-extended security
Stefan Metzmacher [Fri, 6 Mar 2009 15:18:50 +0000 (16:18 +0100)]
s3:libsmb: smb signing works the same for extented and non-extended security

This is only cosmetic, but it makes it easier to understand.

metze

11 years agos3-spoolss: Fix Coverity ID #891 (UNINIT).
Günther Deschner [Fri, 6 Mar 2009 13:58:49 +0000 (14:58 +0100)]
s3-spoolss: Fix Coverity ID #891 (UNINIT).

Guenther

11 years agos3-spoolss: remove old _spoolss_EnumForms.
Günther Deschner [Fri, 6 Mar 2009 11:04:47 +0000 (12:04 +0100)]
s3-spoolss: remove old _spoolss_EnumForms.

Guenther

11 years agos3-spoolss: use form flags from idl in rpcclient and net.
Günther Deschner [Fri, 6 Mar 2009 11:01:54 +0000 (12:01 +0100)]
s3-spoolss: use form flags from idl in rpcclient and net.

Guenther

11 years agos3-spoolss: use pidl for _spoolss_EnumForms.
Günther Deschner [Fri, 6 Mar 2009 11:01:14 +0000 (12:01 +0100)]
s3-spoolss: use pidl for _spoolss_EnumForms.

Guenther

11 years agos3: re-run make samba3-idl.
Günther Deschner [Fri, 6 Mar 2009 13:24:20 +0000 (14:24 +0100)]
s3: re-run make samba3-idl.

Guenther

11 years agospoolss: flag spoolss_FormInfo1 and 2 with [public,gensize].
Günther Deschner [Fri, 6 Mar 2009 11:05:25 +0000 (12:05 +0100)]
spoolss: flag spoolss_FormInfo1 and 2 with [public,gensize].

Guenther

11 years agos3-spoolss: remove old rpccli_spoolss_enumforms.
Günther Deschner [Fri, 6 Mar 2009 09:55:09 +0000 (10:55 +0100)]
s3-spoolss: remove old rpccli_spoolss_enumforms.

Guenther