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

15 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

15 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

15 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

15 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

15 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

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

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

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

15 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

15 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>
15 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

15 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

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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