Andrew Tridgell
3e685f5995
s4-rpc: show binding string in failed rpc binds
...
this makes debugging some RPC auth issues easier
2011-09-22 10:00:49 +10:00
Stefan Metzmacher
afabf12251
s4:librpc/rpc: return NT_STATUS_CONNECTION_DISCONNECTED
...
We should return the same in all places.
metze
2011-09-14 18:03:18 +02:00
Andrew Bartlett
8c33036a37
s4-subdomain more work on sub-domain join
...
we can now create a subdomain of an existing windows domain using:
samba-tool domain join sub.domain.dns.name subdomain
The ordering of the creation of the key records is quite tricky,
especially for the NTDSDSA object
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2011-09-13 15:38:02 +10:00
Jelmer Vernooij
df1d3dc777
s4-python: Consistently use spaces rather than tabs, fix headers in several places.
2011-09-13 02:24:03 +02:00
Simo Sorce
4a8fdc3958
s4:librpc: use tevent_ fn names instead of legacy event_ ones
2011-08-13 09:54:15 -04:00
Jelmer Vernooij
f8ec7f6cb1
pytalloc: Use consistent prefix for functions, add ABI file.
2011-08-10 15:36:21 +02:00
Andreas Schneider
68e7b9307a
s4-librpc: Fix double free.
...
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Thu Aug 4 12:31:18 CEST 2011 on sn-devel-104
2011-08-04 12:31:18 +02:00
Andrew Bartlett
d3fe48ba48
gensec: Remove mem_ctx from calls that do not return memory
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-03 18:48:01 +10:00
Matthias Dieter Wallnöfer
7ebafb000a
s4:librpc/rpc/dcerpc.c - janitorial: use "void" for functions without arguments
...
Probably a mistake in commit 907cdb5de7f16a2540299aeba211bf2a5ae6fafe.
Reviewed-by: Tridge
2011-06-09 09:35:08 +02:00
Andrew Bartlett
907cdb5de7
s4-modules Remove lp_ctx from init functions that no longer need it
...
Now that we don't allow the smb.conf to change the modules dir, many
functions that simply load modules or initialise a subsytem that may
load modules no longer need an lp_ctx.
Andrew Bartlett
2011-06-06 17:37:51 +10:00
Andrew Tridgell
66aec3cf67
s4-ipv6: removed the old unused ipv6 code in dcerpc_sock.c
...
the code is now generic to both V4 and V6
2011-06-06 12:26:11 +10:00
Andrew Tridgell
5d2dbf93b3
s4-ipv6: allow for IPv6 in dcerpc socket calls
2011-06-06 12:26:11 +10:00
Andrew Bartlett
cdd802af83
s4-messaging Rename messaging -> imessaging
...
This avoid symbol and structure conflicts between Samba3 and Samba4,
and chooses a less generic name.
Andrew Bartlett
2011-05-03 07:37:07 +02:00
Stefan Metzmacher
578cbf1139
s4:libcli/smb2: convert smb2_connect_*() to tevent_req
...
metze
2011-04-28 20:35:49 +02:00
Günther Deschner
b903c28939
librpc: bring more librpc prototypes in common.
...
Guenther
2011-03-23 23:59:11 +01:00
Stefan Metzmacher
72c1fe0081
librpc/rpc: move DCERPC_ flags to rpc_common.h
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Mar 13 20:45:53 CET 2011 on sn-devel-104
2011-03-13 20:45:53 +01:00
Stefan Metzmacher
c1a2fd1cd1
s4:librpc/rpc: finaly make struct rpc_request and enum rpc_request_state private
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Mar 13 17:46:02 CET 2011 on sn-devel-104
2011-03-13 17:46:02 +01:00
Stefan Metzmacher
81063f9a26
s4:librpc/rpc: remove unused dcerpc_request()
...
metze
2011-03-13 17:01:00 +01:00
Stefan Metzmacher
f8030ec080
s4:librpc/rpc: make dcerpc_request_recv() static
...
metze
2011-03-13 17:00:59 +01:00
Stefan Metzmacher
26351bf480
s4:pyrpc: use dcerpc_binding_handle_raw_call() instead of dcerpc_request()
...
metze
2011-03-13 16:53:16 +01:00
Stefan Metzmacher
fa0f0c2107
s4:pyrpc: fix memory leaks in error pathes
...
metze
2011-03-13 16:53:06 +01:00
Stefan Metzmacher
08dca92499
librpc/rpc: move struct dcerpc_binding to rpc_common.h
...
metze
2011-03-13 16:53:05 +01:00
Stefan Metzmacher
83c55ac67e
librpc/rpc: move enum dcerpc_transport_t to rpc_common.h
...
metze
2011-03-13 16:33:06 +01:00
Stefan Metzmacher
b0d54da746
s4:librpc/rpc: s/dcerpc_security/dcecli_security
...
We'll use 'dcerpc_security' for the generic dcerpc
client and server code.
metze
2011-03-13 16:33:06 +01:00
Stefan Metzmacher
4d4c6315fa
s4:librpc/rpc: remove unused dcerpc_ndr_request* code
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Mar 13 11:19:59 CET 2011 on sn-devel-104
2011-03-13 11:19:59 +01:00
Stefan Metzmacher
b738e092a2
librpc/rpc: move dcerpc_binding_handle stuff to rpc_common.h
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Mar 11 12:28:08 CET 2011 on sn-devel-104
2011-03-11 12:28:08 +01:00
Stefan Metzmacher
c774a50aaf
s4:librpc/rpc: s/struct dcerpc_connection/struct dcecli_connection/g
...
The name 'struct dcerpc_connection' will be used in the new generic
dcerpc code. It will be used for client and server.
metze
2011-03-11 11:02:23 +01:00
Andrew Tridgell
5ec284d152
build: moved librpc/rpc/*.c into a rpccommon library
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Feb 24 02:42:37 CET 2011 on sn-devel-104
2011-02-24 02:42:37 +01:00
Matthias Dieter Wallnöfer
0932c91186
s4:librpc/rpc/dcerpc_connect.c - fix uninitialised variable
2011-01-12 19:52:19 +01:00
Jelmer Vernooij
5792fa90ac
s4-python: Only set BASETYPE flag if subclassing is supported.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Jan 1 03:39:58 CET 2011 on sn-devel-104
2011-01-01 03:39:58 +01:00
Jelmer Vernooij
09a2f14c84
pyrpc: Add prototype for init function.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 18 03:04:23 CET 2010 on sn-devel-104
2010-12-18 03:04:23 +01:00
Stefan Metzmacher
5fcbb16760
s4:pyrpc_util: s/typename/type_name to avoid c++ warnings
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Dec 9 17:55:57 CET 2010 on sn-devel-104
2010-12-09 17:55:57 +01:00
Stefan Metzmacher
63574fda0e
s4:python: add PyString_FromStringOrNULL() to pyrpc_util
...
metze
2010-12-08 19:06:52 +01:00
Arnaud Faucher
2ac5cedb71
Avoid the use of PyAPI_DATA, which is for internal Python API's.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Nov 22 00:52:56 CET 2010 on sn-devel-104
2010-11-22 00:52:56 +01:00
Andrew Tridgell
808edd0293
s4-rpc: make rpc connect less verbose
2010-11-21 23:10:14 +11:00
Andrew Tridgell
9bae4cd3d9
s4-rpc: added target_principal binding handle option
...
this allows you to specify a target SPN for a connection
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-01 22:31:57 -07:00
Andrew Tridgell
8efd1074c2
s4-pyrpc: fixed build on python 2.4
...
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-09-20 15:27:45 -07:00
Kamen Mazdrashki
c79861a14e
s4-pyrpc: Print location and type name we got when checking for types
2010-09-17 13:53:03 +03:00
Andrew Tridgell
fb81cc080d
s4-pyrpc: allow python to access irpc interfaces
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-17 19:02:19 +10:00
Andrew Tridgell
e5ac820b9e
s4-pyrpc: added py_return_ndr_struct()
...
This can be used to return structures from other python interfaces as
python objects
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16 07:24:01 +10:00
Andrew Tridgell
67ac8555b1
s4-auth: set the RODC bit for RODC schannel
...
When we are using SEC_CHAN_RODC we need to set the
NETLOGON_NEG_RODC_PASSTHROUGH bit in the negotiated flags in
ServerAuthenticate2
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15 15:39:34 +10:00
Andrew Tridgell
52445e1583
s4-schannel: fixed reference to context after free
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15 15:39:34 +10:00
Julien Kerihuel
e5e5a1110f
Add unique IP address binding for client connections (EPM and ncacn_ip_tcp levels)
...
This allows for binding strings like this:
ncacn_ip_tcp:host[localaddress=192.168.2.1,seal]
which will force the connection to be locally bound to the specified
IP address
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-07 09:55:14 +10:00
Stefan Metzmacher
54d2dce7b1
librpc/rpc: add dcerpc_binding_handle_set_timeout()
...
metze
2010-09-04 09:01:19 +02:00
Stefan Metzmacher
99a26edcb3
s4:librpc/rpc: implement dcerpc_bh_set_timeout()
...
metze
2010-09-04 09:01:12 +02:00
Stefan Metzmacher
27918981de
librpc/rpc: add set_timeout() to dcerpc_binding_handle_ops
...
metze
2010-09-04 09:01:11 +02:00
Jelmer Vernooij
0bc53f7d9f
pidl: Keep only a single copy of samba.dcerpc.base.ClientConnection.
2010-09-03 02:39:38 +02:00
Jelmer Vernooij
64552e11dd
pyrpc: Add py_check_dcerpc_type().
...
This function checks whether the type of a PyObject matches a
DCE/RPC Python type.
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2010-08-27 04:41:40 +02:00
Andrew Tridgell
f0803de830
s4-pyrpc: use s4_event_context_init()
...
This fixes a crash when using kerberos and the python dcercpc
interface, which requires event nesting
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-23 15:55:39 +10:00
Andrew Tridgell
24159a59a3
pidl: give the varible name for bad type in python calls
...
This makes it much clearer which argument to a function had the wrong
type
2010-08-22 14:57:34 +10:00